Re: Squid-SMP problems in current trunk

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 08 Aug 2011 12:50:15 -0600

On 07/15/2011 10:11 PM, Amos Jeffries wrote:
> I'm not very certain about SMP listening sockets, which process(es) are
> safe to close() on reconfigure/shutdown? the unsafe ones must do fd=-1
> to abandon the FD information explicitly before the conn object destructs.

Just for the record, all listening processes can close their FDs in SMP
mode. The underlying descriptor will be really closed when the last user
closes it. Thus, there should be no need to coordinate closing of
individual descriptors among SMP kids.

HTH,

Alex.
Received on Mon Aug 08 2011 - 18:50:32 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 09 2011 - 12:00:03 MDT