Project

General

Profile

Bug #11535

Client admin socket leaks file descriptors

Added by Jon Bernard over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
common
Target version:
-
Start date:
05/05/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
firefly, hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

When using admin sockets, long-running clients that do not reuse a single client connection will see accumulating file descriptors as a result of not closing the listening socket. In this case, eventually the system will reach file-max and subsequent connections will fail.


Related issues

Copied to Ceph - Backport #11706: Client admin socket leaks file descriptors Resolved 05/05/2015
Copied to Ceph - Backport #11707: Client admin socket leaks file descriptors Resolved 05/05/2015

Associated revisions

Revision 88fabb1e (diff)
Added by Jon Bernard over 3 years ago

common/admin_socket: close socket descriptor in destructor

Long-running processes that do not reuse a single client connection will
see accumulating file descriptors as a result of not closing the
listening socket. In this case, eventually the system will reach
file-max and subsequent connections will fail.

Fixes: #11535

Signed-off-by: Jon Bernard <>

Revision b0611408 (diff)
Added by Jon Bernard over 3 years ago

common/admin_socket: close socket descriptor in destructor

Long-running processes that do not reuse a single client connection will
see accumulating file descriptors as a result of not closing the
listening socket. In this case, eventually the system will reach
file-max and subsequent connections will fail.

Fixes: #11535

Signed-off-by: Jon Bernard <>
(cherry picked from commit 88fabb1ee6cd3c7d211ca46919055195e32245db)

Revision 0b6d4427 (diff)
Added by Jon Bernard over 3 years ago

common/admin_socket: close socket descriptor in destructor

Long-running processes that do not reuse a single client connection will
see accumulating file descriptors as a result of not closing the
listening socket. In this case, eventually the system will reach
file-max and subsequent connections will fail.

Fixes: #11535

Signed-off-by: Jon Bernard <>
(cherry picked from commit 88fabb1ee6cd3c7d211ca46919055195e32245db)

History

#1 Updated by Kefu Chai over 3 years ago

  • Status changed from New to Need Review
  • Regression set to No

#2 Updated by Josh Durgin over 3 years ago

  • Category set to common
  • Priority changed from Normal to Urgent
  • Backport set to firefly, hammer

#4 Updated by Loic Dachary over 3 years ago

  • Status changed from Need Review to Pending Backport

#6 Updated by Nathan Cutler about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF