[squid-users] Squid stops responding, OpenBSD *PROBLEM RESOLVED*

From: Daniel Corbe <dcorbe@dont-contact.us>
Date: Fri, 30 Apr 2004 08:48:02 -0400

Earlier in the month I wrote in asking for help figuring out why my
Squid proxy server would grind the box to a halt. I believe I have
resolved the issue. It was a combination of the following issues:

1) I found several machines in an obscure part of my network which were
infected with some sort of worm
2) This was causing an exorbinant ammonut of connections destined to
random addresses on port 80
3) This in turn was causing squid to run out of file descriptors.

It should be noted by default OpenBSD places rather conservative limits
on open FDs.

Raising the the per-user limit in the kernel VIA the kern.maxfiles
sysctl variable and then raising the login.conf limits prior to starting
squid fixed the problem.

I of course also cleaned the machines that were infected ;)

Just thought this would be noteworthy in the archive as I'm sure I'm not
the only person that's ever stumbled across this.

Regards,
Daniel
Received on Fri Apr 30 2004 - 06:48:05 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:03 MDT