[Greylist-users] Getting greylisting going on a new Debian
Jose-Marcio Martins da Cruz
Jose-Marcio.Martins at ensmp.fr
Mon Jun 30 12:47:55 PDT 2008
Sean Conner wrote:
> It was thus said that the Great Jose-Marcio Martins da Cruz once stated:
>> Sean Conner wrote:
...
>> Hmmm. Threads under linux ... They eat memory. Other OSs (Solaris,
>> FreeBSD) do it better.
>
> Tracking that down took quite a bit of investigation and it involved a
> trip through the source code for pthreads under Linux.
Not really... 8-)
In a Linux box, look for clone(2) - all you need to know is there :
man clone
>
>> But hopefully there are solutions to this problem. If you're running
>> sendmail 8.14.x, you can compile it with _FFR_WORKERS_POOL option enabled.
>
> Well, I basically ended up doing a "ulimit -s" [1] and that seems to have
> sovled for the most part the memory issues (did have to keep tweaking the
> value between "uses too much" and "too little it crashes").
man ulimit
ulimit [-SHacdefilmnpqrstuvx [limit]]
Provides control over the resources available to the shell and
to processes started by it, on systems that allow such control.
^^^^^^^^^
The -H and -S options specify that the hard or soft limit is set
...
-s The maximum stack size
I understant : "the maximum stack size per process." Am I right ???
>
> -spc (Wishes we could use Postfix at The Office though ... )
Sorry but, IMHO, the problem here isn't sendmail, but linux threads.
My 2 cents
More information about the Greylist-users
mailing list