Hi Igor, On Thu, Jul 02, 2020 at 03:54:37PM +0800, Igor Pav wrote: > Hi Willy, > > By using dev11, the CPU consumption drops a lot, but when connections > reach ~1000, the CPU would still go high, remove the 0rtt-rejected > from conf, the CPU becomes normal...
Thank your for the report, that is useful. At the moment I have no idea how 0-rtt is related to this, nor do I know the exact sequence that is executed in this case. But given that it's one of the retry-on settings, I'm suspecting that something prevents from getting away from the connect loop. I know that Christopher has already rechecked the retry code recently and didn't find a case where a retry could be performed without being decremented. So there's definitely something odd there. Note that we've addresses a number of remaining issues around CPU usage and connection reuse since dev11 but I don't see how they could be affected by your case above, and be careful if you test latest HEAD as apparently we broke something that I still can't reproduce :-/ Cheers, Willy

