[squid-users] Squid url rewriters creating issues in case of multi-threaded mode

Amos Jeffries squid3 at treenet.co.nz
Wed Aug 7 11:45:12 UTC 2019

On 7/08/19 6:40 pm, Chirayu Patel wrote:
> url_rewrite_program /tmp/squid/urlcat_server
> url_rewrite_children 15 startup=1 idle=1 concurrency=30 queue-size=10000
> url_rewrite_extras "%>a %lp %ssl::>sni"
> ---------------------
> --> I have a single process which receives the requests in
> multi-threaded mode
> --> The issue I am facing right now is, I am continuously getting these
> messages :
> Tue Aug  6 15:33:09 2019 daemon.notice squid[7934]: helperHandleRead:
> unexpected reply on channel 0 from redirector #Hlpr1 '176 OK'

It looks like your helper is trying to indicate channel-ID 176 but
sending something that is not a digit before the ID number.

Can you run the helper manually and send it one or a bunch of requests
to see if it is producing the correct output?

Is there any whitespace or prefix before the channel-ID it is putting on
the line?  The above log entry looks like the helper is producing
something like these:
 "0 178 OK"
 " 178 OK"


More information about the squid-users mailing list