Package: nginx
Severity: minor

For Debian systems, the default file descriptor limit is 1024. The
default configuration has worker_connections 1024. These worker
connections use up a file descriptor for each connection.

Because file descriptors are also used for stdin, stderr, stdout, and
log files this number causes issues when the connections get to be too

For this reason, the worker_connections limit should be moved to 768 to
allow ample room for connections.

This will eliminate errors such as:
  accept() failed (24: Too many open files)

Instead, when the connections limit is reached, there will be the error:
  [alert] 17831#0: 2 worker_connections are not enough

This will leave the administrator to finish configuring the system to
handle higher loads based on a more descriptive error message. The limit
will also be coming from Nginx limits rather than system limits.

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nginx depends on:
ii  libc6            2.12.1-0ubuntu9         Embedded GNU C Library: Shared lib
ii  libgeoip1        1.4.7~beta6+dfsg-1      A non-DNS IP-to-country resolver l
ii  libpcre3         8.02-1.1                Perl 5 Compatible Regular Expressi
ii  libssl0.9.8      0.9.8o-3ubuntu1         SSL shared libraries
ii  lsb-base         4.0-0ubuntu8            Linux Standard Base 4.0 init scrip
ii  zlib1g           1: compression library - runtime

nginx recommends no packages.

Versions of packages nginx suggests:
ii  ufw                           0.30.0-2   program for managing a Netfilter f

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Reply via email to