Ad Widget

Collapse

Out of memory - Discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bobrivers
    Senior Member
    • Feb 2007
    • 115

    #1

    Out of memory - Discovery

    I'm trying to test zabbix 1.3.8. I configured a discovery rule to find devices (10.44.1.0-255) using TCP (port 23)

    Then I created an action with just one condition (discovery status = up) and three operations: add host, add to group and link to template (Template_SNMPv2_Device).

    Just after one discovered device (10.44.1.2) the zabbix_server died with out of memory...

    PHP Code:
      2475:20070518:115511 Query [select hostid from hosts_templates where templateid=10019]
      
    2475:20070518:115511 Added new item '10.44.1.2:sysName'
      
    2475:20070518:115511 Query [select distinct t.triggerid from triggers tfunctions fitems i where i.hostid=10018 and f.itemid=i.itemid and f.triggerid=t.triggerid]
      
    2475:20070518:115511 Query [select description,priority,status,comments,url,expression from triggers where triggerid=12812]
      
    2475:20070518:115511 Query [select triggerid_up from trigger_depends where triggerid_down=12812]
      
    2475:20070518:115511 Query [select distinct t.triggerid,t.templateid from functions f,items i,triggers t  where t.templateid=and t.triggerid=f.triggerid and i.itemid=f.itemid and i.hostid=10019]
      
    2475:20070518:115511 In DBget_maxid(triggers,triggerid)
      
    2475:20070518:115511 Query [select nextid from ids where nodeid=and table_name='triggers' and field_name='triggerid']
      
    2475:20070518:115511 Query [update ids set nextid=nextid+1 where nodeid=and table_name='triggers' and field_name='triggerid']
      
    2475:20070518:115511 Query [select nextid from ids where nodeid=and table_name='triggers' and field_name='triggerid']
      
    2475:20070518:115511 13019
      2475
    :20070518:115511 Query [insert into triggers (triggerid,description,priority,status,comments,url,value,expression,templateidvalues (13019,'icmpInAddrMaskReps on {HOSTNAME} is too High',3,0,' ','',2,'{???:???}',12812)]
      
    2475:20070518:115511 Query [select itemid,function,parameter,functionid from functions  where triggerid=12812]
      
    2475:20070518:115511 out of memoryrequested '-1079926342' bytes.
      
    2425:20070518:115511 One child process diedExiting ...
      
    2428:20070518:115511 Got signalExiting ...
      
    2429:20070518:115511 Got signalExiting ...
      
    2431:20070518:115511 Got signalExiting ...
      
    2433:20070518:115511 Got signalExiting ...
      
    2434:20070518:115511 Got signalExiting ...
      
    2435:20070518:115511 Got signalExiting ...
      
    2458:20070518:115511 Got signalExiting ...
      
    2459:20070518:115511 Got signalExiting ...
      
    2463:20070518:115511 Got signalExiting ...
      
    2465:20070518:115511 Got signalExiting ...
      
    2468:20070518:115511 Got signalExiting ...
      
    2470:20070518:115511 Got signalExiting ...
      
    2472:20070518:115511 Got signalExiting ...
      
    2436:20070518:115511 Got signalExiting ...
      
    2442:20070518:115511 Got signalExiting ...
      
    2444:20070518:115511 Got signalExiting ...
      
    2446:20070518:115511 Got signalExiting ...
      
    2448:20070518:115511 Got signalExiting ...
      
    2450:20070518:115511 Got signalExiting ...
      
    2453:20070518:115511 Got signalExiting ...
      
    2455:20070518:115511 Got signalExiting ...
      
    2457:20070518:115511 Got signalExiting ...
      
    2425:20070518:115513 ZABBIX Server stopped 
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It took several hours time to reproduce this problem. It wasn't easy. The problem is fixed in the latest SVN code.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...