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

pm.max_requests for PHP-FPM packages

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.0.17
    • None
    • Packages (C)
    • None
    • RHEL8
    • Team B
    • Sprint 81 (Oct 2021)
    • 0.5

    Description

      RHEL8 users has increased, and reports of out of memory by php-fpm have also increased.

      it's better to add 'pm.max_requests' to the package as the zabbix.conf default setting.

      pm.max_requests - provides ability to re-spawn thread/child and clean used memory.

      The main problem with the dynamic process manager for the PHP-FPM - it never performs de-allocation of the used memory with absent pm.max_requests option you can see such weird behavior with memory allocation.

      php-fpm: pool zabbix
      
      /proc/1165/status:VmSwap:         145956 kB
      /proc/1162/status:VmSwap:         137972 kB
      /proc/1161/status:VmSwap:         129540 kB
      /proc/1167/status:VmSwap:         127688 kB
      /proc/1166/status:VmSwap:         127660 kB
      

      Attachments

        Activity

          People

            yurii Jurijs Klopovskis
            JKKim Kim Jongkwon
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: