Re: Helper processes in 3.2

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 16 Apr 2012 10:58:39 +1200

On 16.04.2012 01:16, Alexander Komyagin wrote:
> Hi! I just wonder why "disker" and "coordinator" Squid kids are
> spawning
> helper processes, while I don't see any reason for them to do this.
> For
> example, if I have
>
> ---------------
> workers 2
> cache_dir rock /var/spool/squid 4049 max-size=32768
>
> url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
> url_rewrite_children 8 startup=1 idle=2 concurrency=0
> url_rewrite_bypass on
> ---------------
>
> in config, it will end up with four squidGuard initial processes (1
> for
> kid-1, 1 for kid-2, 1 for disker and 1 for coord). But I'm not sure
> that
> disker and coordinator need squidGuard.
>
> Can somebody shed a light on this?

http://bugs.squid-cache.org/show_bug.cgi?id=3415 . Patches welcome.

Coordinator should spawn only in no-daemon mode when no worker kids
exist.

Disker should only be spawning unlinkd helpers, or none at all.

Amos
Received on Sun Apr 15 2012 - 22:58:45 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 16 2012 - 12:00:09 MDT