varnish linux memory usage

Jay Janssen jay.janssen at gmail.com
Wed Mar 24 03:06:15 CET 2010


Hi all,
  I'm using varnish as a reverse proxy frontend on my VPS webservers in
front of apache.  I have a relatively small cache size of 100M on disk which
seems fine for my needs.  However, I noticed in 'top' that Linux thinks my
main varnish process is using 332M of swap.
  If I increase the thread_pool_min from 5 (where it is now) up to 100, I
see that swap number go up to 1.8G!  Is that just the kernel thinking that
each thread has its own copy of the cache file open?  Is it anything to be
concerned about?

Jay Janssen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100324/aedc5348/attachment-0002.html>


More information about the varnish-misc mailing list