Search squid archive

Re: [ext] FATAL: Dying from an exception handling failure; exception: [no active exception]

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

 



* Waldemar Brodkorb <wbx@xxxxxxxxxxx>:
> Hi Squid community,
> 
> we recently updated our proxies to 6.1 on Ubuntu 22.04 (x86_64) and
> now seeing sometime following fatal errors in the cache.log:
> 
> FATAL: Dying from an exception handling failure; exception: [no
> active exception]
> 
> What does it mean and how can I further analyze the problem?

In most cases you'll need to run squid from within an debugger.

I use a script for that:
========================

#!/bin/bash
rm /var/run/squid.pid
echo 512 >  /proc/sys/kernel/msgmni
ulimit -n 262144
ulimit -c unlimited
ulimit -v 85000000

backtrace=`mktemp`
outfile=`mktemp`
gdb -q -x /etc/service/squid5/gdbcommands /usr/sbin/squid 2>&1 >$backtrace
cat $backtrace | \
      /usr/bin/mail -s "`hostname`: Squid wurde beendet" Ralf.Hildebrandt@xxxxxxxxxx
rm $backtrace
rm $outfile


The file /etc/service/squid5/gdbcommands contains the commands for the
GDB debugger:

# snip
set args -NsYC
handle SIGPIPE pass nostop noprint
handle SIGTERM pass nostop noprint
handle SIGUSR1 pass nostop noprint
handle SIGHUP  pass nostop noprint
handle SIGSEGV stop
handle SIGABRT stop
run
set print pretty
backtrace full
generate-core-file
quit
# snip

I hope this helps.

-- 
Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netzwerk

Campus Benjamin Franklin (CBF)
Haus I | 1. OG | Raum 105
Hindenburgdamm 30 | D-12203 Berlin

Tel. +49 30 450 570 155
ralf.hildebrandt@xxxxxxxxxx
https://www.charite.de
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux