Re: Excessive threads in opendkim-2.2.2 on Solaris 10

From: Jose-Marcio Martins da Cruz <Jose-Marcio.Martins_at_mines-paristech.fr>
Date: Wed, 26 Jan 2011 21:38:37 +0100

Murray S. Kucherawy wrote:
>> -----Original Message-----
>> From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-bounce_at_lists.opendkim.org] On Behalf Of Gary Mills
>> Sent: Wednesday, January 26, 2011 6:35 AM
>> To: Jose-Marcio Martins da Cruz
>> Cc: Murray S. Kucherawy; opendkim-dev_at_lists.opendkim.org
>> Subject: Re: Excessive threads in opendkim-2.2.2 on Solaris 10
>>
>> [milter worker pool FFR]
>>
>> Is this feature recommended for opendkim?
>
> I haven't tried it, so I can't endorse it. It's certainly going to be a reduction in resources as it contains thread creation which in turn allocates more and more stack space, but I don't know how reliable it is. Jose appears to have more experience with it.
>

Not really for memory usage, as on traditionnal situation, if you have N threads, you have N times
the stack allocated for each thread plus the N times the context needed for each connection. So less
memory usage. This is a big win on linux servers.

On the pool of workers you have N times the context of each connection plus the amount needed for
the number of active threads plus a small size needed to manage the workers.

About stability,... try it and see... 8-). On the other hand, Debian distribution enables it, by
default.

-- 
  ---------------------------------------------------------------
  Jose Marcio MARTINS DA CRUZ           http://j-chkmail.ensmp.fr
  Ecole des Mines de Paris
  60, bd Saint Michel                      75272 - PARIS CEDEX 06
  mailto:Jose-Marcio.Martins_at_mines-paristech.fr
Received on Wed Jan 26 2011 - 20:39:33 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wed Jan 26 2011 - 21:50:01 PST