Re: Squid crashing problem squid-1.1.3 BSDI 2.1

From: Martin Boening <boening.pad@dont-contact.us>
Date: Wed, 12 Feb 97 15:35:33 MET

Hi,

>
> Squid seems to crash 3-4 times a day. Here's the message I get just before
> it happens:
>
> 97/02/11 20:08:11| ERR_CONNECT_FAIL: http://204.94.67.10/wc/C10848139.cgi
> 97/02/11 20:08:42| ERR_CLIENT_ABORT: http://207.120.43.73/cgi-bin/counter.exe?-s
> pdr+http://thebabes.com/index.html
> 97/02/11 20:16:18| ERR_CLIENT_ABORT: http://www.yahoo.ca/Business_and_Economy/Co
> mpanies/Computers/Software/Games/Shareware/
> 97/02/11 20:18:38| ERR_DNS_FAIL: http://www.adressa.com/
> FATAL: xmalloc: Unable to allocate 4096 bytes!
>
> Squid Cache (Version 1.1.3): Terminated abnormally.
> CPU Usage: user 59 sys 52
> Memory Usage: rss 0 KB
> Page faults with physical i/o: 0
> 97/02/11 20:18:54| storeWriteCleanLog: Starting...
>
>
> If someone could tell me how to resolve this xmalloc problem, it would be
> great its really driving me nuts.
>
> thanks
>
> Roch
>

since you don't mention what system you are running I may be wrong but I
used to have this problem on our SNI RM400 proxy server with the OS SINIX
5.42 (which is, more or less, a SVR4 system). It turned out that the login
defaults for users were ~32 MB virtual memory per process. As soon as our
squid cache grew to about that size, it would crash with the error message
you describe. After setting this to unlimited in RunCache, the problem went
away.

As a matter of fact I've tweaked 4 user oriented limits in RunCache:
  ulimit -c 0 # 0-size core (important as our squid cache grows to up to
                                 # 200 MB)
  ulimit -d unlimited
  ulimit -s unlimited
  ulimit -v unlimited

I hope this helps in your case as well.

Best Regards
Martin Boening
Internet Administration Paderborn

--
Martin Boening, MB3792            | boening.pad@sni.de
SBS IP 17, Heinz-Nixdorf-Ring 1, D-33106 Paderborn, Germany
Phone/FAX: +49 5251 8  15641/31070
Received on Wed Feb 12 1997 - 06:48:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:25 MST