Ad Widget

Collapse

agentd 1.6.4 Win32 increases the consumption of memory and stop run

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Luciano Komosinski
    Junior Member
    Zabbix Certified Specialist
    • Sep 2006
    • 8

    #1

    agentd 1.6.4 Win32 increases the consumption of memory and stop run

    I have 4 servers running Windows 2000 Server running zabbix_agentd.exe (32 bits). When the active monitoring of the Zabbix server, Zabbix the agent increases the consumption of memory on the machine and the agent stop run.
    Shooting only the command (zabbix_get-s10.30.2.18-p10000-k "system.uptime") in the Zabbix server, I receive the error message below and also agent zabbix stop run:
    "zabbix_get [32011]: Get value error: ZBX_TCP_READ () failed [Connection reset by peer]"

    Someone saw something with zabbix agent 1.6.4 Win32?
  • Luciano Komosinski
    Junior Member
    Zabbix Certified Specialist
    • Sep 2006
    • 8

    #2
    This problem is linked to perf_count

    The items that are causing this problem using the key perf_counter. Disabling the items with this key the agent zabbix does not fall. This problem is linked to perf_count ...

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      We will try to reproduce it in our test environment. Thanks for the details.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • Luciano Komosinski
        Junior Member
        Zabbix Certified Specialist
        • Sep 2006
        • 8

        #4
        Machines with Exchange

        The machines that had this problem have Exchange installed.

        The items we collect in "Perf_counter" are:

        perf_counter[\MSExchangeIS Mailbox(_Total)\Send Queue Size]
        perf_counter[\MSExchangeIS Mailbox(_Total)\Receive Queue Size]

        perf_counter[\MSExchangeIS\RPC Requests]
        perf_counter[\MSExchangeIS\Maximum Users]
        perf_counter[\MSExchangeIS\Maximum Connections]
        perf_counter[\System\threads]
        perf_counter[\MSExchangeIS Mailbox(_Total)\Message Opens/sec]
        perf_counter[\MSExchangeIS Mailbox(_Total)\Logon Operations/sec]
        perf_counter[\MSExchangeIS\User Count]

        perf_counter[\Network Interface(MS TCP Loopback interface)\Bytes Received/sec]
        perf_counter[\Network Interface(MS TCP Loopback interface)\Bytes Sent/sec]
        perf_counter[\Network Interface(HP NC7770 Gigabit Server Adapter)\Bytes Sent/sec]

        perf_counter[\Processor(_Total)\% Processor Time]
        perf_counter[\Processor(0)\% Processor Time]

        * Also to run "system.uptime" the agent drops in these machines

        Comment

        • Luciano Komosinski
          Junior Member
          Zabbix Certified Specialist
          • Sep 2006
          • 8

          #5
          log of a server where the problem occurs

          Here is the log of a server where the problem occurs:
          2420:20090528:150243 zabbix_agentd started. ZABBIX 1.6.4.
          2420:20090528:150243 In init_perf_collector()
          2420:20090528:150243 cfg: para: [Server] val [10.30.2.46,10.30.2.24]
          2420:20090528:150243 cfg: para:[ListenPort] val [10000]
          2420:20090528:150243 cfg: para: [StartAgents] val [5]
          2420:20090528:150243 cfg: para: [DisableActive] val [1]
          2420:20090528:150243 cfg: para: [DebugLevel] val [4]
          2420:20090528:150243 cfg: para: [LogFile] val [c:\zabbix.log]
          2420:20090528:150243 cfg: para: [Timeout] val [20]
          3112:20090528:150243 zabbix_agentd collector started
          1996:20090528:150243 zabbix_agentd listener started
          2520:20090528:150243 zabbix_agentd listener started
          4636:20090528:150243 zabbix_agentd listener started
          3112:20090528:150243 In init_cpu_collector()
          2644:20090528:150243 zabbix_agentd listener started
          4768:20090528:150243 zabbix_agentd listener started
          3112:20090528:150243 In GetCounterName() [index:238]
          3112:20090528:150243 In GetCounterName() [index:6]
          3112:20090528:150243 In GetCounterName() [index:2]
          3112:20090528:150243 In GetCounterName() [index:44]
          3112:20090528:150243 In collect_cpustat()
          3112:20090528:150244 In collect_cpustat()
          3112:20090528:150245 In collect_cpustat()
          1996:20090528:150246 Processing request.
          1996:20090528:150246 In check_security()
          1996:20090528:150246 Requested [service_state[MSExchangeIS]]
          1996:20090528:150246 Sending back [0]
          3112:20090528:150246 In collect_cpustat()
          2520:20090528:150246 Processing request.
          2520:20090528:150246 In check_security()
          2520:20090528:150246 Requested [service_state[smtpsvc]]
          2520:20090528:150246 Sending back [0]
          4636:20090528:150246 Processing request.
          4636:20090528:150246 In check_security()
          4636:20090528:150246 Requested [service_state[RESvc]]
          4636:20090528:150246 Sending back [0]
          2644:20090528:150247 Processing request.
          2644:20090528:150247 In check_security()
          2644:20090528:150247 Requested [service_state[ZABBIX Agent]]
          2644:20090528:150247 Sending back [0]
          4768:20090528:150247 Processing request.
          4768:20090528:150247 In check_security()
          4768:20090528:150247 Requested [system.cpu.load[,avg5]]
          4768:20090528:150247 Sending back [0.000000]
          3112:20090528:150247 In collect_cpustat()
          1996:20090528:150248 Processing request.
          1996:20090528:150248 In check_security()
          1996:20090528:150248 Requested [vm.memory.size[free]]
          1996:20090528:150248 Sending back [2126307328]
          3112:20090528:150248 In collect_cpustat()
          3112:20090528:150249 In collect_cpustat()
          3112:20090528:150250 In collect_cpustat()
          2520:20090528:150250 Processing request.
          2520:20090528:150250 In check_security()
          2520:20090528:150250 Requested [system.swap.size[,free]]
          2520:20090528:150250 Sending back [4230619136]
          4636:20090528:150250 Processing request.
          4636:20090528:150250 In check_security()
          4636:20090528:150250 Requested [vfs.fs.size[c:,free]]
          4636:20090528:150250 Sending back [26275351040]
          3112:20090528:150251 In collect_cpustat()
          3112:20090528:150252 In collect_cpustat()
          .......
          0090528:150529 In collect_cpustat()
          3112:20090528:150530 In collect_cpustat()
          3112:20090528:150531 In collect_cpustat()
          2520:20090528:150531 Processing request.
          2520:20090528:150531 In check_security()
          2520:20090528:150531 Requested [service_state[ZABBIX Agent]]
          2520:20090528:150531 Sending back [0]
          3112:20090528:150532 In collect_cpustat()
          3112:20090528:150533 In collect_cpustat()
          3112:20090528:150534 In collect_cpustat()
          4636:20090528:150535 Processing request.
          4636:20090528:150535 In check_security()
          4636:20090528:150535 Requested [service_state[MSExchangeIS]]
          4636:20090528:150535 Sending back [0]
          3112:20090528:150535 In collect_cpustat()
          3112:20090528:150536 In collect_cpustat()
          3112:20090528:150537 In collect_cpustat()
          3112:20090528:150538 In collect_cpustat()
          3112:20090528:150539 In collect_cpustat()
          3112:20090528:150540 In collect_cpustat()
          3112:20090528:150541 In collect_cpustat()
          3112:20090528:150542 In collect_cpustat()
          2644:20090528:150542 Processing request.
          2644:20090528:150542 In check_security()
          2644:20090528:150542 Requested [service_state[smtpsvc]]
          2644:20090528:150542 Sending back [0]
          3112:20090528:150543 In collect_cpustat()
          4768:20090528:150543 Processing request.
          4768:20090528:150543 In check_security()
          4768:20090528:150543 Requested [service_state[RESvc]]
          4768:20090528:150543 Sending back [0]
          3112:20090528:150544 In collect_cpustat()
          3112:20090528:150545 In collect_cpustat()
          3112:20090528:150546 In collect_cpustat()
          ......
          3112:20090528:150611 In collect_cpustat()
          3112:20090528:150612 In collect_cpustat()
          3112:20090528:150613 In collect_cpustat()
          1996:20090528:150614 Processing request.
          1996:20090528:150614 In check_security()
          1996:20090528:150614 Requested [perf_counter[\System\threads]]

          Comment

          • Luciano Komosinski
            Junior Member
            Zabbix Certified Specialist
            • Sep 2006
            • 8

            #6
            Problem with the Perf_count & SMTP service and MS Exchange

            We note that this problem with the Perf_count occurs on machines that have the Windows 2000 SMTP service and MS Exchange Server 2000 installed. In other machines that do not have these services installed, we use the Perf_count to collect items without any problems.

            Comment

            Working...