MySQL Enterprise Monitor Agent having memory leaks
I’ve recently updated MySQL Enterprise Monitor on few boxes to the most recent version. Apparently, since Oracle acquired Sun, Enterprise team has lowered its quality standards. The agent (in agent,proxy mode) kept leaking memory at pace of about 1 Gb per hour (got up to 5gbs before we’ve noticed).
The offending binary was:
I find it extremely disappointing, as long as I wouldn’t care about Monitor Server going down, I expect agents to be extremely stable, as their failure can affect production services. With agent deployed on the same box as the database, it’s easy to redirect the traffic to port of the real db in case if it crashed, however if agent consumed memory dedicated for MySQL, it would cause the database & other services to crash.