Changeset 66

Show
Ignore:
Timestamp:
03/01/2005 05:40:51 PM (4 years ago)
Author:
jan
Message:

update keep-alive docs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/performance.txt

    r1 r66  
    3535number of open file-descriptors. 
    3636 
    37 :: 
     37The defaults fo the server is: :: 
    3838 
    3939  server.max-keep-alive-requests = 128 
     
    4141  server.max-read-idle = 60 
    4242  server.max-write-idle = 360 
     43 
     44handling 128 keep-alive requests in a row on a single connection, waiting 30 seconds 
     45before a unused keep-alive connection get dropped by lighttpd. 
     46 
     47If you handle several connections at once under a high load (let's assume 500 connections 
     48in parallel for 24h) you might run into the out-of-fd problem described below. :: 
     49 
     50  server.max-keep-alive-requests = 4 
     51  server.max-keep-alive-idle = 4 
     52 
     53would release the connections earlier and would free file-descriptors without a to large  
     54performance loss. 
     55 
     56Disabling keep-alive completly is the last choice if you are still short in filedescriptors: :: 
     57 
     58  server.max-keep-alive-requests = 0 
    4359 
    4460Event Handlers