FW: [squid-users]FATAL: SEGMENT FAULT RECIEVED...DYING

From: JOHNSON DAVID R <david.johnson@dont-contact.us>
Date: Thu, 19 Feb 2004 15:44:03 -0500

i am unsure as to why it does not restart. The service itself doesn not
stop.The authenticators and parent process atill run, it is that the service
does not seem to be able to serve an requests. Below is the mail i sent
later out to the list with my specifics.

David Johnson | Network Administrator |
Hampton University | Hampton, VA | 23669 |
office 757.728.6528 | fax 757.727.5438
mailto:davidr.johnson@hamptonu.edu

On Thu, 19 Feb 2004, JOHNSON DAVID R wrote:

> i keep receiving a FATAL: SEGMENT FAULT RECIEVED...DYING
>
> I am trying to get squid to create a dump file and it is not working, i
have
> done what was said in the FAQ and tat did not seem sto change anything.

Then try one of the approaches given on how to get information if getting
a core file is not possible.

Also your Squid SHOULD restart automatically when this happens. Is there
any specific reason to why yours does not?

Please give some more details.

Regards
Henrik

-----Original Message-----
From: JOHNSON DAVID R
Sent: Thursday, February 19, 2004 1:07 PM
To: squid-users@squid-cache.org
Subject: FW: [squid-users]FATAL: SEGMENT FAULT RECIEVED...DYING

-----Original Message-----
From: JOHNSON DAVID R
Sent: Thursday, February 19, 2004 12:59 PM
To: 'Muthukumar'
Subject: RE: [squid-users]FATAL: SEGMENT FAULT RECIEVED...DYING

1. what is the squid.conf settings.

[root@PROXY squid]# cat /home/wizard/squid.conf.report
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /var/spool/squid 1024 32 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/run/squid.pid
debug_options ALL,1
auth_param basic program /usr/lib/squid/squid_ldap_auth -p -R -b
dc=infotech,dc=hamptonu,dc=edu -D
cn=_ldapadm,cn=users,dc=infotech,dc=hamptonu,dc=edu -w 123 -f
sAMAccountName=%s 137.198.11.21
auth_param basic children 28
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
connect_timeout 2 minute
read_timeout 2 minute
request_timeout 1 minute
client_lifetime 1 minute
half_closed_clients off
pconn_timeout 20 second
ident_timeout 10 second
shutdown_lifetime 5 second
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl intranet dstdomain .hamptonu.edu
acl CONNECT method CONNECT
acl SquidUsers proxy_auth REQUIRED
acl blackboard dstdomain hamptonu.blackboard.com
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
http_access allow intranet
http_access allow blackboard
http_access allow SquidUsers
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname squid
logfile_rotate 10
coredump_dir /var/spool/squid
client_persistent_connections off
server_persistent_connections off
emulate_httpd_log on

2. cache.log entries

