[Greylist-users] Little help...

RayJ raywjohnson at gmail.com
Sun Apr 6 20:37:16 PDT 2008


Ok, I am testing.

I added "ulimit -t 128" to the top of the startup script (init.d/relaydelay)

Should that actually be in the daemon itself? (relaydelay.pl)

--RayJ


Sean Conner wrote:
> It was thus said that the Great Paul Venezia once stated:
>   
>> On Apr 4, 2008, at 11:35 PM, RayJ wrote:
>>     
>>> I am having an intermittent problem with the relaydelay daemon (
>>> relaydelay.pl ). It tends to crash a few time a day at random. As a
>>> quick fix I created a cron to monitor the PID and, if needed, restart
>>> relaydelay.pl. This "stop gap" solution is working, but I have been
>>> unable to pin down why the crash in the first place.
>>>
>>>       
>> I've noticed this as well, but only on CentOS/RHEL. The same code was  
>> running fine on a FC3 box prior to an upgrade. It may have something  
>> to do with the sendmail-milter, but I haven't had time to look into it.
>>     
>
>   I've had problems with milter for my own greylist implementation [1] which
> I suspect has to do with stack space.  Milter creates a bunch of threads,
> and at least under Cent-OS (which we use at work), uses about 10M per stack
> per thread.  Currently, I explicitely set the stack limit (using the system
> call setrlimit(); also doable from the command line via ulimit) to a smaller
> value and that seems to have helped.
>
>   -spc (How small?  Try 128k stack limit)
>
> [1]	http://www.x-grey.com/
>
> _______________________________________________
> Greylist-users mailing list
> Greylist-users at lists.puremagic.com
> http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users
>
>   


More information about the Greylist-users mailing list