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

zabbix agent2 6.2.0beta2 bug ,there are too many tcp connections that are in close-wait

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 6.2.0beta2
    • Agent (G)
    • None
    • ubuntu 20.04 6.2.0beta2
    • Sprint 89 (Jun 2022)

      Steps to reproduce:

      1. Upgraded zabbix agent from 6.0 to 6.20 bate
      2. I used the command "for i in {1..100};do sleep 60;ss -p state close-wait | grep "zabbix" | wc -l >> /tmp/a.txt;echo "    ";date >> /tmp/a.txt;done" to generate a text file.

      Result:

      1、Active checking becomes unknown

      2、The "Cannot create data pipe: [24] Too many open files" error message appears

      3、There are too many tcp connections that are in close-wait.

      4、The number only decreased after I restarted agent service.But if I restart the server service it doesn't work,the agent is still connected to the old server 
      See screenshot...
      Expected:
      The tcp connection is disconnected after the zabbix agent finishes sending the data.

        1. 2022-05-31_112706.png
          2022-05-31_112706.png
          4 kB
        2. 2022-05-31_141655.png
          2022-05-31_141655.png
          20 kB
        3. 2022-05-31_145221.png
          2022-05-31_145221.png
          3 kB
        4. 2022-05-31_145306.png
          2022-05-31_145306.png
          20 kB
        5. 2022-05-31_145346.png
          2022-05-31_145346.png
          19 kB
        6. 2022-05-31_145457.png
          2022-05-31_145457.png
          17 kB
        7. 2022-05-31_145549.png
          2022-05-31_145549.png
          21 kB
        8. 2022-05-31_151153.png
          2022-05-31_151153.png
          347 kB
        9. 2022-05-31_170614.png
          2022-05-31_170614.png
          107 kB
        10. 2022-05-31_171245.png
          2022-05-31_171245.png
          5 kB
        11. a.txt
          4 kB

            dgoloscapov Dmitrijs Goloscapovs
            liuhua liuhua
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: