Squid randomly stops serving requests. How can I resolve this issue?
Posted
by
Vijay
on Server Fault
See other posts from Server Fault
or by Vijay
Published on 2011-01-31T12:02:55Z
Indexed on
2011/01/31
15:27 UTC
Read the original article
Hit count: 181
The squid (2.7) proxy that I have running on ubuntu 8.10 stops accepting new requests after being online for a while, due to reasons that I can't discover. However doing a squid -k reload resolves the problem immediately.
Now I manually run this command by monitoring the log and if i don't see any activity for 5 minutes I reload the config.
Now on my quest for a solution I had several ideas:
- diagnose the root cause and eliminate it
- setup a script to automatically reload script if no new entries in access.log for the past 3 minutes
- painstakingly upgrade server to newer ubuntu version while keeping network offline or during off hours to minimize downtime.
so i thought I would turn to you for solutions to option 2), as I do not understand squid enough for 1), and I'm avoiding 3) as long as i can. so can ideas?
© Server Fault or respective owner