commit | 1db37710dc9c5ca1b57abfe3dd022a98dec917ad | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jun 03 17:16:49 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jun 03 17:16:49 2007 +0200 |
tree | 58bf4b05dfac7f340e2ed0158f5c00092e609486 | |
parent | fb8983f21b69f3341fc5a4076ab3c98887d16463 [diff] |
[MEDIUM] limit the number of events returned by *poll* By default, epoll/kqueue used to return as many events as possible. This could sometimes cause huge latencies (latencies of up to 400 ms have been observed with many thousands of fds at once). Limiting the number of events returned also reduces the latency by avoiding too many blind processing. The value is set to 200 by default and can be changed in the global section using the tune.maxpollevents parameter.