Hi

Today squid was suddenly running at 100% CPU and a lot of "running out of 
filedescriptors" messages in the cache.log. But if I look with squidclient it 
only had 989 of 65k filedescriptors open.
Is there something else I need to look at? I am using squid-3.2.6 on Centos 6.3




11.Command: top
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
11338 squid     20   0  647m 531m 6488 R 99.5  6.8   4:05.12 squid


12.Command: squidclient -p 8080 -h 160.85.104.14 mgr:info | grep file
   Maximum number of file descriptors:   65535
   Largest file desc currently in use:   1016
   Number of file desc currently in use:  989
   Available number of file descriptors: 64546
   Reserved number of file descriptors:  64546
   Store Disk files open:                   7
     
Command: tail -100 cache.log
   2013/02/20 09:38:11 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:38:27 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:38:43 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:38:47 kid1| comm_open: socket failure: (24) Too many open files
   2013/02/20 09:38:47 kid1| Reserved FD adjusted from 64542 to 64546 due to 
failures
   2013/02/20 09:38:47 kid1| comm_open: socket failure: (24) Too many open files
   2013/02/20 09:38:47 kid1| Attempt to open socket for EUI retrieval failed: 
(24) Too many open files
   noch 6 weitere solche Eintraege
   2013/02/20 09:38:47 kid1| Attempt to open socket for EUI retrieval failed: 
(24) Too many open files
   2013/02/20 09:38:47 kid1| comm_open: socket failure: (24) Too many open files
   2013/02/20 09:38:47 kid1| comm_open: socket failure: (24) Too many open files
   2013/02/20 09:38:47 kid1| comm_open: socket failure: (24) Too many open files
   2013/02/20 09:38:47 kid1| DiskThreadsDiskFile::openDone: (24) Too many open 
files
   2013/02/20 09:38:47 kid1|       /var/cache/squid/05/09/0005097C
   2013/02/20 09:38:59 kid1| WARNING! Your cache is running out of 
filedescriptors
   noch 10 weitere solche Eintraege
   2013/02/20 09:41:55 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:42:02 kid1| local=160.85.104.14:49011 remote=212.35.56.41:443 
FD 261 flags=1: read/write failure: (110) Connection timed out
   2013/02/20 09:42:11 kid1| WARNING! Your cache is running out of 
filedescriptors
   noch 5 weitere solche Eintraege
   2013/02/20 09:43:47 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:43:47 kid1| Failed to select source for 'http://www.fac/'
   2013/02/20 09:43:47 kid1|   always_direct = 0
   2013/02/20 09:43:47 kid1|    never_direct = 0
   2013/02/20 09:43:47 kid1|        timedout = 0
   2013/02/20 09:43:51 kid1| Failed to select source for 
'http://www.fac/favicon.ico'
   2013/02/20 09:43:51 kid1|   always_direct = 0
   2013/02/20 09:43:51 kid1|    never_direct = 0
   2013/02/20 09:43:51 kid1|        timedout = 0
   2013/02/20 09:43:58 kid1| Failed to select source for 
'http://nonexistent.yontoo.com/'
   2013/02/20 09:43:58 kid1|   always_direct = 0
   2013/02/20 09:43:58 kid1|    never_direct = 0
   2013/02/20 09:43:58 kid1|        timedout = 0
   2013/02/20 09:44:03 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:44:19 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:44:35 kid1| WARNING! Your cache is running out of 
filedescriptors
   2013/02/20 09:44:51 kid1| WARNING! Your cache is running out of 
filedescriptors

Reply via email to