Our OutgoingRunner hangs upon occasion.  A truss of the process
shows that OutgoingRunner is hanging in recv.  We feel the most
likely reason for this is that the sendmail OutgoingRunner is
talking to stopped responding.

While fixing our system so that sendmails never hang would be one
way to solve the problem, I think there is an easier way [ :-) ],
and that is to have the OutgoingRunner timeout on socket operations
after so many seconds.

Python 2.3 has socket methods settimeout and gettimeout.  I'm
thinking about using these methods to detect hangs and restart the
OutgoingRunner in some fasion.

Thoughts?  Comments?

I'll get some sample code later this afternoon.

Details:

Mailman 2.1.4
Python 2.3.3
Solaris 9

Thanks,

Mike

-
Mike Porter
PGP Fingerprint: F4 AE E1 9F 67 F7 DA EA  2F D2 37 F3 99 ED D1 C2

_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Reply via email to