[squid-users] squid helper status

Alex Rousskov rousskov at measurement-factory.com
Mon Nov 5 17:30:29 UTC 2018


On 11/5/18 6:51 AM, joseph wrote:
> question on mgr:store_id
> 
> wen Flags   has    BW  
>    B    BUSY
>    W    WRITING
> any idea wat is the caus of that

Please see the following new wiki section for the helper states
documentation:
https://wiki.squid-cache.org/Features/AddonHelpers#Helper_states


> 1 network uplink delay

Assuming this WRITING state lasts for a while, it is possible that
network delays are to blame if your helper is using a network uplink and
does not read new helper requests while waiting for that network I/O.


> 2 squid 

Assuming this WRITING state lasts for a while, it is possible that Squid
is to blame if your Squid is overloaded and cannot write to the helper
process (fast enough), accumulating more being-sent helper requests in
the helper queue.


> 3 helper

Assuming this WRITING state lasts for a while, it is possible that the
helper is to blame if your helper is overloaded (or stuck) and cannot
read requests from Squid fast enough.


The above general answers are not specific to your store_id helper. You
may narrow the list of suspects down by applying your knowledge about
your helper and Squid/OS statistics for its processes.


HTH,

Alex.


More information about the squid-users mailing list