Re: [squid-users] The Squid Cache (version 2.5.STABLE9-20050324) died.

From: <Magali.Bernard@dont-contact.us>
Date: Thu, 28 Apr 2005 15:12:02 +0200

Le 26/04/2005, Henrik Nordstrom <hno@squid-cache.org> a dit:

> On Tue, 26 Apr 2005 Magali.Bernard@univ-st-etienne.fr wrote:
>
> > In cache.log I have found twice "FATAL: Received Segment Violation...dying."
> > and then squid seems to be running fine.
>
> Please see Squid FAQ 11.19 Sending in Squid bug reports
> <url:http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.19>
>
> > Unfortunately there was no core file as said in the squid's mails.
> >
> > Extracted from squid.conf:
> >
> > cache_dir aufs /cache1 20000 16 256
> >
> > coredump_dir /cache1
> >
> > Where could I find this core file ?
>
> Unfortunately getting core dumps can be a little tricky.
>
> - You can not start Squid as root. Must start as the cache_effective_user.
>
> - On most OS:es threaded applications can't leave core dumps. This applies
> to Squid when using the aufs cache_dir type.
>
> The FAQ referenced above gives a few alternative methods.
>
> But on the good side there has been a number of "Segmen Violation" errors
> corrected since the date of the snapshot release you are using, so chances
> are good the error will be gone when 2.5.STABLE10 is released. It may be
> worth upgrading to the current Squid-2.5 nightly snapshots to verify.
>
> <url:http://www.squid-cache.org/mail-archive/squid-dev/200504/0084.html>
>
> Regards
> Henrik
>
ok I'll be waiting for squid 2.5.STABLE10

Also I've found other squid crashes in cache.log* (once a week, and squid
automatically restarts, so it's just annoying):

FATAL: xstrdup: tried to dup a NULL pointer!

Squid Cache (Version 2.5.STABLE9-20050324): Terminated abnormally.
CPU Usage: 7246.940 seconds = 2157.440 user + 5089.500 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 436
Memory usage for squid via mallinfo():
        total space in arena: 611653 KB
        Ordinary blocks: 600549 KB 3865 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 4864 KB 10 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 11103 KB
        Total in use: 605413 KB 99%
        Total free: 11103 KB 2%

But one more time it is not relevant without core file.

Many thanks for your explanations.

-- 
______________________________________________________________
A: Yes.						Magali BERNARD
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?
Received on Thu Apr 28 2005 - 10:41:29 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT