Re: [squid-users] squid crashing

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 21 Jan 2010 12:08:15 +1300

On Wed, 20 Jan 2010 08:23:56 -0800 (PST), ant2ne <tcygne_at_altonschools.org>
wrote:
> The squid web cache proxy is crashing. The symptom is that the all
client
> browsers just time out after several minutes. This server was working
fine
> until last week. And I can't think of anything that changed last week.
> Since
> moving into production, this is the first problem I've had with this
> server.
> I'm eager for advice on troubleshooting. Examining the
> /var/log/squid/access.log cache.log and store.log isn't showing me
anything
> obvious.

Still, cache.log records the final moments of Squid with a message before
death.
Usually a line or two of importance then "FATAL: assertion failed "

If thats really got nothing you will be stuck looking for a crash core
dump which has all the details.
http://wiki.squid-cache.org/SquidFaq/BugReporting

Amos

>
> current squid.conf....
> http_port 3128
> # acl QUERY urlpath_regex cgi-bin \? #Removed by Amos, suggested to
speed
> up
> web sites using media
> cache_mem 512 MB # May need to set lower if I run low on RAM
> maximum_object_size_in_memory 4096 KB #Increased by Amos, suggested to
> speed
> up web sites using media
> maximum_object_size 1 GB
> cache_dir aufs /cache 500000 256 256
> redirect_rewrites_host_header off
> cach_effective_user proxy
> cache_replacement_policy lru
> acl all src all
> acl localnet src 10.60.0.0/255.255.0.0
> acl localhost src 127.0.0.1
> acl to_localhost dst 127.0.0.0/8 0.0.0.0/8
> acl Safe_ports port 80 81 443 210 119 70 21 1025-65535
> acl SSL_Ports port 443
> acl internalSite1 dstdomain eaplus.altonschools.org
> acl internalSite2 dstdomain reports.altonschools.org
> acl CONNECT method CONNECT
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_Ports
> http_access allow reports_Printing
> http_access allow internalSite1
> http_access allow internalSite2
> http_access allow localnet
> http_access allow localhost
> http_access deny all
> icp_port 0
> refresh_pattern \.jpg$ 3600 50% 60
> refresh_pattern \.gif$ 3600 50% 60
> refresh_pattern \.css$ 3600 50% 60
> refresh_pattern \.js$ 3600 50% 60
> refresh_pattern \.html$ 300 50% 10
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
> refresh_pattern . 0 20% 4320
> access_log /var/log/squid/access.log squid
> visible_hostname AMSPX01
>
> I've had with this server. I'm eager for advice on troubleshooting.
Received on Wed Jan 20 2010 - 23:08:22 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 27 2010 - 12:00:05 MST