Solved

Squid Failure

Posted on 2006-07-07
7
310 Views
Last Modified: 2013-11-22
I've been running squid in Degbug mode

(squid -NCd1)

And it loads up just fine, runs for about 1-2 days and then crashes. When I first installed it, it had run for atleast a month before ever crashing and now it's almost a daily occasion.

It says this right before it fails :

squid: rfc1035.c:417: rfc1035RRUnpack: Assertion `(*off) <= sz' failed.
Aborted
You have new mail in /var/spool/mail/root
 
I dont know if that helps. I've been looking throught the /var/log/squid directory and i cant find anything relevant to the crashes. Any ideas?

(i'm running CentOS Linux server edition)
0
Comment
Question by:fzondlo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
LVL 1

Expert Comment

by:robbak
ID: 17172371
The first thing to check is /var/log/messages. You have got an error from squid: First, check that it is not simply an out-of-swap-space or filesystem-full condition.
In the first case, make sure you have enough swap space, and use top, ps and systat to find out who is eating up all that space.
In the second case, free up some room.
If there is nothing there, then post back, and we'll come up with another suggestion.
0
 
LVL 1

Expert Comment

by:vbotka
ID: 17400045
There is no such a file rfc1035.c in the squid-2.5.STABLE13.tar.bz2 .
What version of squid do you have?

There is a squid specific log directory on FreeBSD.
root.ace#ll /usr/local/squid/logs/
total 926290
-rw-r-----  1 squid  squid  380561959 Aug 27 20:54 access.log
-rw-r-----  1 squid  squid    9681357 Aug 27 01:42 squid.log
-rw-r--r--  1 squid  squid          4 Aug 27 01:41 squid.pid
-rw-r-----  1 squid  squid  557729474 Aug 27 20:54 store.log

How does your squid/logs directory look like?
Can you find any information about the crash in squid.log?
Does your squid/cache have enough disk space?
Try to delete squid/cache and rebuild it with "squid -z"
0
 
LVL 2

Accepted Solution

by:
Redfeather earned 500 total points
ID: 17489903
Hi,

It's a bug triggered by every numeric IP http://lists.debian.org/debian-security/2005/07/msg00191.html

I suggest updating to a newer squid version

0
 
LVL 2

Expert Comment

by:Redfeather
ID: 17662807
i think i found the solution (it is a bug in the squid software) but hey if someone else has got some suggestions ;-)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RHEL7 - Error installing docker compose 2 217
unix scripting question 1 120
Bad Block Relocation for Synchronous GLVM AIX 7.1 2 83
Unix Script: Loop over all days of a month 17 132
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question