From: (no name) (no email)
Date: Fri Feb 20 2004 - 14:49:05 EST
On Fri, 20 Feb 2004, Wietse Venema wrote:
> Postfix normally doesn't have lots of idle processes, but just in
> case, it avoids select() collisions by placing an exclusive lock
> around the select()->accept() code.
>
With SunOS 5.x (x < 6) serializing accept() calls is necessary even though
the OS does not wake up all the process at once. On a multi-CPU machine,
if multiple accept() calls are allowed to happen on the same socket at the
same time, the state of the listening socket will be corrupted.
Sadly either the lock files must stay, or support for SunOS 5.0-5.5 needs
to be dropped. I think 5.6 is OK in this respect, and I am quite sure that
5.7-5.9 are fine.
-- Viktor.
|
|
|