Decrease /proc/sys/net/ipv4/tcp_fin_timeout?
The first thing you need to do is try to find out which process(es) are opening all the file handles. Is it squid? Or is squid the victim of some other process eating up resources? Your /var/log/messages file is a good place to start looking. "Lsof" can also be useful.
Once you've identified the culprit, then you need to find out what *kind* of file handles the process is eating up: disk files? threads? sockets? ("sockets" is a good guess).
Then you need to figure out what to do about it. Perhaps (depending on the resource), you can increase some operating-system limit. But more likely, you'll probably find some kind of configuration error relating to that process itself.
Assuming the culprit is "squid", and that the problem is open sockets - you might wish to decrease your TCP/IP stack's TIME_WAIT value:
/proc/sys/net/ipv4/tcp_fin_timeout
Hope that helps .. PSM
Last edited by paulsm4; 06-21-2005 at 12:49 AM.
|