Re: [squid-users] refusing connections

From: J Webster <webster_jack_at_hotmail.com>
Date: Sat, 25 Dec 2010 22:58:12 +0100

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_at_gmail.com>
Sent: Saturday, December 25, 2010 10:55 PM
To: "J Webster" <webster_jack_at_hotmail.com>
Cc: <squid-users_at_squid-cache.org>
Subject: Re: [squid-users] 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_at_hotmail.com>
> 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_at_gmail.com>
>> Sent: Saturday, December 25, 2010 10:41 PM
>> To: "J Webster" <webster_jack_at_hotmail.com>
>> Cc: <squid-users_at_squid-cache.org>
>> Subject: Re: [squid-users] refusing connections
>>
>>> On Sat, Dec 25, 2010 at 10:38 PM, J Webster <webster_jack_at_hotmail.com>
>>> 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
>
Received on Sat Dec 25 2010 - 21:58:30 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 26 2010 - 12:00:04 MST