[squid-users] file descriptor error

From: squid <[email protected]>
Date: Thu, 29 Jan 2004 10:03:31 -0500

Guys,

I am constantly running into a file descriptor error. My cache.log states:

2004/01/29 09:33:17| WARNING! Your cache is running out of filedescriptors

What do i do? If you need any data from my logs let me know. I will supply.
Here is a chunk of data, 1 hours worth, from the cache log immeditaley after
the squid service is restarted.

2004/01/28 04:58:54| sslReadClient: FD 49: read failure: (110) Connection
timed out
2004/01/28 05:00:00| Preparing for shutdown after 93477 requests
2004/01/28 05:00:00| Waiting 30 seconds for active connections to finish
2004/01/28 05:00:00| FD 37 Closing HTTP connection
2004/01/28 05:00:31| Shutting down...
2004/01/28 05:00:31| FD 38 Closing ICP connection
2004/01/28 05:00:31| WARNING: Closing client 137.198.231.138 connection due
to lifetime timeout
2004/01/28 05:00:31|
http://wisapidata.weatherbug.com/WxAlertIsapi/WxAlertIsapi.cgi?GetAlert30&Ma
gic=1&ZipCode=23509&StationID=HMPTN&Units=0&RegNum=31233113&
Version=5.01&t=1075282413&lv=0
2004/01/28 05:00:31| WARNING: Closing client 137.198.244.53 connection due
to lifetime timeout
2004/01/28 05:00:31|
http://64.12.163.136/monitor?sid=400ca38889c6027e0152043b2f917826
2004/01/28 05:00:31| WARNING: Closing client 137.198.243.121 connection due
to lifetime timeout
2004/01/28 05:00:31|
http://big.oscar.aol.com/Xyztrading@aol.com?on_url=http://webmail.aol.com/in
clude/aol/images/online.gif&off_url=http://webmail.aol.com/i
nclude/aol/images/offline.gif
2004/01/28 05:00:31| WARNING: Closing client 137.198.243.121 connection due
to lifetime timeout
2004/01/28 05:00:31|
http://big.oscar.aol.com/Kj0413@aol.com?on_url=http://webmail.aol.com/includ
e/aol/images/online.gif&off_url=http://webmail.aol.com/inclu
de/aol/images/offline.gif
2004/01/28 05:00:31| WARNING: Closing client 137.198.228.68 connection due
to lifetime timeout
2004/01/28 05:00:31| http://reg.streamingcash.com/cgi/reissue.cgi
2004/01/28 05:00:31| WARNING: Closing client 137.198.239.53 connection due
to lifetime timeout
2004/01/28 05:00:31| http://reg.streamingcash.com/cgi/reissue.cgi
2004/01/28 05:00:31| WARNING: Closing client 137.198.232.47 connection due
to lifetime timeout
2004/01/28 05:00:31| http://reg.streamingcash.com/cgi/reissue.cgi
2004/01/28 05:00:31| WARNING: Closing client 137.198.224.37 connection due
to lifetime timeout
2004/01/28 05:00:31| http://reg.streamingcash.com/cgi/reissue.cgi
2004/01/28 05:00:31| WARNING: Closing client 137.198.236.72 connection due
to lifetime timeout
2004/01/28 05:00:31| http://reg.streamingcash.com/cgi/reissue.cgi
2004/01/28 05:00:31| WARNING: Closing client 137.198.243.51 connection due
to lifetime timeout
2004/01/28 05:00:31| http://ps1.streamingcash.com/un?
2004/01/28 05:00:31| WARNING: Closing client 137.198.243.54 connection due
to lifetime timeout
2004/01/28 05:00:31| http://reg.streamingcash.com/cgi/reissue.cgi
2004/01/28 05:00:31| Closing unlinkd pipe on FD 35
2004/01/28 05:00:31| storeDirWriteCleanLogs: Starting...
2004/01/28 05:00:31| Finished. Wrote 8608 entries.
2004/01/28 05:00:31| Took 0.0 seconds (1250435.8 entries/sec).
CPU Usage: 702.840 seconds = 191.310 user + 511.530 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 493
Memory usage for squid via mallinfo():
        total space in arena: 50932 KB
        Ordinary blocks: 17502 KB 988 blks
        Small blocks: 0 KB 5 blks
        Holding blocks: 200 KB 1 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 33429 KB
        Total in use: 17702 KB 35%
        Total free: 33429 KB 66%