2004/02/18 22:06:05| WARNING: Closing client 137.198.234.31 connection due
to lifetime timeout
2004/02/18 22:06:05|
http://205.188.179.5:20480/monitor?sid=cdbcb30589c6027ec4def501b4676e21
2004/02/18 22:06:08| WARNING: Closing client 137.198.228.39 connection due
to lifetime timeout
2004/02/18 22:06:08|
http://205.188.179.5:20480/monitor?sid=cdbcb30589c6027e87d2f501a26e6c27
2004/02/18 22:06:08| WARNING: Closing client 137.198.238.116 connection due
to lifetime timeout
2004/02/18 22:06:08|
http://pipe.aimexpress.aol.com/_cqr/PersistentServlet.svc?SetDomain=true&cAu
th=vZNsyqq0iThGDBLec8eanw%3D%3D
2004/02/18 22:06:08| WARNING: Closing client 137.198.240.84 connection due
to lifetime timeout
2004/02/18 22:06:08|
http://205.188.179.5:20480/monitor?sid=cdbcb30589c6027e928bf5011a1be632
2004/02/18 22:06:08| WARNING: Closing client 137.198.238.154 connection due
to lifetime timeout
2004/02/18 22:06:08|
http://pipe.aimexpress.aol.com/_cqr/PersistentServlet.svc?SetDomain=true&cAu
th=z%2Fr253oc3K8b3tKIoXhNLg%3D%3D
2004/02/18 22:06:08| WARNING: Closing client 137.198.238.47 connection due
to lifetime timeout
2004/02/18 22:06:08|
http://64.12.163.132/monitor?sid=400ca38489c6027e017c96992eede711
2004/02/18 22:06:08| WARNING: Closing client 137.198.240.61 connection due
to lifetime timeout
2004/02/18 22:06:08|
http://pipe.aimexpress.aol.com/_cqr/PersistentServlet.svc?SetDomain=true&cAu
th=GSOoB5fFI24%2FkXqLiABzeg%3D%3D
2004/02/18 22:06:08| WARNING: Closing client 137.198.240.94 connection due
to lifetime timeout
2004/02/18 22:06:08|
http://pipe.aimexpress.aol.com/_cqr/PersistentServlet.svc?SetDomain=true&cAu
th=p45wvKn%2BEycSxMiE0HsyOw%3D%3D
FATAL: Received Segment Violation...dying.
2004/02/18 22:06:08| ctx: enter level 0:
'http://www.statblaster.com/updatestats/update6.xml'
2004/02/18 22:06:08| storeDirWriteCleanLogs: Starting...
2004/02/18 22:06:08| WARNING: Closing open FD 39
2004/02/18 22:06:08| 65536 entries written so far.
2004/02/18 23:24:31| Starting Squid Cache version 2.5.STABLE4 for
i386-redhat-linux-gnu...
2004/02/18 23:24:31| Process ID 31189
2004/02/18 23:24:31| With 4096 file descriptors available
2004/02/18 23:24:31| Performing DNS Tests...
2004/02/18 23:24:31| Successful DNS name lookup tests...
2004/02/18 23:24:31| DNS Socket created at 0.0.0.0, port 35696, FD 4
2004/02/18 23:24:31| Adding nameserver 137.198.2.245 from /etc/resolv.conf
2004/02/18 23:24:31| Adding nameserver 204.117.214.10 from /etc/resolv.conf
2004/02/18 23:24:31| Adding nameserver 199.2.252.10 from /etc/resolv.conf
2004/02/18 23:24:31| Adding nameserver 216.54.2.10 from /etc/resolv.conf
2004/02/18 23:24:31| helperOpenServers: Starting 28 'squid_ldap_auth'
processes
2004/02/18 23:24:31| Unlinkd pipe opened on FD 37
2004/02/18 23:24:31| Swap maxSize 1048576 KB, estimated 80659 objects
2004/02/18 23:24:31| Target number of buckets: 4032
2004/02/18 23:24:31| Using 8192 Store buckets
2004/02/18 23:24:31| Max Mem size: 8192 KB
2004/02/18 23:24:31| Max Swap size: 1048576 KB
2004/02/18 23:24:31| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2004/02/18 23:24:31| Rebuilding storage in /var/spool/squid (DIRTY)

----------------------------------------------------------------------------
----------
second time it died.
----------------------------------------------------------------------------
----------

