[squid-users] Investigating squid crash.

Amos Jeffries squid3 at treenet.co.nz
Sun Jul 26 20:53:29 UTC 2015


On 26/07/2015 5:09 p.m., The_Spider wrote:
> To anyone willing to assist.
> 
> My Squid continues to crash for some un-known reason only giving
> 'FATAL: Received Segment Violation...dying.' I have attached a copy of
> the cache log with the crash occurring and output debugging.
> 
> Aparently I'm not the first to experience this, but I have yet to find
> any documentation on how to resolve this issue. This is not unique to
> one single machine, it happens on a few different boxes with similar
> configuration, I have not been able to identify what configuration
> parameter has been causing the issue.
> 

Please follow the steps for obtaining a traceback as outlined at
<http://wiki.squid-cache.org/SquidFaq/BugReporting#crashes_and_core_dumps>

For SEGFAULT errors that is the only easy way to identify what the
problem is. Trial-and-error can take a very, very long time.


As for the config. You certainly have a thing for regex. Most if not all
of the dstdom_regex patterns would be far better written as dstdomain ACLs.

Although note that neither dstdomain nor dstdom_regex work properly in
the ssl_bump directive lines. Use "ssl::server_name" ACL for those checks.



> I will attempt to provide any information possible to help resolve
> this issue. Hopefully this is a good start.
> 
> cache.log = http://filebin.ca/29vS8jkEfskt/cache.log
> 
> squid -v:
> Squid Cache: Version 3.5.6-20150725-r13869
> Service Name: squid
> configure options:  '--prefix=/usr' '--exec-prefix=/usr'
> '--includedir=/usr/include' '--datadir=/usr/share'
> '--libdir=/usr/lib64' '--libexecdir=/usr/lib64/squid'
> '--localstatedir=/var' '--sysconfdir=/etc/squid'
> '--sharedstatedir=/var/lib' '--with-logdir=/var/log/squid'
> '--with-pidfile=/var/run/squid.pid' '--with-default-user=squid'
> '--enable-silent-rules' '--enable-dependency-tracking'
> '--with-openssl' '--enable-icmp' '--enable-delay-pools'
> '--enable-useragent-log'

--enable-useragent-log no longer exists.

> '--enable-esi'
> '--enable-follow-x-forwarded-for' '--enable-auth'
> --enable-ltdl-convenience
> 
> cat /etc/redhat-release
> CentOS Linux release 7.1.1503 (Core)
> 

Amos



More information about the squid-users mailing list