Results 1 to 2 of 2

Thread: High CPU Usage after upgrade

  1. #1
    Join Date
    Sep 2020
    Beans
    1

    High CPU Usage after upgrade

    Hello

    I'm using Ubuntu Server 18.04, after upgrade, my server always have high CPU Usage. I found that Mysql use a lot of RAM and CPU, it causes my site down. Anyone know how to fix this?

    Thanks

  2. #2
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,408
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: High CPU Usage after upgrade

    I assume you did an in-place upgrade of Ubuntu 16.04 to 18.04 and now you are getting the high CPU usage...correct?

    I do not do in-place upgrades so I have not seen this particular problem before. But since you said it is MySQL that is angry, what version of MySQL are you running? Was this part of a LAMP package or did you install it separately?

    If I were you, I'd uninstall MySQL and install a fresh copy of MariaDB 10.5.5 which is a drop-in replacement of MySQL and enjoys more updates / improvements over MySQL.

    EDIT: Also, if your MySQL version changed during the OS upgrade, you might need to run "mysql_upgrade" to update the schema information.

    LHammonds
    Last edited by LHammonds; September 18th, 2020 at 11:51 PM. Reason: mysql_upgrade

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •