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

Docker zabbix fping can't allocate memmory

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Incomplete
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce:

      1. Installed mysql8 , transferred dump of  data from old mysql 5.7.38
      2. Create container like:
      docker run --name zabbix-server-mysql -t \
            --add-host mysql-server:172.20.240.1 \
            -e DB_SERVER_HOST="mysql-server" \
            -e MYSQL_DATABASE="zabbix" \
            -e MYSQL_USER="zabbixuser" \
            -e MYSQL_PASSWORD="BIG_BAD_PASS" \
            -e ZBX_JAVAGATEWAY="zabbix-java-gateway" \
            -e ZBX_CACHESIZE=1024M \
            -e ZBX_TRAPPERTIMEOUT=300 \
            -e ZBX_TIMEOUT=30 \
            -v /dev/log:/dev/log -v /var/run/systemd/journal/socket:/var/run/systemd/journal/socket \
            --network=zabbix-net \
            -p 10051:10051 \
            --restart unless-stopped \
            -d dockerhub.artifactory.pyrsoftware.ca/zabbix/zabbix-server-mysql:ubuntu-6.2.3
      
      1. Got this error in the logs:
         215:20220928:144844.092 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144845.095 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144846.099 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144847.102 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144848.105 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144849.106 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144850.109 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144851.112 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144852.116 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144853.119 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144854.122 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144855.125 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144856.129 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144857.132 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
         215:20220928:144858.135 /usr/bin/fping -C3 -i0 2>&1 </tmp/zabbix_server_215.pinger;: [12] Cannot allocate memory
      
       
      

      There is plenty free memory :

      # free -m
                    total        used        free      shared  buff/cache   available
      Mem:          32011        1588       28859          80        1564       29998
      Swap:          2047           0        2047
      

      Attachments

        Activity

          People

            zabbix.support Zabbix Support Team
            bozhanb Bozhan Boyadzhiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: