2011-08-05 23:20:34 |
Wolfgang Scherer |
bug |
|
|
added bug |
2011-08-05 23:20:34 |
Wolfgang Scherer |
attachment added |
|
avoid recursive invocation of on_remove_client https://bugs.launchpad.net/bugs/821732/+attachment/2257159/+files/bug-check-lrmd.dif |
|
2011-11-01 08:52:41 |
Ante Karamatić |
cluster-glue (Ubuntu): status |
New |
Confirmed |
|
2011-11-01 08:52:52 |
Ante Karamatić |
cluster-glue (Ubuntu): assignee |
|
Ante Karamatić (ivoks) |
|
2011-11-01 12:13:39 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2011-11-01 12:13:40 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2011-11-07 01:47:35 |
Andres Rodriguez |
cluster-glue (Ubuntu): assignee |
Ante Karamatić (ivoks) |
Andres Rodriguez (andreserl) |
|
2011-11-07 01:47:41 |
Andres Rodriguez |
nominated for series |
|
Ubuntu Oneiric |
|
2011-11-07 01:47:41 |
Andres Rodriguez |
bug task added |
|
cluster-glue (Ubuntu Oneiric) |
|
2011-11-07 01:47:41 |
Andres Rodriguez |
nominated for series |
|
Ubuntu Precise |
|
2011-11-07 01:47:41 |
Andres Rodriguez |
bug task added |
|
cluster-glue (Ubuntu Precise) |
|
2011-11-07 01:47:48 |
Andres Rodriguez |
cluster-glue (Ubuntu Oneiric): assignee |
|
Andres Rodriguez (andreserl) |
|
2011-11-07 01:47:51 |
Andres Rodriguez |
cluster-glue (Ubuntu Precise): importance |
Undecided |
High |
|
2011-11-07 01:47:53 |
Andres Rodriguez |
cluster-glue (Ubuntu Oneiric): importance |
Undecided |
High |
|
2011-11-07 01:47:54 |
Andres Rodriguez |
cluster-glue (Ubuntu Oneiric): status |
New |
Incomplete |
|
2011-11-07 01:47:56 |
Andres Rodriguez |
cluster-glue (Ubuntu Oneiric): status |
Incomplete |
Confirmed |
|
2011-11-07 20:00:12 |
Launchpad Janitor |
cluster-glue (Ubuntu Precise): status |
Confirmed |
Fix Released |
|
2011-11-07 21:14:22 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cluster-glue |
|
2011-11-08 17:34:30 |
Ante Karamatić |
attachment added |
|
glib-context-unlock.patch https://bugs.launchpad.net/ubuntu/+source/cluster-glue/+bug/821732/+attachment/2589592/+files/glib-context-unlock.patch |
|
2011-11-10 18:20:04 |
Andres Rodriguez |
summary |
socket leak in lrmd |
Drop raexecupstart.patch and fix_lrmd_leak.patch to not cause socket leak in lrmd. |
|
2011-11-10 18:20:54 |
Andres Rodriguez |
description |
ii cluster-glue 1.0.7-3ubuntu2 The reusable cluster components for Linux HA
The comamnds `crm ra classes` and `cr ra list` cause a socket leak in the lrmd daemon.
When approx. 1024 sockets are allocated, the lrmd becomes unresponsive and must be killed.
The syslog then shows repeated entries:
Aug 3 10:25:08 server lrmd: [1941]: ERROR: socket_accept_connection: accept(sock=6): Too many open files
While I only use these commands during development, it is still a nuisance.
The leak does not appear for other commands, e.g. `crm resource
list`, but I have not tested exhaustively.
I originally reported this bug to http://developerbugs.linux-foundation.org/show_bug.cgi?id=2626.
There I was informed that the behavior most likely stems from an
unsupported patch (raexecupstart.patch) in the Ubuntu package.
When I remove that patch, the socket leaks does indeed go away.
Although I did not have any "deadlock" situations with the original
code, I replaced it with the attached patch which should prevent any
possible recursive calls of the `on_remove_client' function. |
ii cluster-glue 1.0.7-3ubuntu2 The reusable cluster components for Linux HA
The comamnds `crm ra classes` and `cr ra list` cause a socket leak in the lrmd daemon.
When approx. 1024 sockets are allocated, the lrmd becomes unresponsive and must be killed.
The syslog then shows repeated entries:
Aug 3 10:25:08 server lrmd: [1941]: ERROR: socket_accept_connection: accept(sock=6): Too many open files
While I only use these commands during development, it is still a nuisance.
The leak does not appear for other commands, e.g. `crm resource
list`, but I have not tested exhaustively.
I originally reported this bug to http://developerbugs.linux-foundation.org/show_bug.cgi?id=2626.
There I was informed that the behavior most likely stems from an
unsupported patch (raexecupstart.patch) in the Ubuntu package.
When I remove that patch, the socket leaks does indeed go away.
Although I did not have any "deadlock" situations with the original
code, I replaced it with the attached patch which should prevent any
possible recursive calls of the `on_remove_client' function.
*******************************
After further investigation it was determined that the problem was in glib itself and the patch was not needed in the latest's releases of Ubuntu, but rather, this patches were creating the socket leak. |
|
2011-11-10 18:21:03 |
Andres Rodriguez |
cluster-glue (Ubuntu Precise): status |
Fix Released |
In Progress |
|
2011-11-10 18:25:13 |
Launchpad Janitor |
cluster-glue (Ubuntu Precise): status |
In Progress |
Fix Released |
|
2014-12-03 09:19:41 |
Rolf Leggewie |
cluster-glue (Ubuntu Oneiric): status |
Confirmed |
Won't Fix |
|