Red Hat Bugzilla – Bug 607480
coroysnc leaks /dev/shm files filling up the shared memory filesystem
Last modified: 2016-04-26 10:33:41 EDT
Description of problem:
service corosync restart in a loop
eventually corosync will fail to restart. Further investigation shows leaking of files in /dev/shm.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service corosync restart in a loop
corosync will eventually segfault during startup and /dev/shm will reach 100% disk usage
corosync should clean up appropriately
Created attachment 426484 [details]
patch to fix shm leak problem and report an error if /dev/shm is full rather then segfault
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
patch in comment #1 is not entirely correct and needs more work.
Created attachment 427523 [details]
flatiron revision 2969 to resolve problem
Ran 'service corosync restart' in a loop, 1000 iterations.
/dev/shm did not grow/fill
corosync restarted without failure
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.