2004/01/28 05:00:31| Squid Cache (Version 2.5.STABLE1): Exiting normally.
2004/01/28 05:00:32| Starting Squid Cache version 2.5.STABLE1 for
i386-redhat-linux-gnu...
2004/01/28 05:00:32| Process ID 24784
2004/01/28 05:00:32| With 1024 file descriptors available
2004/01/28 05:00:32| DNS Socket created at 0.0.0.0, port 38660, FD 5
2004/01/28 05:00:32| Adding nameserver 137.198.2.245 from /etc/resolv.conf
2004/01/28 05:00:32| helperOpenServers: Starting 25 'squid_ldap_auth'
processes
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_READ_TIMEOUT': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_LIFETIME_EXP': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_READ_ERROR': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_WRITE_ERROR': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_SHUTTING_DOWN': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_CONNECT_FAIL': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_INVALID_REQ': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_UNSUP_REQ': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_INVALID_URL': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_SOCKET_FAILURE': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_DNS_FAIL': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_CANNOT_FORWARD': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FORWARDING_DENIED': (2) No such file or
directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_NO_RELAY': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_ZERO_SIZE_OBJECT': (2) No such file or
directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_DISABLED': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_FAILURE': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_URN_RESOLVE': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_ACCESS_DENIED': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_CACHE_ACCESS_DENIED': (2) No such file or
directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_CACHE_MGR_ACCESS_DENIED': (2) No such file or
directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_PUT_CREATED': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_PUT_MODIFIED': (2) No such file or
directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_PUT_ERROR': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_NOT_FOUND': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_FORBIDDEN': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_FTP_UNAVAILABLE': (2) No such file or directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_ONLY_IF_CACHED_MISS': (2) No such file or
directory
2004/01/28 05:00:32| errorTryLoadText:
'/usr/share/squid/errors/ERR_TOO_BIG': (2) No such file or directory
2004/01/28 05:00:32| Unlinkd pipe opened on FD 35
2004/01/28 05:00:32| Swap maxSize 102400 KB, estimated 7876 objects
2004/01/28 05:00:32| Target number of buckets: 393
2004/01/28 05:00:32| Using 8192 Store buckets
2004/01/28 05:00:32| Max Mem size: 8192 KB
2004/01/28 05:00:32| Max Swap size: 102400 KB
2004/01/28 05:00:32| Rebuilding storage in /var/spool/squid (CLEAN)
2004/01/28 05:00:32| Using Least Load store dir selection
2004/01/28 05:00:32| Set Current Directory to /var/spool/squid
2004/01/28 05:00:32| Loaded Icons.
2004/01/28 05:00:32| Accepting HTTP connections at 137.198.2.253, port 3128,
FD 37.
2004/01/28 05:00:32| Accepting ICP messages at 0.0.0.0, port 3130, FD 38.
2004/01/28 05:00:32| WCCP Disabled.
2004/01/28 05:00:32| Ready to serve requests.
2004/01/28 05:00:32| Store rebuilding is 47.6% complete
2004/01/28 05:00:32| Done reading /var/spool/squid swaplog (8608 entries)
2004/01/28 05:00:32| Finished rebuilding storage from disk.
2004/01/28 05:00:32| 8608 Entries scanned
2004/01/28 05:00:32| 0 Invalid entries.
2004/01/28 05:00:32| 0 With invalid flags.
2004/01/28 05:00:32| 8608 Objects loaded.
2004/01/28 05:00:32| 0 Objects expired.
2004/01/28 05:00:32| 0 Objects cancelled.
2004/01/28 05:00:32| 0 Duplicate URLs purged.
2004/01/28 05:00:32| 0 Swapfile clashes avoided.
2004/01/28 05:00:32| Took 0.3 seconds (26536.3 objects/sec).
2004/01/28 05:00:32| Beginning Validation Procedure
2004/01/28 05:00:32| Completed Validation Procedure
2004/01/28 05:00:32| Validated 8608 Entries
2004/01/28 05:00:32| store_swap_size = 92152k
2004/01/28 05:00:33| sslReadServer: FD 106: read failure: (104) Connection
reset by peer
2004/01/28 05:00:33| sslReadServer: FD 108: read failure: (104) Connection
reset by peer
2004/01/28 05:00:33| sslReadServer: FD 112: read failure: (104) Connection
reset by peer
2004/01/28 05:00:33| sslReadServer: FD 87: read failure: (104) Connection
reset by peer
2004/01/28 05:00:33| sslReadServer: FD 50: read failure: (104) Connection
reset by peer
2004/01/28 05:00:33| sslReadServer: FD 111: read failure: (104) Connection
reset by peer
2004/01/28 05:00:33| sslReadServer: FD 77: read failure: (104) Connection
reset by peer
2004/01/28 05:00:33| storeLateRelease: released 0 objects
2004/01/28 05:00:33| sslReadServer: FD 70: read failure: (104) Connection
reset by peer
2004/01/28 05:00:35| sslReadServer: FD 98: read failure: (104) Connection
reset by peer
2004/01/28 05:00:35| sslReadServer: FD 120: read failure: (104) Connection
reset by peer
2004/01/28 05:00:35| sslReadServer: FD 119: read failure: (104) Connection
reset by peer
2004/01/28 05:15:34| sslReadServer: FD 199: read failure: (104) Connection
reset by peer
2004/01/28 05:15:36| sslReadServer: FD 214: read failure: (104) Connection
reset by peer
2004/01/28 05:15:40| sslReadServer: FD 197: read failure: (104) Connection
reset by peer
2004/01/28 05:16:02| sslReadServer: FD 223: read failure: (104) Connection
reset by peer
2004/01/28 05:16:07| sslReadServer: FD 259: read failure: (104) Connection
reset by peer
2004/01/28 05:16:09| sslReadServer: FD 363: read failure: (104) Connection
reset by peer
2004/01/28 05:16:32| sslReadServer: FD 230: read failure: (104) Connection
reset by peer
2004/01/28 05:16:35| sslReadServer: FD 338: read failure: (104) Connection
reset by peer
2004/01/28 05:16:35| sslReadServer: FD 341: read failure: (104) Connection
reset by peer
2004/01/28 05:16:35| sslReadServer: FD 163: read failure: (104) Connection
reset by peer
2004/01/28 05:16:37| sslReadServer: FD 333: read failure: (104) Connection
reset by peer
2004/01/28 05:16:37| sslReadServer: FD 246: read failure: (104) Connection
reset by peer
2004/01/28 05:16:39| sslReadServer: FD 187: read failure: (104) Connection
reset by peer
2004/01/28 05:16:39| sslReadServer: FD 164: read failure: (104) Connection
reset by peer
2004/01/28 05:16:39| sslReadServer: FD 226: read failure: (104) Connection
reset by peer
2004/01/28 05:16:40| sslReadServer: FD 208: read failure: (104) Connection
reset by peer
2004/01/28 05:16:40| sslReadServer: FD 238: read failure: (104) Connection
reset by peer
2004/01/28 05:16:41| sslReadServer: FD 173: read failure: (104) Connection
reset by peer
2004/01/28 05:16:41| sslReadServer: FD 232: read failure: (104) Connection
reset by peer
2004/01/28 05:16:41| sslReadServer: FD 257: read failure: (104) Connection
reset by peer
2004/01/28 05:16:42| sslReadServer: FD 201: read failure: (104) Connection
reset by peer
2004/01/28 05:16:42| sslReadServer: FD 213: read failure: (104) Connection
reset by peer
2004/01/28 05:16:42| sslReadServer: FD 370: read failure: (104) Connection
reset by peer
2004/01/28 05:16:43| sslReadServer: FD 320: read failure: (104) Connection
reset by peer
2004/01/28 05:16:43| sslReadServer: FD 192: read failure: (104) Connection
reset by peer
2004/01/28 05:16:43| sslReadServer: FD 357: read failure: (104) Connection
reset by peer
2004/01/28 05:16:44| sslReadServer: FD 236: read failure: (104) Connection
reset by peer
2004/01/28 05:16:44| sslReadServer: FD 267: read failure: (104) Connection
reset by peer
2004/01/28 05:16:44| sslReadServer: FD 375: read failure: (104) Connection
reset by peer
2004/01/28 05:16:44| sslReadServer: FD 161: read failure: (104) Connection
reset by peer
2004/01/28 05:16:45| sslReadServer: FD 276: read failure: (104) Connection
reset by peer
2004/01/28 05:16:46| sslReadServer: FD 281: read failure: (104) Connection
reset by peer
2004/01/28 05:16:46| sslReadServer: FD 312: read failure: (104) Connection
reset by peer
2004/01/28 05:16:47| sslReadServer: FD 154: read failure: (104) Connection
reset by peer
2004/01/28 05:16:47| sslReadServer: FD 195: read failure: (104) Connection
reset by peer
2004/01/28 05:16:47| sslReadServer: FD 146: read failure: (104) Connection
reset by peer
2004/01/28 05:16:48| sslReadServer: FD 407: read failure: (104) Connection
reset by peer
2004/01/28 05:16:48| sslReadServer: FD 351: read failure: (104) Connection
reset by peer
2004/01/28 05:16:48| sslReadServer: FD 353: read failure: (104) Connection
reset by peer
2004/01/28 05:16:48| sslReadServer: FD 339: read failure: (104) Connection
reset by peer
2004/01/28 05:16:51| sslReadServer: FD 418: read failure: (104) Connection
reset by peer
2004/01/28 05:16:52| sslReadServer: FD 398: read failure: (104) Connection
reset by peer
2004/01/28 05:16:52| sslReadServer: FD 275: read failure: (104) Connection
reset by peer
2004/01/28 05:16:53| sslReadServer: FD 177: read failure: (104) Connection
reset by peer
2004/01/28 05:17:12| sslReadServer: FD 251: read failure: (104) Connection
reset by peer
2004/01/28 05:17:18| sslReadServer: FD 412: read failure: (104) Connection
reset by peer
2004/01/28 05:17:21| sslReadServer: FD 166: read failure: (104) Connection
reset by peer
2004/01/28 05:18:11| sslReadServer: FD 271: read failure: (104) Connection
reset by peer
2004/01/28 05:18:28| sslReadServer: FD 207: read failure: (104) Connection
reset by peer
2004/01/28 05:18:30| sslReadServer: FD 376: read failure: (104) Connection
reset by peer
2004/01/28 05:18:31| sslReadServer: FD 381: read failure: (104) Connection
reset by peer
2004/01/28 05:18:32| sslReadServer: FD 158: read failure: (104) Connection
reset by peer
2004/01/28 05:18:33| sslReadServer: FD 243: read failure: (104) Connection
reset by peer
2004/01/28 05:18:35| sslReadServer: FD 400: read failure: (104) Connection
reset by peer
2004/01/28 05:18:48| sslReadServer: FD 385: read failure: (104) Connection
reset by peer
2004/01/28 05:18:52| sslReadServer: FD 348: read failure: (104) Connection
reset by peer
2004/01/28 05:19:08| sslReadServer: FD 262: read failure: (104) Connection
reset by peer
2004/01/28 05:19:09| sslReadServer: FD 325: read failure: (104) Connection
reset by peer
2004/01/28 05:19:09| sslReadServer: FD 124: read failure: (104) Connection
reset by peer
2004/01/28 05:19:30| sslReadServer: FD 624: read failure: (104) Connection
reset by peer
2004/01/28 05:19:53| sslReadServer: FD 411: read failure: (104) Connection
reset by peer
2004/01/28 05:20:14| sslReadServer: FD 253: read failure: (104) Connection
reset by peer
2004/01/28 05:25:52| sslReadServer: FD 450: read failure: (104) Connection
reset by peer
2004/01/28 05:32:23| parseHttpRequest: Requestheader contains NULL
characters
2004/01/28 05:32:23| clientReadRequest: FD 283 Invalid Request
2004/01/28 05:32:23| parseHttpRequest: Requestheader contains NULL
characters
2004/01/28 05:32:23| clientReadRequest: FD 283 Invalid Request
2004/01/28 05:35:41| sslReadServer: FD 509: read failure: (104) Connection
reset by peer
2004/01/28 05:37:08| sslReadServer: FD 481: read failure: (104) Connection
reset by peer
2004/01/28 06:00:00| Preparing for shutdown after 79508 requests
Received on Thu Jan 29 2004 - 08:15:00 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:09 MST