[squid-users] Possible Bug - Floating point exception, exits squid on signal 8

From: Karl Sumpter <phaz3y@dont-contact.us>
Date: Fri, 20 Dec 2002 05:27:18 -0800 (PST)

Hi all,

I am encountering a rather awful problem with
squid-2.5STABLE1.

I discovered it's exiting and restarting (quite
annoying during a store rebuild) on a very regular
basis. After reading other posts, i started to enable
debugging and sure enough it died with a "Floating
Point Exception". The fix for this was to edit
src/neighbors.c line 275 and change "60" to "60.0".
Alas this fix was for a 2.4 version of Squid and 2.5
already has this change (on about line 279 iirc).

After looking closer at the code, its in the section
that rehashes the ROUND_ROBIN database every 5 minutes
- and sure enough, when i watched a little closer it
does indeed quit and restart every 5 minutes to the
second.

I also do have three ROUND_ROBIN neighbors configured
- so this should pinpoint the problem for those of you
who are more able to code things than i am.

Sections of Logfiles below:

##Cache.log ##

2002/12/20 19:42:24| Store rebuilding is 11.0%
complete
2002/12/20 19:42:33| Starting Squid Cache version
2.5.STABLE1-20021108 for i386-unknown-freebsd4.6.2...
2002/12/20 19:42:33| Process ID 66327

## /var/log/messages ##

Dec 20 19:42:30 cache /kernel: pid 66297 (squid), uid
65534: exited on signal 8
Dec 20 19:42:30 cache squid[61813]: Squid Parent:
child process 66297 exited due to signal 8
Dec 20 19:42:33 cache squid[61813]: Squid Parent:
child process 66327 started

For your info, my system.

Dual Pentium Xeon 2.2ghz (Hyperthreading enabled)
2 GB RAM
82 GB SCSI UW

I appreciate all who read this, and even more so
whoever posts a solution.

Thanks

Karl

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Received on Fri Dec 20 2002 - 06:27:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:10 MST