Tek Bahadur Limbu wrote:
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?
If its disk full, make sure you are doing squid -k rotate regularly to
perform all the cache and swap.state garbage collection.
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
<snip>
Amos