Bug #16695
closedradosgw Consumes too much CPU time to synchronize metadata or data between multisite
0%
Description
In the 10.2.0 version, the multisite function is added. I configure two sites int a realm : one is the master zone in the master zonegorup, the other is the master zone in the second zonegroup. Then I start one radosgw for each zone. After I create a user in the master zone, I find the radosgw consume 100% cpu time with the command top.
Updated by bajie white almost 8 years ago
I find the problem is the function do_curl_wait. The function call curl_multi_wait in do_curl_wait will be waken because the pipe wait_fd is always readable. I find the wait_fd will never be changed in curl_multi_wait. So the pipe wait_fd will never be read.
If the wait_fd is set O_NONBLOCK when created in RGWHTTPManager::set_threaded and read in do_curl_wait no matter what wait_fd.revents is, the bug can be fixed.
Updated by Casey Bodley over 7 years ago
- Related to Bug #15915: rgw command is consuming all the cpu time added
Updated by Casey Bodley over 7 years ago
- Status changed from New to Fix Under Review
- Assignee set to Casey Bodley
Updated by Casey Bodley over 7 years ago
Updated by Casey Bodley over 7 years ago
- Related to Bug #17052: unittest_http_manager times out added
Updated by Casey Bodley over 7 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 7 years ago
- Copied to Backport #17343: jewel: radosgw Consumes too much CPU time to synchronize metadata or data between multisite added
Updated by Nathan Cutler about 7 years ago
- Status changed from Pending Backport to Resolved