Re: [squid-users] FATAL: xmalloc: Unable to allocate 65535 bytes!

From: Mark Elsen <[email protected]>
Date: Mon, 13 Mar 2006 14:53:46 +0100

>
> Hello squid-users,
>
> My squid box has 4GB memory, and I can see (with MRTG) that no more than
> 1,6 GB are occupied.
> Today I thought it would be nice to give some more place to cache_mem,
> so I have increased it from 100 to 400MB.
> A few hours later squid had died (and restarted, thanks squid) twice with
> the message "FATAL: xmalloc: Unable to allocate 65535 bytes!"
>
> According to the FAQ it could be a system size limit, but I can't see it:
> $ ulimit -aH
> core file size (blocks, -c) unlimited
> data seg size (kbytes, -d) unlimited
> file size (blocks, -f) unlimited
> max locked memory (kbytes, -l) unlimited
> max memory size (kbytes, -m) unlimited
> open files (-n) 1024
> pipe size (512 bytes, -p) 8
> stack size (kbytes, -s) unlimited
> cpu time (seconds, -t) unlimited
> max user processes (-u) 7168
> virtual memory (kbytes, -v) unlimited
>
>
> > ~squid/sbin/squid -v
> Squid Cache: Version 2.5.STABLE12-20060109
> configure options: --prefix=/usr/local/squid-2.5.STABLE12-20060109
> --enable-dlmalloc --enable-storeio=diskd,ufs,aufs,null --enable-snmp
> --with-large-files --disable-hostname-checks --enable-underscores
> --enable-basic-auth-helpers=LDAP --with-maxfd=8192
>
> OS: Linux Debian Woody
>
>

             http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7

  M.
Received on Mon Mar 13 2006 - 06:53:47 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST