Does Squid push the data-segment size limit?

From: Michael Pelletier <mikep@dont-contact.us>
Date: Wed, 4 Feb 1998 14:28:15 -0500 (EST)

I'm trying to diagnose some problems I'm having with squid dying due to
memory allocation errors, and my BSD/OS 3.1 system allows you to set a
limit on "datasize", defined in the manpage as:

     datasize
             The maximum size of the data segment for a process; this defines
             how far a program may extend its break with the sbrk(2) system
             call.

I'm not 100% sure what this means, as I've not tinkered with sbrk()
before. Does Squid need this value to be set quite large for a 3GB cache
in order to allow enough space for the hot object cache and the database
indices? Or am I running out of memory due to contention with other
processes?

Thanks for any suggestions!

        -Mike Pelletier.
Received on Wed Feb 04 1998 - 11:32:13 MST

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