Re: [squid-users] cache.log error

From: Ilker Gokhan <IlkerG@dont-contact.us>
Date: Fri, 25 May 2001 11:04:12 +0300

The answer is simple. Your squid is running out of filedescriptors. The
solution is simple as well.
 
http://squid.sourceforge.net/hno/linux-lfd.html
<http://squid.sourceforge.net/hno/linux-lfd.html>
 
Best regards,
Ilker G. <http://squid.sourceforge.net/hno>

Kimden: Tejal Shah [mailto:tejal@worldgatein.net]
Tarih: Friday, May 25, 2001 10:46 AM
Kime: Squid@Visolve.com; Squid
Bilgi: Joe Cooper
Konu: [squid-users] cache.log error

Dear friends and gurus,
 
2001/05/22 17:05:16| WARNING! Your cache is running out of filedescriptors
2001/05/22 17:05:16| comm_accept: FD 11: (104) Connection reset by peer
2001/05/22 17:05:16| httpAccept: FD 11: accept failure: (104) Connection
reset by peer
2001/05/22 17:34:08| WARNING! Your cache is running out of filedescriptors
2001/05/22 17:34:09| comm_accept: FD 11: (104) Connection reset by peer
2001/05/22 17:34:09| httpAccept: FD 11: accept failure: (104) Connection
reset by peer
2001/05/22 17:34:24| WARNING! Your cache is running out of filedescriptors
2001/05/22 17:34:24| comm_accept: FD 11: (104) Connection reset by peer
2001/05/22 17:34:24| httpAccept: FD 11: accept failure: (104) Connection
reset by peer
2001/05/22 19:28:45| Select loop Error. Retry 3
2001/05/22 19:28:45| comm_poll: poll failure: (12) Cannot allocate memory
2001/05/22 19:28:45| Select loop Error. Retry 4
2001/05/22 19:28:45| comm_poll: poll failure: (12) Cannot allocate memory
2001/05/22 19:28:45| Select loop Error. Retry 5
2001/05/22 19:28:45| comm_poll: poll failure: (12) Cannot allocate memory
2001/05/22 19:28:45| Select loop Error. Retry 6
2001/05/22 19:28:45| comm_poll: poll failure: (12) Cannot allocate memory
2001/05/22 19:28:45| Select loop Error. Retry 7
2001/05/22 19:28:45| comm_poll: poll failure: (12) Cannot allocate memory
2001/05/22 19:28:45| Select loop Error. Retry 8
2001/05/22 19:28:45| comm_poll: poll failure: (12) Cannot allocate memory
2001/05/22 19:28:45| Select loop Error. Retry 9
2001/05/22 19:28:45| comm_poll: poll failure: (12) Cannot allocate memory
2001/05/22 19:28:45| Select loop Error. Retry 10
FATAL: Select Loop failed!
Squid Cache (Version 2.3.STABLE1): Terminated abnormally.
CPU Usage: 86438.160 seconds = 27537.360 user + 58900.800 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 2846299
Memory usage for squid via mallinfo():
 total space in arena: 247545 KB
 Ordinary blocks: 243626 KB 9488 blks
 Small blocks: 0 KB 0 blks
 Holding blocks: 11484 KB 8 blks
 Free Small blocks: 0 KB
 Free Ordinary blocks: 3918 KB
 Total in use: 255110 KB 103%
 Total free: 3918 KB 2%
2001/05/22 19:28:45| storeDirWriteCleanLogs: Starting...
2001/05/22 19:28:45| WARNING: Closing open FD 12
2001/05/22 19:28:45| 65536 entries written so far.
2001/05/22 19:28:45| 131072 entries written so far.
2001/05/22 19:28:48| 1835008 entries written so far.
2001/05/22 19:28:49| Finished. Wrote 1863433 entries.
2001/05/22 19:28:49| Took 3.8 seconds (496618.3 entries/sec).
2001/05/22 19:29:09| Starting Squid Cache version 2.3.STABLE1 for
i686-pc-linux-gnu...
2001/05/22 19:29:09| Process ID 1912
2001/05/22 19:29:09| With 1024 file descriptors available
2001/05/22 19:29:09| DNS Socket created on FD 1
2001/05/22 19:29:09| Unlinkd pipe opened on FD 6
2001/05/22 19:29:09| Swap maxSize 21504000 KB, estimated 2389333 objects
2001/05/22 19:29:09| Target number of buckets: 47786
2001/05/22 19:29:09| Using 65536 Store buckets
2001/05/22 19:29:09| Max Mem size: 32768 KB
2001/05/22 19:29:09| Max Swap size: 21504000 KB
2001/05/22 19:29:09| Store logging disabled
2001/05/22 19:29:09| Using LFUDA disk replacement policy
2001/05/22 19:29:09| Rebuilding storage in /cache1/squid (CLEAN)
2001/05/22 19:29:09| Rebuilding storage in /cache4/squid (CLEAN)
2001/05/22 19:29:09| Rebuilding storage in /cache2/squid (CLEAN)
2001/05/22 19:29:09| Set Current Directory to /cache1/squid
2001/05/22 19:29:09| Loaded Icons.
2001/05/22 19:29:09| Accepting HTTP connections at 0.0.0.0, port 3128, FD
11.
2001/05/22 19:29:09| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2001/05/22 19:29:09| WCCP Disabled.
2001/05/22 19:29:09| Ready to serve requests.
2001/05/22 19:29:30| WARNING! Your cache is running out of filedescriptors

 
    my squid get crash after a week or tendays with the following error in
cache.log.
Why i get this error. I m runnig squid 2.3 stable 1 on RH6.2 with 30GB of
cache and 1 GB
of RAM.
 
 thanks in advance
 
Tejal

Bu e-postada bulunan tüm fikir ve görüsler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.S hiç bir sekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.
Received on Fri May 25 2001 - 02:04:10 MDT

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