[Pymilter] python segfaults under heavy load

Stuart D. Gathman stuart at bmsi.com
Wed Jan 24 13:39:45 EST 2007


On Wed, 24 Jan 2007, Stuart D. Gathman wrote:

> warning, no less.  Can you pull miltermodule.c 1.9 from sourceforge CVS and
> substitute it on your production system?  If pymilter is the culprit,
> this is the likely change that did it.  Or maybe you can spot a problem
> in "diff to previous version 1.9".
> 
> http://pymilter.cvs.sourceforge.net/pymilter/milter/miltermodule.c?view=log

I see my change assumes that an SMFICTX is only accessed by one thread
(hence no need for locking around use of self->t as a flag).
I suspect that that assumption may be wrong.  If reverting to 1.9 
fixes your problem, that will comfirm the suspicion.

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.





More information about the Pymilter mailing list