Re: How to get nginx to see higher limit for file descriptors?

You have 2 solutions:

  1. execute unlimit -n 65536 in the init.d script, before starting nginx
  2. if you have PAM installed, check /etc/security/limits.conf
    (this is the location on Linux Debian):
    www-data hard nofile 65536

Thanks. It turns out that #1 did the trick. Odd this is that as I
initially posted I had tried that and it wasn’t working before. At any
rate, it is now. Thanks!

  ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