[Webkit-unassigned] [Bug 227428] very high cpu load on page with websocket

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 29 10:55:56 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=227428

--- Comment #2 from Martijn <mxberntsen at gmail.com> ---
hmm, thats unfortunate, I've tried to debug it a little bit but as soon as I add this:

...
} while (rc == -1 && errno == EINTR);
std::cout << std::chrono::system_clock::now().time_since_epoch().count() / 1000 << " errno: " << errno << " rc: " << rc <<  std::endl;
for (auto& stream : m_streamList.values())
...

in CurlStreamScheduler.cpp, the issue goes away (and nothing shows in any terminal unfortunately, though I added AllocConsole() earlier)

It seems like ::select() is returning constantly, that could maybe explain the hot path as shown in the attachment earlier.

I'm not sure how to continue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210629/9c43742b/attachment-0001.htm>


More information about the webkit-unassigned mailing list