Yahoo Groups archive

Milter-greylist

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

Message

"milter-greylist: greylist: thread_create() failed: 12" errors

2007-09-26 by marknreynolds

Hi,

I have a very busy milter-greylist implimentation running on SuSE 9
which I suspect is running out of process memory. The mail log shows
""milter-greylist: greylist: thread_create() failed: 12" errors" which
goes away when I restart the process. 

I am not a programmer, however I have been logging the number of
threads milter-greylist is creating and have seen it go up to 290. If
I run pmap on the process I can see each thread is taking 8M of memory
so by the time I multiply 8M by 290 and add on the size of the
greylist database (around 300MB) I am starting to approach 3GB which I
believe is the limit for user space memory within a process. 

I am currently waiting for the next errors so I can confirm how many
threads were open at the time.

Have I hit a physical limit or is there any tuning I can carry out to
prevent the problem re-occuring?

Any thoughts appreciated

Regards

Mark Reynolds

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.