[squid-users] squid-2.5.STABLE1 - file descriptor shortage

From: Markus Schlup <markus.schlup@dont-contact.us>
Date: Tue, 01 Oct 2002 14:33:14 +0200

I'm running squid under Solaris 8 on a Sparc Netra t1 box with 1 GB RAM
and 2 GB swap space. Cache is located on two partitions on two different
harddisks.
This morning I upgraded squid from 2.5.PRE5 to 2.5.STABLE1. As you may
see in the portitions of my cache.log file, the problems began shortly
after that. I didn't realize it first, so it filled the cache.log with
around 190 MB of logs during about 4 hours. It seems to have a serious
problem with opening files and/or file descriptors ... at 11:27 a.m. it
shut itself down (see log).
I tried to increase the number of available file descriptors of the
running squid instances with the os command 'plimit <pid>' to 4096
(standard is 1024 on Solaris 8). I'm not sure if the file descriptor
limit of squid (DEFAULT_FD_SETSIZE and/or SQUID_MAXFD) is more
restrictive (i.e. I have to recompile from source with bigger values set
in 'include/autoconf.h') ???
Nevertheless that did not sovlve my problem and I consequently
downgraded back to 2.5.PRE5. No problems anymore since then ...

Any hints/help would be appreciated.

Markus

=========

2002/10/01 07:41:05| storeAufsOpenDone: (11) Resource temporarily
unavailable
2002/10/01 07:41:05| /squid_cache/cache2/00/00/000000EC
2002/10/01 07:41:05| storeSwapOutFileClosed: dirno 1, swapfile
000000EC, errflag=-1
        (11) Resource temporarily unavailable
2002/10/01 07:41:07| storeAufsOpenDone: (11) Resource temporarily
unavailable
2002/10/01 07:41:07| /squid_cache/cache2/00/01/0000016B
2002/10/01 07:41:07| storeSwapOutFileClosed: dirno 1, swapfile
0000016B, errflag=-1
        (11) Resource temporarily unavailable
2002/10/01 07:41:07| storeAufsOpenDone: (150) Operation now in
progress
2002/10/01 07:41:07| /squid_cache/cache2/00/01/0000016B
2002/10/01 07:41:07| storeSwapOutFileClosed: dirno 1, swapfile
0000016B, errflag=-1
        (150) Operation now in progress
2002/10/01 07:41:22| storeAufsOpenDone: (150) Operation now in
progress
2002/10/01 07:41:22| /squid_cache/cache2/00/01/000001AA
2002/10/01 07:41:22| storeSwapOutFileClosed: dirno 1, swapfile
000001AA, errflag=-1
        (150) Operation now in progress
2002/10/01 07:42:30| storeAufsOpenDone: (11) Resource temporarily
unavailable
2002/10/01 07:42:30| /squid_cache/cache1/00/A2/0000A254
2002/10/01 07:42:30| storeAufsOpenDone: (11) Resource temporarily
unavailable
2002/10/01 07:42:30| /squid_cache/cache1/00/A2/0000A25C
2002/10/01 07:43:16| storeAufsOpenDone: (11) Resource temporarily
unavailable
2002/10/01 07:43:16| /squid_cache/cache2/00/02/00000205
2002/10/01 07:43:16| storeSwapOutFileClosed: dirno 1, swapfile
00000205, errflag=-1
        (11) Resource temporarily unavailable

=========

2002/10/01 09:20:33| storeAufsOpenDone: (11) Resource temporarily
unavailable
2002/10/01 09:20:33| /squid_cache/cache1/00/4D/00004D6D
2002/10/01 09:20:33| storeSwapOutFileClosed: dirno 0, swapfile
00004D6D, errflag=-1
        (11) Resource temporarily unavailable
2002/10/01 09:20:33| storeAufsOpenDone: (11) Resource temporarily
unavailable
2002/10/01 09:20:33| /squid_cache/cache1/00/4D/00004D6D
2002/10/01 09:20:33| storeSwapOutFileClosed: dirno 0, swapfile
00004D6D, errflag=-1
        (11) Resource temporarily unavailable
2002/10/01 09:20:46| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 09:20:46| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 09:20:46| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 09:20:46| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 09:20:46| httpAccept: FD 16: accept failure: (24) Too many
open files

=========

2002/10/01 11:26:26| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:26| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:26| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:26| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:26| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| comm_open: socket failure: (24) Too many open
files
2002/10/01 11:26:27| WARNING: This machine has a serious shortage of
filedescriptors.
2002/10/01 11:26:27| Reserved FD adjusted from 979 to 979 due to
failures
2002/10/01 11:26:27| comm_open: socket failure: (24) Too many open
files
2002/10/01 11:26:27| WARNING: This machine has a serious shortage of
filedescriptors.
2002/10/01 11:26:27| Reserved FD adjusted from 979 to 979 due to
failures
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| comm_open: socket failure: (24) Too many open
files
2002/10/01 11:26:27| WARNING: This machine has a serious shortage of
filedescriptors.
2002/10/01 11:26:27| Reserved FD adjusted from 979 to 979 due to
failures
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:27| httpAccept: FD 16: accept failure: (24) Too many
open files

=========

2002/10/01 11:26:30| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:30| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:30| httpAccept: FD 16: accept failure: (24) Too many
open files
2002/10/01 11:26:30| Preparing for shutdown after 22472 requests
2002/10/01 11:26:30| Waiting 30 seconds for active connections to
finish
2002/10/01 11:26:30| FD 16 Closing HTTP connection
2002/10/01 11:27:01| Shutting down...
Received on Tue Oct 01 2002 - 06:33:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:33 MST