Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
1.4.3
-
None
-
Debian GNU/Linux 8.4 (jessie)
MySQL 5.7
Description
Running Maxscale for a few days result in high CPU usage. It starts out at 1-3% CPU, after a day its 15-20% and after a week it runs at 90% CPU.
The same configuration is on two servers, one of those is the master and receives some testing traffic, while the other only executes internal database tasks. Both servers show this behaviour. Servers are Xen VMs with 4CPUs, 6GB memory and show no signs of high disk IO or running out of memory. Configuration currently uses one thread, however behaviour is also visible with 4 threads or more.
I restarted server-201, while keeping server-101 running at 90% CPU. Via maxadmin I extracted as much information as I could and they are attached in the text files.
Logs for server-201 contain nothing interesting since its last reboot (running 20%)
Server-101 has some errors about a master going down (and repeats them 30 times a second), since then no new logs but CPU has been increasing from a few percent to its current 90% so I don't expect this to be an issue.
I restarted server-201 with debug logging which I could include if needed.
Application using maxscale has problems and slows down when CPU usage is too high.