Project

General

Profile

Actions

Server max-fdsDetails » History » Revision 5

« Previous | Revision 5/8 (diff) | Next »
Anonymous, 2007-04-04 23:46



#!rst

server.max-fds option
=====================

 As lighttpd is a single-threaded server, its main resource limit is the number of file descriptors, which is set to 1024 by default (on most systems).

 If you are running a high-traffic site you might want to increase this limit by setting server.max-fds.

 Changing this setting requires root permissions on startup. 

 By default lighttpd would not change the operation system default. But setting it to 2048 is a better default for busy servers.

 ::

  server.max-fds = 2048

See Also
========
* server.max-connectionsDetails <http://trac.lighttpd.net/trac/wiki/server.max-connectionsDetails>

Updated by Anonymous almost 17 years ago · 5 revisions