store.log is usually not needed; I'd suggest to just disable it. swap.state is the cache_dir index; if you delete it it will be rebuilt at startup. On Sat, Dec 25, 2010 at 11:09 PM, J Webster <webster_jack@xxxxxxxxxxx> wrote: > Maybe I should revuild the cache. > Will that also delete swap.state and store.log automatically? > > -------------------------------------------------- > From: "J Webster" <webster_jack@xxxxxxxxxxx> > Sent: Saturday, December 25, 2010 10:58 PM > To: "Kinkie" <gkinkie@xxxxxxxxx> > Cc: <squid-users@xxxxxxxxxxxxxxx> > Subject: Re: refusing connections > >> How can I view the cache manager? >> I managed to load 2 pages, then tried a third and connection refused. >> 5mins later I loaded another page and then the next one connection >> refused. >> These are all different sites and all accessible when accessed directly >> without the proxy. >> >> Could be a file permissions somewhere or maybe some sort of blocking >> attack on the proxy? >> >> -------------------------------------------------- >> From: "Kinkie" <gkinkie@xxxxxxxxx> >> Sent: Saturday, December 25, 2010 10:55 PM >> To: "J Webster" <webster_jack@xxxxxxxxxxx> >> Cc: <squid-users@xxxxxxxxxxxxxxx> >> Subject: Re: refusing connections >> >>> Anything in the cache manager? Filedescriptor allocation etc.. Can you >>> access the sites without using the proxy? >>> >>> On Sat, Dec 25, 2010 at 10:49 PM, J Webster <webster_jack@xxxxxxxxxxx> >>> wrote: >>>> >>>> This is the last bit from the cache log after restarting - seems ok but >>>> still refusing connections. >>>> On a restart it seems to connect and load a page but then stops halfway >>>> just >>>> like it times out. >>>> >>>> 2010/12/25 21:47:16| DNS Socket created at 0.0.0.0, port 56340, FD 6 >>>> 2010/12/25 21:47:16| Adding nameserver 208.67.222.222 from squid.conf >>>> 2010/12/25 21:47:16| Adding nameserver 208.67.220.220 from squid.conf >>>> 2010/12/25 21:47:16| helperOpenServers: Starting 5 'ncsa_auth' processes >>>> 2010/12/25 21:47:16| User-Agent logging is disabled. >>>> 2010/12/25 21:47:16| Referer logging is disabled. >>>> 2010/12/25 21:47:16| Unlinkd pipe opened on FD 16 >>>> 2010/12/25 21:47:16| Swap maxSize 40960000 + 102400 KB, estimated 0 >>>> objects >>>> 2010/12/25 21:47:16| Target number of buckets: 157932 >>>> 2010/12/25 21:47:16| Using 262144 Store buckets >>>> 2010/12/25 21:47:16| Max Mem Âsize: 102400 KB >>>> 2010/12/25 21:47:16| Max Swap size: 40960000 KB >>>> 2010/12/25 21:47:16| Local cache digest enabled; rebuild/rewrite every >>>> 3600/3600 sec >>>> 2010/12/25 21:47:16| Rebuilding storage in /var/spool/squid (CLEAN) >>>> 2010/12/25 21:47:16| Using Least Load store dir selection >>>> 2010/12/25 21:47:16| Set Current Directory to /var/spool/squid >>>> 2010/12/25 21:47:16| Loaded Icons. >>>> 2010/12/25 21:47:17| Accepting proxy HTTP connections at 0.0.0.0, port >>>> 8080, >>>> FD 20. >>>> 2010/12/25 21:47:17| Accepting proxy HTTP connections at 88.208.237.198, >>>> port 80, FD 21. >>>> 2010/12/25 21:47:17| Accepting ICP messages at 0.0.0.0, port 3130, FD >>>> 22. >>>> 2010/12/25 21:47:17| WCCP Disabled. >>>> 2010/12/25 21:47:17| Ready to serve requests. >>>> 2010/12/25 21:47:17| Store rebuilding is Â0.8% complete >>>> 2010/12/25 21:47:19| Done reading /var/spool/squid swaplog (521968 >>>> entries) >>>> 2010/12/25 21:47:19| Finished rebuilding storage from disk. >>>> 2010/12/25 21:47:19| Â Â521968 Entries scanned >>>> 2010/12/25 21:47:19| Â Â Â Â 0 Invalid entries. >>>> 2010/12/25 21:47:19| Â Â Â Â 0 With invalid flags. >>>> 2010/12/25 21:47:19| Â Â521931 Objects loaded. >>>> 2010/12/25 21:47:19| Â Â Â Â 0 Objects expired. >>>> 2010/12/25 21:47:19| Â Â Â Â 0 Objects cancelled. >>>> 2010/12/25 21:47:19| Â Â Â Â 6 Duplicate URLs purged. >>>> 2010/12/25 21:47:19| Â Â Â Â31 Swapfile clashes avoided. >>>> 2010/12/25 21:47:19| Â Took 2.9 seconds (178595.5 objects/sec). >>>> 2010/12/25 21:47:19| Beginning Validation Procedure >>>> 2010/12/25 21:47:19| Â Â262144 Entries Validated so far. >>>> 2010/12/25 21:47:19| Â Completed Validation Procedure >>>> 2010/12/25 21:47:19| Â Validated 521931 Entries >>>> 2010/12/25 21:47:19| Â store_swap_size = 9112264k >>>> 2010/12/25 21:47:20| storeLateRelease: released 6 objects >>>> >>>> >>>> -------------------------------------------------- >>>> From: "Kinkie" <gkinkie@xxxxxxxxx> >>>> Sent: Saturday, December 25, 2010 10:41 PM >>>> To: "J Webster" <webster_jack@xxxxxxxxxxx> >>>> Cc: <squid-users@xxxxxxxxxxxxxxx> >>>> Subject: Re: refusing connections >>>> >>>>> On Sat, Dec 25, 2010 at 10:38 PM, J Webster <webster_jack@xxxxxxxxxxx> >>>>> wrote: >>>>>> >>>>>> The problem appears to be this: >>>>>> /var/spool/squid/swap.state: (13) Permission denied >>>>>> >>>>>> Why would that happen overnight? >>>>> >>>>> Looks like some filesystem corruption happened for some reason. Is >>>>> there any other messages like this? >>>>> >>>>> >>>>> -- >>>>> Â /kinkie >>>>> >>>> >>> >>> >>> >>> -- >>> Â Â/kinkie >>> > -- Â Â /kinkie