Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] sync causing crash

2005-10-14 by Matthew S. Cramer

On Fri, Oct 14, 2005 at 12:54:49AM +0300, Ranko Zivojnovic wrote:

> From the kernel's standpoint, each thread is one process. If libmilter
> is using the defaults, then each thread reserves 2M of virtual memory
> space for its stack as well as your processes (sendmail & the rest).
> This allocated space is just reserved; actual memory is allocated for
> the stack on demand. But still, on a 32-bit processor, the total virtual
> memory space available for the stacks is on the order of 1G, meaning
> that more than 500 threads (and processes) will probably have a hard
> time fitting in.
> 
> So despite of your ~6G of RAM - you may be hitting your (32-bit) system
> limits here...

Thanks for the detailed explanation.  I understand this, but I am
having a hard time believing that all three of my servers are reaching
400 or 500 threads and processes.  We handle 30 messages at a time, so
rounding up the breakdown is:

    40 sendmail children
    40 milter-greylist threads for mail & syncing between 3 servers
    80 MIMEDefang processes
    80 other processes on the system

which is about what I see with ps: 240 processes.


Thanks,

Matt

-- 
Matthew S. Cramer <mscramer@...>          Office: 717-396-5032
Project Manager, Planning and Service Management    Fax:    717-396-5590
Armstrong World Industries, Inc.                    Cell:   717-917-7099

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.