Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting High CPU usage by MySQL process in fresh PandoraFMS installation

  • High CPU usage by MySQL process in fresh PandoraFMS installation

    Posted by moole on January 5, 2018 at 02:05

    Hello, I am testing Pandora FMS 7.0NG in VMWare ESXi using your prepared applianceĀ image.

    Since just after the VM boots for the first time, the CPU usage isĀ constantly above 50 %.Ā 
    htop tells me it is the mysqld process which consumes the CPU.
    And mysqladmin tells me it is processing 5 queries per second.
    Although noone otherĀ is using the VM and there are no agents configured (except the default one).

    I observeĀ thisĀ with fresh VM deployment, and also with an VM instance runningĀ for few days with some more agents configured.
    I tried optimizing the database through web interface – no change.

    Please seeĀ the attachedĀ mysql query log.

    Is this expected behavior?

    Thanks, Jiri

    vic replied 6 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • vic

    Administrator
    January 5, 2018 at 13:10
    1475 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi moole,

    The process of MySQL consumes a lot of CPU usage, since it is always running, either receiving data, returning data and even using scripts to clean and improve the performance of the database.

    The percentage of CPU will vary depending on the hardware used.

    Best regards and Happy New Year!

    vic.