[squid-dev] Moved PID file management from Coordinator to Master

Alex Rousskov rousskov at measurement-factory.com
Tue Jan 20 00:55:58 UTC 2015


On 01/16/2015 08:51 AM, Amos Jeffries wrote:
> On 16/01/2015 11:29 a.m., Alex Rousskov wrote:
>> In SMP, there is only one Coordinator process, created by the
>> Master process.

>> All SMP kids (Coordinator, workers, and diskers) are started by
>> the Master process. There are no multiple levels as far as kid
>> startup and waiting are concerned and, hence, there is no "level
>> deeper than the master can see".


> Hmm, okay. Then I have no problem per-se to this change of esponsibility.

Great, thank you.


> I do still think the coordinator needs to remain active until last out
> of the kids though, so they can still use it to coordinate during
> their shutdowns. Having it be the first up and last down would solve a
> few architectural problems where kids need to to collaborate on
> things, like log rotations or broadcasting their availability.

Agreed!


Alex.


More information about the squid-dev mailing list