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

This is Interesting: Free IT Magazines  
Home > Archive > Squid > April 2004 > [squid-users] Squid stops responding, OpenBSD *PROBLEM RESOLVED*





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2004-04-30, 9:38 am


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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com