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

Openfiles leak in Java Gateway

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 4.0.0alpha8
    • Java gateway (J)
    • None
    • Sprint 37, Sprint 38, Sprint 39, Sprint 40, Sprint 41, Sprint 42, Sprint 43, Sprint 44

      Zabbix Java gateway frequently stops working with:

      [main] ERROR com.zabbix.gateway.JavaGateway - caught fatal exception: Too many open files (Accept failed)
      

      Output of lsof from Java gateway contains 4k+ lines like

      java    14174 zabbix   85u     IPv6         1571605371       0t0        TCP xxx:50166->xxx:gap (ESTABLISHED)
      java    14174 zabbix   86u     IPv6         1571605388       0t0        TCP xxx:56243->xxx:gap (ESTABLISHED)
      java    14174 zabbix   87u     IPv6         1571605405       0t0        TCP xxx:51982->xxx:10810 (ESTABLISHED)
      java    14174 zabbix   88u     IPv6         1571605421       0t0        TCP xxx:60018->xxx:gap (ESTABLISHED)
      java    14174 zabbix   89u     IPv6         1571625538       0t0        TCP xxx:42743->xxx:10810 (ESTABLISHED)
      java    14174 zabbix   90u     IPv6         1571625544       0t0        TCP xxx:57364->xxx:10810 (ESTABLISHED)
      

      Used libraries:

      android-json-4.3_r3.1.jar
      jboss-client.jar
      logback-classic-0.9.27.jar
      logback-core-0.9.27.jar
      remoting-jmx-3.0.0.Final.jar
      slf4j-api-1.6.1.jar
      

            Unassigned Unassigned
            dlamberts Dmitrijs Lamberts
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: