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]

Reply via email to