Remote TLS queries to the CIB leaks filedescriptors

Bug #620347 reported by Dag Stenstad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pacemaker (Ubuntu)
Expired
High
Unassigned

Bug Description

Binary package hint: pacemaker

I have some scripts that regularly poll cluster status remotely, and have
noticed that they stop working after a while. Investigations seems to point to
cib leaking filedescriptors:

cib 5341 hacluster 1016u IPv4 197563 0t0 TCP
node1:5225->adminserver:38057 (CLOSE_WAIT)
cib 5341 hacluster 1017u IPv4 197580 0t0 TCP
node1:5225->adminserver:38064 (CLOSE_WAIT)
cib 5341 hacluster 1018u IPv4 197840 0t0 TCP
node1:5225->adminserver:51987 (CLOSE_WAIT)

.. times 887, give or take. cib runs out of filedescriptors.

Currently running 1.0.8+hg15494-2ubuntu2 on Ubuntu Lucid.

Reported upstream:

http://developerbugs.linux-foundation.org/show_bug.cgi?id=2469

Please note that this basically breaks cib if you poll it remotely.

Revision history for this message
Ante Karamatić (ivoks) wrote :

Did you try patch from the upstream?

Revision history for this message
Dag Stenstad (dag-stenstad) wrote :

Sorry, I've been on leave for a while, and I can't touch the cluster
right now.

If you have a cluster to test on, all it takes is using any of the
tools from remote to trigger the leak. You can see how the number of
open filedescriptors increase in /proc/<pid>/fd/ for the "cib" process.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Is this bug still valid?

Changed in pacemaker (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Dag Stenstad (dag-stenstad) wrote :

No idea, I haven't touched it in ages.

Let's just close it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pacemaker (Ubuntu) because there has been no activity for 60 days.]

Changed in pacemaker (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.