7 messages in net.sourceforge.lists.courier-users[courier-users] Courier-pythonfilter ...
FromSent OnAttachments
Werner JohanssonMar 14, 2004 4:03 am 
Gordon MessmerMar 14, 2004 12:37 pm 
Werner JohanssonMar 14, 2004 2:12 pm 
Gordon MessmerMar 15, 2004 2:23 pm 
Jon NelsonMar 15, 2004 6:22 pm 
Werner JohanssonMar 16, 2004 4:56 pm 
Werner JohanssonMar 16, 2004 5:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Courier-pythonfilter not responding after courier respawn?Actions...
From:Werner Johansson (wj@yodel.net)
Date:Mar 14, 2004 4:03:42 am
List:net.sourceforge.lists.courier-users

Hi all,

I have been experimenting with the courier-pythonfilter 0.6 together with courier-0.45.1 (and 0.44.2 as well), and there are some strange things happening when courier decides to respawn, because all of a sudden no new smtp connections are being accepted, and at this point dozens of "submit" processes are running.

I have gotten it to work to some extent by stopping and starting courierfilter every 5 minutes and manually stop/start courier every night (while forcing respawnlo to 2 days) - but still lots of submit processes seems to hang for an extended amount of time. Increasing the max processes from 40 to 100 seems to help a bit as well, but it doesn't feel right.

Currently I'm using all the pythonfilters shipped with 0.6, and the AUTH-filter posted on the list as well. Some mods had to be implemented, like not purging everything in the databases everytime it restarts (as that would make it hard to ever receive mail from sites with high load - the comeagain sometimes have to wait up to an hour before the sender retries). Also the AUTH-filter regexp had to be modified to accept AUTH header where the transport was using SSL, but that really has nothing to do with the actual problem which popped up before these mods.

Anyone seen anything like this? I read on the list that there were some problems with the socket permissions, and have tried that patch as well, although this is a different problem it seems..

If I'm not restarting the courierfilter, then the pythonfilter gets listed as defunct (after approx 30 minutes), and I have to stop the entire courier system and killing the filter processes manually (using -9)...

/Werner