Repository navigation
memory lock issues causing hangs during connection shutdown - #61021
Merged
yuriw merged 2 commits intoFeb 6, 2025
Merged
Conversation
Member
|
jenkins test make check |
ljflores
reviewed
Dec 12, 2024
increase the timeout before stop command failed. in case of monitor running under valgrind, we sometimes failed beacuse of timeout. Fixes: https://tracker.ceph.com/issues/63501 Signed-off-by: Nitzan Mordechai <[email protected]>
…ctions when shutting down monitors and valgrind is involved, we can, sometimes, to hit race condition and locks that causing the shutdown process to hang for a long time. reset_recv_state - issuing a message without proper locks that causing the shutdown to hang during shutdown connection (drain network) Fixes: https://tracker.ceph.com/issues/63501 Signed-off-by: Nitzan Mordechai <[email protected]>
NitzanMordhai
force-pushed
the
wip-nitzan-leak-some-memory-locks-hungs
branch
from
December 15, 2024 11:09
75d65fb to
b800149
Compare
Contributor
Author
|
@ljflores i fixed the typo and also added missing ceph.py change |
rzarzynski
approved these changes
Dec 16, 2024
rzarzynski
left a comment
Contributor
There was a problem hiding this comment.
The teuthology's part must be merged first!
| // Possibly unnecessary. See the comment in `deactivate_existing`. | ||
| std::lock_guard<std::mutex> l(connection->lock); | ||
| std::lock_guard<std::mutex> wl(connection->write_lock); | ||
| ldout(cct, 5) << "reset_recv_state (warped) reseting crypto and compression handlers" |
Contributor
There was a problem hiding this comment.
Yeah, the dout's prefix generator accesses a bunch of things without any synchronization.
Member
|
Added DNM so teuth PR merges first. |
Contributor
|
jenkins test make check |
Contributor
Author
|
still waiting for ceph/teuthology#2014 |
Contributor
|
The teuthology part is merged! Taking the |
This was referenced Oct 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
teuthology PR that related: ceph/teuthology#2014
This PR addresses two issues:
Fixes: https://tracker.ceph.com/issues/63501
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e