Bug 855357
| Summary: | cat /proc/pid/num_maps seems to lock processes while generating it's data which is disruptive | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Simon J Mudd <sjmudd> |
| Component: | kernel | Assignee: | Red Hat Kernel Manager <kernel-mgr> |
| Status: | CLOSED WONTFIX | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.6 | CC: | jeremy, lwoodman, sjmudd |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-02 13:22:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Simon J Mudd
2012-09-07 13:59:02 UTC
I dont think cat'ing the /proc/pid/numa_maps locks the process being inspected for long periods of time. It does and must however take the mm->page_table_lock while its looking at the pages mapped into the vma for each region so it cant change underneith while its walking. I dont have much of a reproducer to see this problem happening, can you come upp with something that stand-alone? Also, RHEL6 looks pretty siomilar to the upstream kernell in this area, are you seeing this problem with the upstream kernel as well? Larry Woodman Hi, My guess is the problem is simply caused by the page walk of the ~170GB process taking longer than the 2-second connect timeout configured on the mysql client. That said, considering that the mysql connects are normally accepted in ms the change is intrusive. I'd like to be able to read the numa maps memory layout in a way which does not have this side affect. Let me see if I can reproduce this on a similarly configured CentOS 6.2 server. And at the same time I'll get a large/~256GB system, write a program that maps most of the memory and time a cat /proc/<pid>/numa_maps of that process and if the time is excessive evaluate where its hanging out. I just dont know what can be done about it since there is locking requirements involved. Larry This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug. Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support). Please can you fix your bug tracking system. I am gettting daily requests to provide information on this bug yet it has been closed for ages. I get something like this every day and after 1000 days this is getting to be a huge pain. === snip === The following is a list of bugs or attachments to bugs in which a user has been waiting more than 7 days for a response from you. Please take action on these requests as quickly as possible. (Note that some of these bugs might already be closed, but a user is still waiting for your response.) We'll remind you again in another 7 days if these requests are still outstanding, or if there are any new requests where users have been waiting more than 7 days for your response. needinfo -------- Bug 855357: cat /proc/pid/num_maps seems to lock processes while generating it's data which is disruptive (1011 days old) https://bugzilla.redhat.com/show_bug.cgi?id=855357 === snip ==== If the bug is closed then please stop bothering me. If I can fix this then please indicate what I need to do to stop receiving these emails. I have manually changed the Flags: pm-rhel: needinfo  entry but this should probably be reset or ignored if the bug is closed. |