Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26639

PHP-FPM high CPU load when viewing graphs

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.16
    • Frontend (F)
    • None
    • Operating System: Ubuntu 25.04
      Kernel: Linux 6.14.0-15-generic
      Architecture: x86-64
      Zabbix: 7.0.16
      PHP: php8.4
      PostgreSQL: 17.5

       The problem arises if you keep updating the graphs page in zabbix. If there are more than 10 users, then the load on the server does not grow proportionally.

      Steps to reproduce:

       1. Go to "Monitoring" and select "Hosts".
       2. Click on the hostname and select "Graphs"
       3. Update web page many times to simulate load on a web server.
       4. You will see how CPU load is increases.

       If you try to strace php-fpm process while graphs is loading, you get a lot of messages "No such file or directory". See "strace-output.log" in attachment.

       The problem appeared after upgrading from zabbix server 5.0 to 7.0. See screenshots of load avgs and nginx connections in attachments. In zabbix server 5.0 on same users max load avg was 8 on a new version max load avg 30.

       

      Result:
       One user can load 1 core on the server. 10 users may overload cpu on the server.
       A lot of messages "No such file or directory" in php-fpm process.

      Expected:
       Reduced CPU usage when viewing a web page with graphs.
       No errors in strace log.

        1. strace-output.log
          2.10 MB
        2. zabbix-5.0.png
          zabbix-5.0.png
          241 kB
        3. zabbix-7.0.png
          zabbix-7.0.png
          459 kB

            zabbix.support Zabbix Support Team
            Johny Johny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: