Jeff Pang wrote:

----- Original Nachricht ----
Von:     Sachin Malave <[email protected]>
An:      [email protected]
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

Reply via email to