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: [email protected]
[mailto:[email protected]] On Behalf Of Erwin
Stam|Stone-IT
Sent: Dienstag, 1. Februar 2011 23:00
To: [email protected]
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


_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
  • max open files Erwin Stam|Stone-IT
    • RE: max open files Klapproth, Martin

Reply via email to