Project

General

Profile

Server max-fdsDetails » History » Revision 6

Revision 5 (Anonymous, 2007-04-04 23:46) → Revision 6/8 (glen, 2009-01-16 13:25)

h2. <pre> 

 #!rst 

 server.max-fds option 

 server.max-fds 

 
 ===================== 

  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. 
 
     Default: ulimit -n 

 h2. 
 
  :: 

   server.max-fds = 2048 


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


 </pre>