Squid - errors then dies ???

From: Roch Pageau <rpageau@dont-contact.us>
Date: Wed, 04 Dec 1996 10:17:28 -0500

Here are some errors I am getting in the cache.log, seems to be some kind of
memery allocation problem. I swithc from squid 1.0.5 to 1.1.23 becuse of
this and its still happening.I have 98 meg of Ram and 4 gig HD.

Here are the entries in the squid.conf:

cache_mem 32
cache_swap 1500
cache_swap_low 75
cache_swap_high 90
cache_mem_low 75
cache_mem_high 90
maximum_object_size 4096
ipcache_size 1024
ipcache_low 90
ipcache_high 95

Here are the error messages in the cache.log:

96/12/03 22:22:34| write_with_timeout: (32) Broken pipe
96/12/03 22:22:34| write_with_timeout: (32) Broken pipe
96/12/03 22:29:50| ERR_CONNECT_FAIL: http://www.trytel.com/
96/12/03 22:29:52| ERR_CONNECT_FAIL: http://www.trytel.com/
96/12/03 22:35:12| Scanned 1 objects, Removed 1 expired objects
96/12/03 22:36:12| ERR_READ_ERROR: http://home.netscape.com/fr/
96/12/03 22:38:30| ERR_CLIENT_ABORT: http://www.dimensional.com/~randl/pan1.jpg
96/12/03 22:41:09| ERR_CLIENT_ABORT: http://www.webpower.com/amateurs/gvids2.htm
96/12/03 22:44:40| ERR_CLIENT_ABORT: http://www.ride-da-bone.com/scans/jpg.s/gro
up/rdbg05.jpg
96/12/03 22:50:29| ERR_CONNECT_FAIL: http://208.194.47.253/gifs/toolc1_0.gif
96/12/03 22:50:31| ERR_CONNECT_FAIL: http://208.194.47.253/gifs/logo2_1.gif
96/12/03 22:50:41| ERR_CLIENT_ABORT: http://205.134.164.101:81/homemovies/pacifi
c/286/PCLP1003.JPG
96/12/03 22:50:41| ERR_CLIENT_ABORT: http://205.134.164.101:81/homemovies/pacifi
c/286/PCLP1001.JPG
96/12/03 22:50:41| ERR_CLIENT_ABORT: http://205.134.164.101:81/homemovies/pacifi
c/286/PCLP1002.JPG
FATAL: xmalloc: Unable to allocate 4096 bytes!

Squid Cache (Version 1.1.beta23): Terminated abnormally.
CPU Usage: user 85 sys 153
Memory Usage: rss 0 KB
Page faults with physical i/o: 0
96/12/03 22:52:45| storeWriteCleanLog: Starting...
96/12/03 22:52:45| 4096 lines written so far.
96/12/03 22:52:45| Finished. Wrote 5948 lines.
96/12/03 22:52:45| Took 0 seconds (5948.0 lines/sec).
96/12/03 22:53:23| Starting Squid Cache version 1.1.beta23 for i386-unknown-bsdi
2.1...
96/12/03 22:53:23| With 6668 file descriptors available
96/12/03 22:53:23| Performing DNS Tests...
96/12/03 22:53:23| Successful DNS name lookup tests...
96/12/03 22:53:23| dnsOpenServers: Starting 10 'dnsserver' processes
96/12/03 22:53:23| file_map_create: creating space for 2097152 files
96/12/03 22:53:23| Swap maxSize 1536000, estimated 76800 objects
96/12/03 22:53:23| Target number of buckets: 1536
96/12/03 22:53:23| Using 7951 Store buckets, maintain 1 bucket every 10 seconds
96/12/03 22:53:23| Rebuilding storage from disk image in /usr/local/squid1.1/cac
he
96/12/03 22:53:24| Rebuilding in FAST MODE.
96/12/03 22:53:24| Accepting HTTP connections on FD 21.
96/12/03 22:53:24| Accepting ICP connections on FD 22.
96/12/03 22:53:24| Ready to serve requests.
96/12/03 22:53:26| 4096 Lines read so far.
96/12/03 22:53:27| Finished rebuilding storage from disk image.
96/12/03 22:53:27| 5948 Lines read from previous logfile.
96/12/03 22:53:27| 5948 Objects loaded.
96/12/03 22:53:27| 0 Objects expired.
96/12/03 22:53:27| 0 Duplicate URLs purged.
96/12/03 22:53:27| 0 Swapfile clashes avoided.
96/12/03 22:53:27| Took 3 seconds (1982.7 objects/sec).
96/12/03 22:53:27| store_swap_size = 52904k
96/12/03 22:53:46| ERR_CLIENT_ABORT: http://www.dimensional.com/~randl/pan1.jpg

Also getting a lot of these:
96/12/04 08:43:35| commHandleRead: FD 19: read failure: (54) Connection reset by
 peer
96/12/04 08:43:35| commHandleRead: FD 26: read failure: (54) Connection reset by
 peer
96/12/04 08:43:35| commHandleRead: FD 27: read failure: (54) Connection reset by
 peer
96/12/04 08:43:35| commHandleRead: FD 30: read failure: (54) Connection reset by
96/12/04 09:28:35| icpDetectClientClose: FD 19, 256 unexpected bytes
96/12/04 09:28:35| icpDetectClientClose: FD 19, 42 unexpected bytes
96/12/04 09:30:27| ERR_CLIENT_ABORT: http://www.amateursweb.com/best/banners/cli
ck4.jpg
96/12/04 09:33:40| icpDetectClientClose: FD 26, 256 unexpected bytes
96/12/04 09:33:40| icpDetectClientClose: FD 26, 38 unexpected bytes
96/12/04 09:33:41| ERR_CLIENT_ABORT: http://www.amateursweb.com/best/banners/aha
nim3.gif
96/12/04 09:35:25| icpDetectClientClose: FD 19, 256 unexpected bytes
96/12/04 09:35:25| icpDetectClientClose: FD 19, 39 unexpected bytes
96/12/04 09:35:30| ERR_CLIENT_ABORT: http://www.amateursweb.com/best/banners/aha
nim3.gif

-----------------------

Thanks for any help
Roch
Received on Wed Dec 04 1996 - 07:40:35 MST

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