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

Zabbix Agent crash during high load / low memory condition

XMLWordPrintable

    • Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021)
    • 0.5

      Steps to reproduce:

      1. Use agent
      2. Let Poudriere build packages

      Remark:

      Poudriere on FreeBSD tends to use high CPU, memory and I/O ressources, because it builds multiple packages using multiprocessing. I have enough swap left to make sure processes don't die. Zabbix Agent probably dies, because of the ridiculous amount of memory it wants to allocate (see log).

      Result:

      Log:

      {{ 98247:20210313:140852.031 Starting Zabbix Agent [yuni.sugioarto.com]. Zabbix 5.2.5 (revision 1afd0ded11).}}
      {{ 98247:20210313:140852.031 **** Enabled features ****}}
      {{ 98247:20210313:140852.031 IPv6 support: YES}}
      {{ 98247:20210313:140852.031 TLS support: YES}}
      {{ 98247:20210313:140852.031 **************************}}
      {{ 98247:20210313:140852.031 using configuration file: /usr/local/etc/zabbix52/zabbix_agentd.conf}}
      {{ 98247:20210313:140852.032 agent #0 started [main process]}}
      {{ 98248:20210313:140852.032 agent #1 started [collector]}}
      {{ 98249:20210313:140852.032 agent #2 started listener #1}}
      {{ 98250:20210313:140852.032 agent #3 started listener #2}}
      {{ 98251:20210313:140852.032 agent #4 started listener #3}}
      {{ 98252:20210313:140852.032 agent #5 started active checks #1}}
      {{ 98251:20210319:024348.541 file:proc.c,line:80 zbx_realloc: out of memory. Requested 18446744069414584320 bytes.}}
      {{ 98247:20210319:024348.582 One child process died (PID:98251,exitcode/signal:1). Exiting ...}}
      {{ 98247:20210319:024348.587 Zabbix Agent stopped. Zabbix 5.2.5 (revision 1afd0ded11).}}

      Expected:
      Zabbix not allocating a huge amount of memory.

            dgoloscapov Dmitrijs Goloscapovs
            nakal Martin Sugioarto
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: