Werk #2187: Avoid CLOSE_WAIT sockets for agent connection in case of timeouts
Component | Core & setup |
Title | Avoid CLOSE_WAIT sockets for agent connection in case of timeouts |
Date | Apr 2, 2015 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.2.7i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
In case of agent timeouts (per default this is set to 60 seconds) when using keep alive mode (as the CMC does) socket connections could be left over in CLOSE_WAIT state. This is due to a file descriptor not being closed correctly by Python. This has been fixed.