Curious. Well there's not much we can say on the matter:

1) no dmesg
2) no squid conf

I personally recommend testing your squid server's memory for problems
and providing at least the whole dmesg and relevant parts of your
squid.conf (eg cache_mem).

BTW: Shouldn't this be in the ports list?

Cheers!

On 15/07/07, Patrick Hemmen <[EMAIL PROTECTED]> wrote:
Hi all,

I use the squid web-proxy on a OpenBSD 4.1 i386 machine with 1024 MB of
RAM.
Squid can only allocate 512 MB of RAM. If squid tries to allocate more
than that, the process kills himself and starts automatically again with
the following message in /var/log/messages.

        FATAL: xcalloc: Unable to allocate 4096 blocks of 1 bytes!

Squid runs under the user _squid. This user is in the login class
"daemon" in which the data size is set to infinity.
I also checked the file /usr/src/sys/arch/i386/include/vmparam.h where
I found the line.

        #define MAXDSIZ       (1024*1024*1024)     /* max data size */

Can anybody give me a hint where I can set the maximum RAM usage of one
process?

Thanks in advance
Patrick

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which 
had a name of smime.p7s]




--
I know too much and yet not enough

Reply via email to