Re: Shorts questions about squid-2.2.STABLE2

From: Henrik Nordstrom <[email protected]>
Date: Wed, 05 May 1999 23:43:58 +0200

squid@roble.labsd.inf.utfsm.cl wrote:
>
> Hi, I recently "upgrade" my old version of squid-2.1 to
> squid-2.2.STABLE2, but now I have 2 doubts:
>
> 1.- When I start running the new version, it forks many squid
> process, instead the old version that started with two
> squid process only.
>
> Running ps aux |grep squid, I get ...
>
> squid 1454 0.0 0.0 2892 0 ? SW 13:05 0:00 (squid)
> squid 1455 0.0 5.1 6932 3300 ? S 13:05 0:02 (squid) -sDY
> squid 1456 0.0 5.1 6932 3300 ? S 13:05 0:00 (squid) -sDY
> squid 1457 0.0 5.1 6932 3300 ? S 13:05 0:00 (squid) -sDY
...

This looks like a Linux system with async-io enabled.
 
> How can I decrease the number of squid process running on my
> machine ?

Get a ps whith is threads aware (don't know if there is one yet). The
above listing is only two processes, where one of the processes has
multiple kernel threads (main thread, thread manager, 16 async-io
threads == 18 ps entries).

> 2.- There is a way to "exclude" some urls of being
> cached, for example, on our campus the default domain is utfsm.cl
> and I don't want to save copies of the objects downloaded from
> www.utfsm.cl or tucows.dcsc.utfsm.cl.

no_cache squid.conf directive will stop the objects from being cached.
It will however not stop Squid from using previously cached objects if
there is any in the cache.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Wed May 05 1999 - 15:34:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:14 MST