Re: memory usage

From: Trevor Clout <tc@dont-contact.us>
Date: Tue, 26 Aug 1997 17:25:51 +0800

In your GENERIC file you need to add the lines

options "MAXDSIZ=(256*1024*1024)"
options "DFLDSIZ=(256*1024*1024)"

This would give you a maximum of 256M per process. Whoo Hoo !!

Regards

Trevor

----------
> From: Duane Wessels <wessels@nlanr.net>
> To: A. Rytsola <raccoon@newt.dlc.fi>
> Cc: squid-users@nlanr.net
> Subject: Re: memory usage
> Date: Tuesday, 26 August 1997 13:54
>
> 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 Tue Aug 26 1997 - 02:29:27 MDT

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