Hi Jason,
Jason Zammit wrote:
> Hi,
> Squid suddenly stopped working this afternoon. I am very new to squid and linux. I have gone through the cache.log and came across this section, which would have been around the time I started getting calls. Any help or advice is appreciated
>
> CACHE.LOG
> 07/11/01 12:45:03| parseHttpRequest: Unsupported method ' CONNECT'
> 2007/11/01 12:45:03| clientReadRequest: FD 74 (10.13.118.30:1273) Invalid Request
> 2007/11/01 12:47:31| storeDirWriteCleanLogs: Starting...
> 2007/11/01 12:47:31| WARNING: Closing open FD 10
> 2007/11/01 12:47:31| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=10: (1) Operation not permitted
> 2007/11/01 12:47:31| 65536 entries written so far.
> 2007/11/01 12:47:31| WARNING: Closing open FD 13
> 2007/11/01 12:47:31| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=13: (1) Operation not permitted
> 2007/11/01 12:47:31| Finished. Wrote 130251 entries.
> 2007/11/01 12:47:31| Took 0.1 seconds (1782136.4 entries/sec).
> FATAL: logfileWrite: /var/log/squid/store.log: (11) Resource temporarily unavailable
Under which user are you starting Squid? Seems like a permission or disk
full error?
Check your permissions for all your Squid related files such as
squid.conf, access.log, cache.log, store.log, etc...
By the way, you don't really need to keep store.log. It will grow
exponentially.
You can set the following in your squid.conf:
cache_store_log none
Thanking you...
>
> Squid Cache (Version 2.6.STABLE16): Terminated abnormally.
> (squid)[0x800abca5]
> (squid)(fatal+0x2b)[0x800ac16b]
> (squid)(fatalf+0x56)[0x800ac576]
> (squid)[0x80075b11]
> (squid)(logfilePrintf+0x72)[0x80075cf2]
> (squid)(storeLog+0x165)[0x800a7e15]
> (squid)(storeRelease+0xc8)[0x8009fcf8]
> (squid)(storeUnlockObject+0x138)[0x800a0618]
> (squid)[0x80035e82]
> (squid)[0x8003f133]
> (squid)(commCallCloseHandlers+0xcf)[0x8003fa8f]
> (squid)(comm_close+0xa9)[0x80041839]
> (squid)[0x80039231]
> (squid)[0x8003f535]
> (squid)(comm_select+0x5c6)[0x80043256]
> (squid)(main+0x808)[0x80077e18]
> /lib/libc.so.6(__libc_start_main+0xdc)[0xb7cca87c]
> (squid)[0x80013231]
> CPU Usage: 7844.458 seconds = 6460.120 user + 1384.339 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 40148 KB
> Ordinary blocks: 39577 KB 99 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 3000 KB 2 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 570 KB
> Total in use: 42577 KB 99%
> Total free: 570 KB 1%
> 2007/11/01 12:47:34| Starting Squid Cache version 2.6.STABLE16 for i686-pc-linux-gnu...
> 2007/11/01 12:47:34| Process ID 12086
> 2007/11/01 12:47:34| With 4096 file descriptors available
> 2007/11/01 12:47:34| Using epoll for the IO loop
> 2007/11/01 12:47:34| DNS Socket created at 0.0.0.0, port 1025, FD 6
> 2007/11/01 12:47:34| Adding nameserver xx.xxx.x.x from /etc/resolv.conf
> 2007/11/01 12:47:34| Adding nameserver xxx.x.xx.xxx from /etc/resolv.conf
> 2007/11/01 12:47:34| Adding domain xxxxx.xxx.au from /etc/resolv.conf
> 2007/11/01 12:47:34| User-Agent logging is disabled.
> 2007/11/01 12:47:34| Referer logging is disabled.
> 2007/11/01 12:47:34| Unlinkd pipe opened on FD 11
> 2007/11/01 12:47:34| Swap maxSize 92160000 KB, estimated 7089230 objects
> 2007/11/01 12:47:34| Target number of buckets: 354461
> 2007/11/01 12:47:34| Using 524288 Store buckets
> 2007/11/01 12:47:34| Max Mem size: 8192 KB
> 2007/11/01 12:47:34| Max Swap size: 92160000 KB
> 2007/11/01 12:47:34| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
> 2007/11/01 12:47:34| Rebuilding storage in /var/spool/squid (CLEAN)
> 2007/11/01 12:47:34| Using Least Load store dir selection
> 2007/11/01 12:47:34| Set Current Directory to /var/cache/squid
> 2007/11/01 12:47:34| Loaded Icons.
> 2007/11/01 12:47:34| Accepting proxy HTTP connections at 0.0.0.0, port 8000, FD 13.
> 2007/11/01 12:47:34| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
> 2007/11/01 12:47:34| HTCP Disabled.
> 2007/11/01 12:47:34| Accepting SNMP messages on port 3401, FD 15.
> 2007/11/01 12:47:34| WCCP Disabled.
> 2007/11/01 12:47:34| Pinger socket opened on FD 16
> 2007/11/01 12:47:34| Ready to serve requests.
> 2007/11/01 12:47:34| Store rebuilding is 3.1% complete
> 2007/11/01 12:47:34| icmpSend: send: (111) Connection refused
> 2007/11/01 12:47:34| Closing Pinger socket on FD 16
> 2007/11/01 12:47:38| Starting Squid Cache version 2.6.STABLE16 for i686-pc-linux-gnu...
> 2007/11/01 12:47:38| Process ID 12090
> 2007/11/01 12:47:38| With 4096 file descriptors available
> 2007/11/01 12:47:38| Using epoll for the IO loop
> 2007/11/01 12:47:38| DNS Socket created at 0.0.0.0, port 1025, FD 6
> 2007/11/01 12:47:38| Adding nameserver xx.xxx.x.x from /etc/resolv.conf
> 2007/11/01 12:47:38| Adding nameserver xxx.x.xxx.xxx from /etc/resolv.conf
> 2007/11/01 12:47:38| Adding domain xxxxx.xxx.au from /etc/resolv.conf
> 2007/11/01 12:47:38| User-Agent logging is disabled.
> 2007/11/01 12:47:38| Referer logging is disabled.
> 2007/11/01 12:47:38| Unlinkd pipe opened on FD 11
> 2007/11/01 12:47:38| Swap maxSize 92160000 KB, estimated 7089230 objects
> 2007/11/01 12:47:38| Target number of buckets: 354461
> 2007/11/01 12:47:38| Using 524288 Store buckets
> 2007/11/01 12:47:38| Max Mem size: 8192 KB
> 2007/11/01 12:47:38| Max Swap size: 92160000 KB
> 2007/11/01 12:47:38| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
> 2007/11/01 12:47:38| Rebuilding storage in /var/spool/squid (DIRTY)
> 2007/11/01 12:47:38| Using Least Load store dir selection
> 2007/11/01 12:47:38| Set Current Directory to /var/cache/squid
> 2007/11/01 12:47:38| Loaded Icons.
> 2007/11/01 12:47:38| Accepting proxy HTTP connections at 0.0.0.0, port 8000, FD 13.
> 2007/11/01 12:47:38| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
> 2007/11/01 12:47:38| HTCP Disabled.
> 2007/11/01 12:47:38| Accepting SNMP messages on port 3401, FD 15.
> 2007/11/01 12:47:38| WCCP Disabled.
> 2007/11/01 12:47:38| Pinger socket opened on FD 16
> 2007/11/01 12:47:38| Ready to serve requests.
> 2007/11/01 12:47:38| Store rebuilding is 3.1% complete
> 2007/11/01 12:47:38| icmpSend: send: (111) Connection refused
> 2007/11/01 12:47:38| Closing Pinger socket on FD 16
> 2007/11/01 12:47:41| Starting Squid Cache version 2.6.STABLE16 for i686-pc-linux-gnu...
> 2007/11/01 12:47:41| Process ID 12094
> 2007/11/01 12:47:41| With 4096 file descriptors available
> 2007/11/01 12:47:41| Using epoll for the IO loop
> 2007/11/01 12:47:41| DNS Socket created at 0.0.0.0, port 1025, FD 6
> 2007/11/01 12:47:41| Adding nameserver xx.xxxx.x.xx from /etc/resolv.conf
> 2007/11/01 12:47:41| Adding nameserver xxx.x.xx.xxx from /etc/resolv.conf
> 2007/11/01 12:47:41| Adding domain xxxxx.xxxxau from /etc/resolv.conf
> 2007/11/01 12:47:41| User-Agent logging is disabled.
> 2007/11/01 12:47:41| Referer logging is disabled.
> 2007/11/01 12:47:41| Unlinkd pipe opened on FD 11
> 2007/11/01 12:47:41| Swap maxSize 92160000 KB, estimated 7089230 objects
> 2007/11/01 12:47:41| Target number of buckets: 354461
> 2007/11/01 12:47:41| Using 524288 Store buckets
> 2007/11/01 12:47:41| Max Mem size: 8192 KB
> 2007/11/01 12:47:41| Max Swap size: 92160000 KB
> 2007/11/01 12:47:41| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
> 2007/11/01 12:47:41| Rebuilding storage in /var/spool/squid (DIRTY)
> 2007/11/01 12:47:41| Using Least Load store dir selection
> 2007/11/01 12:47:41| Set Current Directory to /var/cache/squid
> 2007/11/01 12:47:41| Loaded Icons.
> 2007/11/01 12:47:41| Accepting proxy HTTP connections at 0.0.0.0, port 8000, FD 13.
> 2007/11/01 12:47:41| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
> 2007/11/01 12:47:41| HTCP Disabled.
> 2007/11/01 12:47:41| Accepting SNMP messages on port 3401, FD 15.
> 2007/11/01 12:47:41| WCCP Disabled.
> 2007/11/01 12:47:41| Pinger socket opened on FD 16
> 2007/11/01 12:47:41| Ready to serve requests.
> 2007/11/01 12:47:42| Store rebuilding is 3.1% complete
> 2007/11/01 12:47:42| icmpSend: send: (111) Connection refused
> 2007/11/01 12:47:42| Closing Pinger socket on FD 16
> 2007/11/01 12:47:45| Starting Squid Cache version 2.6.STABLE16 for i686-pc-linux-gnu...
> 2007/11/01 12:47:45| Process ID 12098
>
>
>
>
> _____________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the email administrator.
>
> This footnote also confirms that this email message has been swept by
> MAILsweeper for the presence of computer viruses.
> ______________________________________________________
>
-- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np http://teklimbu.wordpress.comReceived on Thu Nov 01 2007 - 02:07:41 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:01 MST