lp:~johnf-inodes/mysql-mmm/socket_leak
- Get this branch:
- bzr branch lp:~johnf-inodes/mysql-mmm/socket_leak
Branch merges
- mysql-mmm-core: Pending requested
-
Diff: 114 lines (+57/-3)1 file modifiedlib/Monitor/Checker/Checks.pm (+57/-3)
Branch information
Recent revisions
- 148. By John Ferlito
-
Prevent socket leak in checkers
A particular race condition could occur on highly contended servers
which would lead to a socket leak which also manifested as a memory
leak. Once sockets leaked to the system limit connections to MySQL would
fail.This would happen if the timeout from the ALARM signal handler happened
inside the DBI->connect call. DBI may already have created the socket
but because the signal was raised the socket is never cleaned up. - 146. By Pascal Hofmann
-
Removed checks for incorrect state REPLICATION_BACKLOG (it's called REPLICATION_
DELAY.. .). - 141. By Pascal Hofmann
-
* Added manual mode (bug #531011), wait mode, config values 'mode' and 'wait_for_
other_master'
* Don't die at startup when no network connection is available - wait for it to appear instead (bug #416572)
* Changed startup behaviour. mmm_mond will only go into passive mode if it detects the active_master_role on more than one host.
* Added config value 'careful_startup' (bug #422549). If set to 0 mmm_mond won't ever switch into passive mode at startup.
* Added check for invalid agent commands (prevents crash when mmmd_mon version 1.x talks to an 2.x agent).
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 with rich root (needs bzr 1.0)