Search squid archive

RE: Squid is crashing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Blot,

Thanks for the prompt response, do you mean I have to modify the startup script of squid and start it with?

"gdb /usr/local/squid/sbin/squid -D"


Further I have run the core analysis for both files it is giving this

[root@hostal-squid cache]# gdb --core=core.3878  
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Missing separate debuginfo for the main executable file
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/2d/ab64a8900291abe7210d01082d20acdd047008
[New Thread 3878]
[New Thread 3880]
[New Thread 3890]
[New Thread 3892]
[New Thread 3894]
[New Thread 3889]
[New Thread 3888]
[New Thread 3891]
[New Thread 3887]
[New Thread 3893]
[New Thread 3886]
[New Thread 3885]
[New Thread 3884]
[New Thread 3883]
[New Thread 3879]
[New Thread 3882]
[New Thread 3881]
Core was generated by `(squid) -D'.
Program terminated with signal 6, Aborted.
#0  0x000000346b232885 in ?? ()

[root@hostal-squid cache]# gdb --core=core.3904  
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Missing separate debuginfo for the main executable file
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/2d/ab64a8900291abe7210d01082d20acdd047008
[New Thread 3904]
[New Thread 3906]
[New Thread 3918]
[New Thread 3917]
[New Thread 3916]
[New Thread 3908]
[New Thread 3909]
[New Thread 3920]
[New Thread 3919]
[New Thread 3910]
[New Thread 3907]
[New Thread 3911]
[New Thread 3913]
[New Thread 3915]
[New Thread 3914]
[New Thread 3912]
[New Thread 3905]
Core was generated by `(squid) -D'.
Program terminated with signal 6, Aborted.
#0  0x000000346b232885 in ?? ()

Regards,
Muhammad Farooq
________________________________________________________________________
 Save the environment. Please don't print this email unless you really need to.


-----Original Message-----
From: Loïc Blot [mailto:loic.blot@xxxxxxxxxxxxxxxxxx] 
Sent: Monday, January 21, 2013 3:36 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Squid is crashing

Hi Farooq,
For debugging purpose launch squid with gdb.

gdb
file <path>/squid
run <args>

and when squid crashes, type "bt full"
--
Best regards, 

Loïc BLOT, Engineering
UNIX Systems, Security and Networks
http://www.unix-experience.fr


Le lundi 21 janvier 2013 à 15:32 +0500, Farooq Bhatti a écrit :
> Hi all,
> 
> My squid is crashing and I am getting the file of following core dump, 
> this is suddenly happening since last 2 weeks. Before it was working fine.
> 
> [root@hostal-squid cache]# ls -lah /usr/local/squid/var/cache/ total 
> 5.5G drwxr-xr-x. 2 squid squid 4.0K Jan 21 14:55 .
> drwxr-xr-x. 5 squid squid 4.0K Aug 29 03:44 ..
> -rw-------  1 squid squid 3.0G Jan 20 03:58 core.3878
> -rw-------  1 squid squid 3.0G Jan 20 04:06 core.3904
> 
> The version of squid with compiled option is as below:
> 
> [root@hostal-squid cache]# squid -v
> Squid Cache: Version LUSCA_HEAD-r14809 configure options:  
> '--enable-delay-pools' '--disable-arp-acl'
> '--enable-linux-netfilter' '--enable-large-cache-files'
> '--enable-cache-digests' '--enable-external-acl-helpers=ip_user'
> '--disable-ident-lookups' '--enable-removal-policies=heap,lru'
> '--disable-snmp' '--disable-ssl' '--enable-storeio=aufs,coss' '--with-aio'
> '--with-maxfd=1048576' '--with-dl' '--with-pthreads' '--with-large-files'
> '--disable-unlinkd' '--disable-htcp'
> 
> I am using this proxy in university setup and also using delay pool 
> for controlling bandwidth. Please help me resolve the issue.
> 
> And how can I check core dump files for further investigation of the issue.
> 
> Looking forward for urgent support in this regards.
> 
> BR
> Farooq
> 




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2639/5546 - Release Date: 01/20/13




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux