Files
unbound/util
liheng562653799andGitHub edbf9c21ee Update mini_event.c
When in heavy load, unbound opens many outside_network sockets for out going queries to delegation servers, which may result in a big fd(maxfd) value(for thread A 65500, for thread B 65501, for thread C ...). 
There are situations when thread A has a max fd num 65500 where maxfd is of course 65500, thread B has max fd num 20 for now but maxfd is still 65501. Though linux kernel checks whether maxfd+1  passed by select syscall  is really the process' maxfd+1. Linux kernel can not tell maxfd+1 passed by thread B select syscall is much bigger(65501+1 or 65500+1  after trimed by kerne) than it should be (20+1).
In this situation, when kernel do_select() for thread B, much work is wasted.
2021-08-06 12:00:56 +08:00
..
2016-02-09 13:51:35 +00:00
2016-02-09 13:51:35 +00:00
2020-02-05 14:20:27 +01:00
2021-08-02 15:26:20 +02:00
2020-02-10 15:54:41 +01:00
2021-08-06 12:00:56 +08:00
2021-01-08 09:53:52 +01:00
2017-01-19 14:11:59 +00:00
2017-01-20 16:09:37 +00:00
2017-04-13 13:03:38 +00:00
2017-09-15 14:29:28 +00:00
2017-01-19 14:11:59 +00:00