On Thu, 19 Feb 2004, Ko Jong Hyun wrote:

> According to the FAQ docs about diskd,
> (http://www.squid-cache.org/Doc/FAQ/FAQ-22.html)
> "each cache_dir has its own diskd child process".

Yes.

> Does it mean that...if i modify the squid.conf like below :
> 
> cache_dir diskd /reiser/squid-cache-diskd/1 10240 32 512
> cache_dir diskd /reiser/squid-cache-diskd/2 10240 32 512
> cache_dir diskd /reiser/squid-cache-diskd/3 10240 32 512
> 
> , and then execute Squid, are there 3 child processes of Squid like below?
> (It's just an example)
> 
> ps -ef | grep squid
> root      7123     1  0 18:14 ?        00:00:00 sbin/squid
> nobody    7125  7123  0 18:14 ?        00:00:03 (squid)
> nobody    7125  7123  0 18:14 ?        00:00:03 (squid)
> nobody    7125  7123  0 18:14 ?        00:00:03 (squid)
> root      7440  5505  0 18:28 pts/0    00:00:00 grep squid

Close, but not quite correct. It will look more like

> root      7123     1  0 18:14 ?        00:00:00 sbin/squid
> nobody    7125  7123  0 18:14 ?        00:00:03 (squid)
> nobody    7126  7125  0 18:14 ?        00:00:03 diskd
> nobody    7127  7125  0 18:14 ?        00:00:03 diskd
> nobody    7127  7125  0 18:14 ?        00:00:03 diskd

There may also be other slave processes to the main Squid process (Pid 
7125 in your example), depending on what other features of Squid you use.

Regards
Henrik

Reply via email to