Re: memory usage

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 25 Aug 97 22:54:28 -0700

raccoon@newt.dlc.fi writes:

> Well, I have something like that one...
> Having two PPRO200 machines with 8 GB disk and 192 MB memory,
> both motherboards are from Tyan.
>
> One of the squids (1.1.15) dies about once a day, usually
> at the peek hours, with xmalloc: Unable to
> allocate 4096 bytes (not much :) ).
>
> The squid processes use about 130 Megs of memory (by top).
> The load is balanced, and the other (which won't die)
> has some other programs (like sendmail) running too.
>
> Both are FreeBSD 2.2.2, and squid compiled with DL-Malloc.
> Both machines using the same binaries for kernel, squid and
> all other squid executables.
>
> According to vmstat there's really no swapping at all,
> page faults is only like 3 or 4 when squid dies.
> I'm a bit lost in here .. :)

You probably have to recompile your kernel. FreeBSD imposes
a limit on the amount of memory a single process can use.
Look for something like

        options "MAXMEM=131072"

in your kernel config file.

Duane W.
Received on Mon Aug 25 1997 - 22:59:11 MDT

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