RE: [squid-users] Control squid VSZ and RSS from growing

From: Mike Mitchell <Mike.Mitchell@dont-contact.us>
Date: Tue, 21 Oct 2003 17:25:11 -0400

I'm running Red Hat ES 2.1 and my squid process continually grows.
Running "squid -v" returns:
  Squid Cache: Version 2.5.STABLE4-20031015
  configure options: --prefix=/local/proxy/squid --enable-cache-digests
  --enable-underscores --with-pthreads --enable-storeio=aufs,ufs
  --enable-removal-policies=heap --enable-gnuregex

I've tried compiling it with --enable-dlmalloc but that didn't make a difference.
Right now cachemgr.cgi says:
  Memory usage for squid via mallinfo():
        Total space in arena: 464715 KB
  Memory accounted for:
        Total accounted: 269273 KB

Running "ldd -v squid" returns:
  libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002e000)
  libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4005b000)
  libm.so.6 => /lib/i686/libm.so.6 (0x4008c000)
  libresolv.so.2 => /lib/libresolv.so.2 (0x400af000)
  libnsl.so.1 => /lib/libnsl.so.1 (0x400c1000)
  libc.so.6 => /lib/i686/libc.so.6 (0x400d7000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
  Version information:

  squid:
     libm.so.6 (GLIBC_2.0) => /lib/i686/libm.so.6
     libc.so.6 (GLIBC_2.1.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.2) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.1) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.0) => /lib/i686/libc.so.6
     libpthread.so.0 (GLIBC_2.0) => /lib/i686/libpthread.so.0
     libpthread.so.0 (GLIBC_2.1) => /lib/i686/libpthread.so.0
  /lib/libcrypt.so.1:
     libc.so.6 (GLIBC_2.1.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.0) => /lib/i686/libc.so.6
  /lib/i686/libpthread.so.0:
     libc.so.6 (GLIBC_2.1.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.1) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.2) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.1.2) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.2.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.0) => /lib/i686/libc.so.6
  /lib/i686/libm.so.6:
     libc.so.6 (GLIBC_2.1.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.0) => /lib/i686/libc.so.6
  /lib/libresolv.so.2:
     libc.so.6 (GLIBC_2.1.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.1) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.2) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.0) => /lib/i686/libc.so.6
  /lib/libnsl.so.1:
     libc.so.6 (GLIBC_2.1.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.2) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.2.3) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.0) => /lib/i686/libc.so.6
     libc.so.6 (GLIBC_2.1) => /lib/i686/libc.so.6
  /lib/i686/libc.so.6:
     ld-linux.so.2 (GLIBC_2.1.1) => /lib/ld-linux.so.2
     ld-linux.so.2 (GLIBC_2.2.3) => /lib/ld-linux.so.2
     ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
     ld-linux.so.2 (GLIBC_2.2) => /lib/ld-linux.so.2
     ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2

-----Original Message-----
From: Marc Elsen [mailto:marc.elsen@imec.be]
Sent: Tuesday, October 21, 2003 3:03 AM
To: Zand, Nooshin
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Control squid VSZ and RSS from growing

"Zand, Nooshin" wrote:
>
> Hi,
>
> How can I control squid VSZ and RSS from growing.
> Run squid2.5Stable4 on Redhat Linux 9.
> Here are the list of library in use.
> Is any known issue on using lpthread on linux?
>
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001a000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40047000)
> libm.so.6 => /lib/tls/libm.so.6 (0x40055000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x40078000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x4008a000)
> libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Regards,
> nooshin

 I have a fairly steady process size, after a few weeks with squid on Linux (+aufs in use). Make sure 'cache_mem' is set to reasonable value with respect to physical mem (e.g).

M.

-- 
 'Love is truth without any future.
 (M.E. 1997)
Received on Tue Oct 21 2003 - 15:25:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:34 MST