Skip to Content.
Sympa Menu

devel - [sympa-dev] Strange sympa hang ups

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Dominique ROUSSEAU <address@concealed>
  • To: address@concealed
  • Subject: [sympa-dev] Strange sympa hang ups
  • Date: Mon, 25 Oct 1999 15:09:59 +0200

For suite some time I had strange Sympa behaviour on some messages.

I have achieved to find where it comes from.
It seems to happen when Sympa tries to send a message though
smtp::smtpto. Where it's here and exim (which is used instead of
sendmail o nthis server..) bails out with an error message because it
doesn't like the data sent to him, the pipe smtpto tries to write in is
suddenly closed, causing a SIGPIPE to be sent to the just forked
subprocess. This signal causes the child to die before the parent
process as any chance to wait() for it which parent receive a SIGCHLD
which causes the main process to die unattendedly.

There is a part of supposition in the above, but I'm sure there is a
SIGPIPE and SIGCHLD occuring 'cause I have put a handler for both in
sympa.pl and they are both called when Sympa shocks on such a message.

As a temporary workaround I have put a dummy handler that intercepts the
SIGPIPE, but I think the offending file should be BAD-* renamed and
logged.

Dom

--
Dominique Rousseau <address@concealed>
Neuronnexion - http://www.neuronnexion.com


  • [sympa-dev] Strange sympa hang ups, Dominique ROUSSEAU, 10/25/1999

Archive powered by MHonArc 2.6.19+.

Top of Page