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

Zabbix Agent locks in tls_recv() when using DebugLevel=5

    XMLWordPrintable

Details

    • Team C
    • Sprint 100 (May 2023), Sprint 101 (Jun 2023)
    • 0.5

    Description

      When using PSK encryption at debug level 5 (both via config or raised via “-R log_level_increase”) Zabbix agent hangs
      Reproduced on Debian 10.13, x64, fully updated and Windows is Server 2012 R2, x64
      The entire agent locks up: logging stops, it does not respond to queries, it does not report back to Zabbix.
      Zabbix agent need to be killed it and restarted it with a different DebugLevel

      2023/02/14 12:20:11.648728 Calling C function "tls_new_client()"
      2023/02/14 12:20:11.649163 Calling C function "tls_free()"
      2023/02/14 12:20:11.649205 Calling C function "tls_ready()"
      2023/02/14 12:20:11.649275 Calling C function "tls_connected()"
      2023/02/14 12:20:11.649312 Calling C function "tls_connected()"
      2023/02/14 12:20:11.649347 Calling C function "tls_handshake()"
      2023/02/14 12:20:11.649388 Calling C function "tls_recv()"
      2023/02/14 12:20:11.649497 Calling C function "tls_recv()"
      2023/02/14 12:20:11.650391 Calling C function "tls_send()"
      2023/02/14 12:20:11.650476 Calling C function "tls_handshake()"
      2023/02/14 12:20:11.651063 Calling C function "tls_recv()"
      2023/02/14 12:20:11.651160 Calling C function "tls_recv()"
      

      It logs everything correctly with DebugLevel<5

      Regards, Elina

      Attachments

        Activity

          People

            kprutkovs Konstantins Prutkovs
            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: