| | 43 | |
| | 44 | handling 128 keep-alive requests in a row on a single connection, waiting 30 seconds |
| | 45 | before a unused keep-alive connection get dropped by lighttpd. |
| | 46 | |
| | 47 | If you handle several connections at once under a high load (let's assume 500 connections |
| | 48 | in 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 | |
| | 53 | would release the connections earlier and would free file-descriptors without a to large |
| | 54 | performance loss. |
| | 55 | |
| | 56 | Disabling keep-alive completly is the last choice if you are still short in filedescriptors: :: |
| | 57 | |
| | 58 | server.max-keep-alive-requests = 0 |