Re: Aw: [squid-users] Running two squid3 process, Why?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 02 Aug 2009 12:45:41 +1200

Jeff Pang wrote:
>
>
>
> ----- Original Nachricht ----
> Von: Sachin Malave <sachinmalave_at_gmail.com>
> An: squid-users_at_squid-cache.org
> Datum: 01.08.2009 14:37
> Betreff: [squid-users] Running two squid3 process, Why?
>
>> I am using squid3, After starting squid It creates two process
>>
>> $sudo squid3
>> $ps -A
>>
>> It displays something like......
>> .
>> .
>> 6325 ? 00:00:00 squid3
>> 6327 ? 00:00:25 squid3
>> 6328 ? 00:00:00 unlinkd
>> 6367 ? .
>> .
>> .
>>
>> Can anybody tell me why it has created two processes?
>>
>
>
> Well, from my looking at the sources years ago, one process is the parent, who does nothing but monitor the child, another process is the child, who does the actual http request handling. When child dies due to some exception, parent will re-launch another new child.
>
> Jeff.

Correct. And the third one handles the disk deletions.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE17
   Current Beta Squid 3.1.0.12
Received on Sun Aug 02 2009 - 00:46:01 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 04 2009 - 12:00:03 MDT