2004/02/19 01:08:16| Loaded Icons.
2004/02/19 01:08:16| Accepting HTTP connections at 0.0.0.0, port 3128, FD
38.
2004/02/19 01:08:16| Accepting ICP messages at 0.0.0.0, port 3130, FD 39.
2004/02/19 01:08:16| WCCP Disabled.
2004/02/19 01:08:16| Ready to serve requests.
2004/02/19 01:08:22| Done scanning /var/spool/squid swaplog (0 entries)
2004/02/19 01:08:22| Finished rebuilding storage from disk.
2004/02/19 01:08:22| 0 Entries scanned
2004/02/19 01:08:22| 0 Invalid entries.
2004/02/19 01:08:22| 0 With invalid flags.
2004/02/19 01:08:22| 0 Objects loaded.
2004/02/19 01:08:22| 0 Objects expired.
2004/02/19 01:08:22| 0 Objects cancelled.
2004/02/19 01:08:22| 0 Duplicate URLs purged.
2004/02/19 01:08:22| 0 Swapfile clashes avoided.
2004/02/19 01:08:22| Took 6.3 seconds ( 0.0 objects/sec).
2004/02/19 01:08:22| Beginning Validation Procedure
2004/02/19 01:08:23| Completed Validation Procedure
2004/02/19 01:08:23| Validated 0 Entries
2004/02/19 01:08:23| store_swap_size = 52k
2004/02/19 01:08:23| storeLateRelease: released 0 objects
2004/02/19 01:08:27| sslReadServer: FD 111: read failure: (104) Connection
reset by peer
FATAL: Received Segment Violation...dying.
2004/02/19 01:08:28| storeDirWriteCleanLogs: Starting...
2004/02/19 01:08:28| WARNING: Closing open FD 38
2004/02/19 01:08:28| Finished. Wrote 53 entries.
2004/02/19 01:08:28| Took 0.0 seconds (8023.0 entries/sec).
2004/02/19 01:13:18| Starting Squid Cache version 2.5.STABLE4 for
i386-redhat-linux-gnu...
2004/02/19 01:13:18| Process ID 983
2004/02/19 01:13:18| With 4096 file descriptors available
2004/02/19 01:13:18| Performing DNS Tests...
2004/02/19 01:13:18| Successful DNS name lookup tests...
2004/02/19 01:13:18| DNS Socket created at 0.0.0.0, port 32772, FD 4
2004/02/19 01:13:18| Adding nameserver 137.198.2.245 from /etc/resolv.conf
2004/02/19 01:13:18| Adding nameserver 204.117.214.10 from /etc/resolv.conf
2004/02/19 01:13:18| Adding nameserver 199.2.252.10 from /etc/resolv.conf
2004/02/19 01:13:18| Adding nameserver 216.54.2.10 from /etc/resolv.conf
2004/02/19 01:13:18| helperOpenServers: Starting 28 'squid_ldap_auth'
processes
2004/02/19 01:13:18| Unlinkd pipe opened on FD 37
2004/02/19 01:13:18| Swap maxSize 1048576 KB, estimated 80659 objects
2004/02/19 01:13:18| Target number of buckets: 4032
2004/02/19 01:13:18| Using 8192 Store buckets
2004/02/19 01:13:18| Max Mem size: 8192 KB
2004/02/19 01:13:18| Max Swap size: 1048576 KB
2004/02/19 01:13:18| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2004/02/19 01:13:18| Rebuilding storage in /var/spool/squid (CLEAN)
 

3. squid configuration settings(squid -v)

Squid Cache: Version 2.5.STABLE4
configure options: --host=i386-redhat-linux --build=i386-redhat-linux
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --exec_prefix=/usr
--bindir=/usr/sbin --libexecdir=/usr/lib/squid --localstatedir=/var
--sysconfdir=/etc/squid --disable-hostname-check --enable-underscores
--enable-cache_digests --enable-poll --enable-removal-policies=heap,lru
--enable-storeio=aufs,coss,diskd,ufs --enable-ssl
--with-openssl=/usr/kerberos --enable-delay-pools --enable-linux-netfilter
--with-pthreads --enable-basic-auth-helpers=LDAP,NCSA,PAM,SMB,SASL,MSNT
--enable-ntlm-auth-helpers=SMB,winbind
--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,win
bind_group

4. File descriptor size. (ulimit -HSn)

core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 4096 <<<<
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited

David Johnson | Network Administrator |
Hampton University | Hampton, VA | 23669 |
office 757.728.6528 | fax 757.727.5438
mailto:davidr.johnson@hamptonu.edu

-----Original Message-----
From: Muthukumar [mailto:kmuthu_gct@hotmail.com]
Sent: Thursday, February 19, 2004 11:31 AM
To: JOHNSON DAVID R
Subject: Re: [squid-users]FATAL: SEGMENT FAULT RECIEVED...DYING

> i keep receiving a FATAL: SEGMENT FAULT RECIEVED...DYING

1. what is the squid.conf settings.
2. cache.log entries
3. squid configuration settings(squid -v)
4. File descriptor size. (ulimit -HSn)

> I am running squid2.5.stable.4 sept 2003, on RH9. I
> am willing to listen to anyone out there who can and is willing to help.

Regards,
Muthukumar.
India-0-91-94431-01756
Received on Thu Feb 19 2004 - 13:38:57 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST