max open files
Klapproth, Martin
Klapproth.M at sportresult.com
Thu Feb 3 11:30:05 CET 2011
Hi,
Yes thats right. To increase the maximum number of file descriptors
add/edit the line in /etc/security/limits.conf:
* - nofile 8192
I've set the amount to 8192 (8*1024). I'm monitoring the file
descriptors of my varnish. Max was 2500.
Regards,
Martin
________________________________________
From: varnish-misc-bounces at varnish-cache.org
[mailto:varnish-misc-bounces at varnish-cache.org] On Behalf Of Erwin
Stam|Stone-IT
Sent: Dienstag, 1. Februar 2011 23:00
To: varnish-misc at varnish-cache.org
Subject: max open files
Hi All,
just witnessed a website crumbling due to Varnish hitting the
max_open_files limit (ulimit -n). After that I had the following
hypothesis I want to check with you.
When Varnish hits the _max_open_file limit it starts to put servers in
unhealthy state due to it not being able to open network sockets since
network sockets are also open files.
Is that a correct assumption?
regards,
Erwin
More information about the varnish-misc
mailing list