RE: [squid-users] squid start process

From: Elsen Marc <elsen@dont-contact.us>
Date: Mon, 8 Nov 2004 07:39:12 +0100

 
> How is the squid start process? I see that when it's running "ps ax"
> shows two squid process:
>
> 3558 ? Ss 0:00 /usr/sbin/squid -D -sYC
> 3560 ? S 0:00 (squid) -D -sYC
>
> What't is the first and second process? and what squid do when start
> (fork only one process?, i see in the code that squid calls fork()
> twice, but i can;t understand why)?
 
 Squid uses a parent child mechanism. The child process does
 the real thing. The parent watches the child, and takes
 action to restart it, if the child crashes for instances.

 M.
Received on Sun Nov 07 2004 - 23:40:15 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST