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

From: Jeff Pang <pangj_at_arcor.de>
Date: Sat, 1 Aug 2009 15:17:17 +0200 (CEST)

 

----- 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.

Der E-Mail-Dienst PIA basic belegt im Test der Stiftung Warentest unter den kostenfreien Angeboten mit dem Qualittsurteil 3,0 den zweiten Platz!
(Testheft Juli 2009, Artikel "E-Mail-Dienste - Besser gratis")
JETZT TESTEN: www.arcor.de/rd/pia_sw
Received on Sat Aug 01 2009 - 13:17:26 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 02 2009 - 12:00:02 MDT