Richard Frovarp wrote:
> [EMAIL PROTECTED] wrote:
>> On 2/6/08, Richard Frovarp <[EMAIL PROTECTED]> wrote:
>>  
>>> It does assign the PID and they do rollover. There's only 32K of them,
>>>  which isn't too many on some systems. My incoming email systems
>>> rollover
>>>  several times a day, but those are short lived sendmail and various
>>>  scanning processes.
>>>     
>>
>> Most programs needing many short-lived processes use a pool to avoid
>> the performance hit of creating many new processes.  The performance
>> hit depends on the threading model; some are optimized so a new
>> process is faster than a new thread.  I am unaware of a modern MTA
>> that creates a new process for each message.
>> [Richard: This is an RFI.  I hate ignorance, especially my own. What
>> MTA is used?]
>>   
> Sendmail 8.13. Here's my PID list for sendmail at the moment. Granted
> some are the parents, queue runner, some are hung open, etc. But it most
> certainly isn't using a pool. And it would be for each connection, as
> multiple messages can be sent through a single connection.

on linux systems, process creation is cheap. iiuc, it's just as
effective as the creation of a new thread in most cases.
so your sendmail seems to do the Right Thing.
otoh, under nt, such a behaviour would be insane.


-- 
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to