Re: Squid on FreeBSD: xmalloc causes restarting

From: Alexander Litvin <archer@dont-contact.us>
Date: Fri, 31 Oct 1997 12:17:20 +0200

On Fri, Oct 31, 1997 at 10:42:51AM +0100, Josef Pojsl wrote:
>
> Hello squid-users,
>
> we have been using Squid for a couple of weeks and are very
> satisfied. However, there is one problem.
>
> We have Squid 1.1.14 on FreeBSD 3.0-970807-SNAP.
> >From time to time, we can see Squid restarting itself,
> generating the following message:
>
> FATAL: xmalloc: Unable to allocate 4096 bytes!

It probably means that your squid is exceeding restriction on data
segment size.

I got rid of this problem by starting squid from bash script which
calls "ulimit -dH unlimited; ulimit -d unlimited"

> Squid Cache (Version 1.1.14): Terminated abnormally.
> CPU Usage: user 39 sys 80
> Maximum Resident Size: 32300 KB
> Page faults with physical i/o: 12
> 97/10/31 09:00:01| Starting Squid Cache version 1.1.14 for i386-unknown-freebsd3.0...
>
>
> Can anyone provide any kind of advice or comment?
> TIA,
>
> Josef
>
> --
> Josef Pojsl
> SkyNet, a.s. Czech Republic sec@skynet.cz

--
Alexander Litvin
Duty Postmaster, Lucky Net Ltd.
Received on Fri Oct 31 1997 - 02:20:42 MST

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