Bug 607480 - coroysnc leaks /dev/shm files filling up the shared memory filesystem
coroysnc leaks /dev/shm files filling up the shared memory filesystem
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: corosync (Show other bugs)
6.0
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Steven Dake
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-24 04:25 EDT by Steven Dake
Modified: 2016-04-26 10:33 EDT (History)
3 users (show)

See Also:
Fixed In Version: corosync-1.2.3-6.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-10 17:07:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to fix shm leak problem and report an error if /dev/shm is full rather then segfault (1.36 KB, patch)
2010-06-24 04:27 EDT, Steven Dake
no flags Details | Diff
flatiron revision 2969 to resolve problem (3.08 KB, patch)
2010-06-28 18:57 EDT, Steven Dake
no flags Details | Diff

  None (edit)
Description Steven Dake 2010-06-24 04:25:51 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):
corosync-1.2.4-4.el6

How reproducible:
100%

Steps to Reproduce:
1. service corosync restart in a loop
2.
3.
  
Actual results:
corosync will eventually segfault during startup and /dev/shm will reach 100% disk usage

Expected results:
corosync should clean up appropriately

Additional info:
Comment 1 Steven Dake 2010-06-24 04:27:33 EDT
Created attachment 426484 [details]
patch to fix shm leak problem and report an error if /dev/shm is full rather then segfault
Comment 2 RHEL Product and Program Management 2010-06-24 04:32:52 EDT
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
inclusion.
Comment 3 Steven Dake 2010-06-27 16:55:34 EDT
patch in comment #1 is not entirely correct and needs more work.
Comment 4 Steven Dake 2010-06-28 18:57:06 EDT
Created attachment 427523 [details]
flatiron revision 2969 to resolve problem
Comment 6 Dean Jansa 2010-08-27 11:48:22 EDT
Ran 'service corosync restart' in a loop, 1000 iterations.
/dev/shm did not grow/fill
corosync restarted without failure
Comment 7 releng-rhel@redhat.com 2010-11-10 17:07:17 EST
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.

Note You need to log in before you can comment on or make changes to this bug.