• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

MySQL, very high server load -- how-to...

J

JohnB@

Guest
Hello All:

I am seeing, since over a week, a very high server load on one of our Linux/Plesk 8.2 servers. This comes from a MySQL process. Doing a "top" I see this:

22795 mysql 15 0 186m 35m 4500 S 93.6 1.8 2:41.93 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --u ....

So, MySQL is reading the /etc/my.cnf config file, that's all I see here.
When I look at the processes -- e.g. via "mytop" I see it all seems to be emails?? But I am not really sure ... I do not see that many emails in the main queue. Can someone help me to understand what's going on, and to find the source?

Here is what "mytop" produces:

464 admin localhost test 0 Query show full processlist
463 admin localhost psa 2 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
353 admin localhost psa 6 Query select ip_address, ip_mask from smtp_poplocks where lock_time is NULL
364 admin localhost psa 6 Query select ip_address, ip_mask from smtp_poplocks where lock_time is NULL
451 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
452 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
453 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
454 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
455 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
456 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
457 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
458 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l
459 admin localhost psa 6 Query delete from smtp_poplocks where ((lock_time < DATE_SUB(NOW(), INTERVAL 21 MINUTE)) and (l

(...... and on and on and on .....)



John
 
You might want to check how many entries are in this table and also check the table for corruption and fix.

Please let us know if the table is not corrupted and there are not so many entries in it yet you are seeing the problem.

Thanks,
Evren
 
Back
Top