Hello,
I'm trying to figure out a weird mysql issue. We have a cpanel server running mysql 8.0.30 which works fine but every once or twice a day, mysql becomes unresponsive or painfully slow. RAM, SWAP, IO usage increases but CPU is fine.
Upon checking,
So, Threads_running is usually around 5-10 but it keeps building up and becomes unresponsive at around 1500.
There is no single abusive user in processlist and seems pretty normal:
I monitored a few threads for sometime and even after few minutes they are sometimes in processlist with same or other Query. I guess it's because mysql is very slowly responding to php and thus connection is kept alive. There are hardly any sleeping query.
Also, server is running Cloudlinux Governor along with it, I've tried disabling it and changing my.cnf configs.
Cloudflare blocked me from pasting process list and config file. Please check it here: https://pastebin.com/raw/zk40xeLw
I'm trying to figure out a weird mysql issue. We have a cpanel server running mysql 8.0.30 which works fine but every once or twice a day, mysql becomes unresponsive or painfully slow. RAM, SWAP, IO usage increases but CPU is fine.
Upon checking,
Code:
# mysqladmin status
Uptime: 27795 Threads: 751 Questions: 32905673 Slow queries: 15 Opens: 2708499 Flush tables: 3 Open tables: 4000 Queries per second avg: 1183.870
| Connections | 456613 |
| Threads_cached | 10 |
| Threads_connected | 705 |
| Threads_created | 20043 |
| Threads_running | 687 |
There is no single abusive user in processlist and seems pretty normal:
I monitored a few threads for sometime and even after few minutes they are sometimes in processlist with same or other Query. I guess it's because mysql is very slowly responding to php and thus connection is kept alive. There are hardly any sleeping query.
Also, server is running Cloudlinux Governor along with it, I've tried disabling it and changing my.cnf configs.
Cloudflare blocked me from pasting process list and config file. Please check it here: https://pastebin.com/raw/zk40xeLw
Last edited by a moderator: