Re: [squid-users] diskd: number of processes

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 19 Feb 2004 11:27:39 +0100 (CET)

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
Received on Thu Feb 19 2004 - 03:27:44 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST