0

I run a news & media blog with over a few million readers every month. I'm currently using Google Cloud with a 32gb ram server with WordPress.

My server is hitting 84% memory usage due to the following:

usr/sbin/mysqld 20--daemonize 20--pid-file=/var/run/mysqld/mysqld.pid

If I were to restart the MySQL server it'd be okay for some time around 20% usage and it'll go up again to 80%. I'm unable to pinpoint the cause.

edit: corrected CPU to Memory.

6
  • Why is the CPU utilisation bothering you?
    – mustaccio
    Jan 27 at 1:57
  • Sorry about that, I mistakenly added CPU instead of memory usage.
    – Jaya
    Jan 27 at 2:10
  • Msybe its just caching Jan 27 at 2:20
  • It started only 3-4 days ago. Before it was fine, I tried looking up issue, but can't really find anything. and when it goes up to 80% memory usage, it says that much until I restart the MySQL server manually.
    – Jaya
    Jan 27 at 2:27
  • I can't mark it as a duplicate, but maybe this will helpMySQL maximum memory usage Jan 27 at 3:06

1 Answer 1

0

hitting 84% memory usage

Good.

In General, MySQL is optimally configured "out of the box" these days. Furthermore, cloud providers make sure it is well configured.

restart ... around 20% usage

Good. The main memory user, InnoDB's buffer_pool, grows over time, up to the limit of innodb_buffer_pool_size.

1
  • I end up finding the issue, it was Smush Plugin that was increasing the load for some, I absolutely have no idea why.
    – Jaya
    Jan 27 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.