[squid-users] Is Squid can shutdown unused idle redirector's children?

Eliezer Croitoru eliezer at ngtech.co.il
Mon Feb 16 19:08:08 UTC 2015


Hey Yuri,

You missed the whole point.
I didn't wanted you to grep any output.
I wanted to see the whole server process list as a whole to understand 
the issue you see.
If you see the server only with grep you might missing something since I 
have yet to see your server do any swap what so ever until now.

An idle process is fine by nature.
Many systems has many idle processes at the background.
It's in SLEEP mode while waiting for squid to send it's data\request.
What have you seen wrong about it? I am happy to understand.
 From squid point of view idle is not about if the process is in SLEEP 
or IDLE mode and you will see the OS in SLEEP mode while from squid 
aspect it's IDLE.

I have tried to understand what version of squid are you running but 
until now didn't got it.

Some dozens? and what is the cachemgr url_rewrite helper statistics 
output at the time you see the issue?

Eliezer

On 16/02/2015 20:42, Yuri Voinov wrote:
> root @ cthulhu / # ps -efl|grep squidGuard|grep -v grep|awk {'print $2
> " " $5'}
> S 6475
>
> Now you can see one squidGuard process. Squid was restarted hour ago.
>
> Process is idle (no traffic now), but this is as desired by config. As
> you can see, it state is "S", not 'I'. Feel the difference.
>
> The same picture I've observed every night. With some dozens
> redirector processes.




More information about the squid-users mailing list