Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SNMP-Effective CPAN distribution.

Report information
The Basics
Id: 46665
Status: resolved
Priority: 0/
Queue: SNMP-Effective

People
Owner: Nobody in particular
Requestors: info [...] martinjanda.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.06
Fixed in: (no value)



Subject: ERROR - Master timeout! and Segmentation fault
Hi, I use SNMP:: Effective library in my script. Great job, thanks. I found a big problem: if the device with large number of monitored OID falls, then the script will output: ERROR - Master timeout! and Segmentation fault. It seems that the problem is in the library. How to solve?
It is interesting that this happens when the second cycle. At first cycle is everything alright. How unset I correctly SNMP:: Effective object? I attach the debug statement: INFO - Adding host(212.96.178.226) INFO - Adding get(CISCO-ENVMON-MIB::ciscoEnvMonFanState.1004 CISCO-ENVMON-MIB::ciscoEnvMonSupplyState.1003 CISCO-ENVMON-MIB::ciscoEnvMonTemperatureState.1005 CISCO-ENVMON-MIB::ciscoEnvMonTemperatureStatusValue.1005 IF-MIB::ifHCInOctets.1 IF-MIB::ifHCInOctets.10101 IF-MIB::ifHCInOctets.10102 IF-MIB::ifHCInOctets.10103 IF-MIB::ifHCInOctets.10104 IF-MIB::ifHCInOctets.10105 IF-MIB::ifHCInOctets.10106 IF-MIB::ifHCInOctets.10107 IF-MIB::ifHCInOctets.10108 IF-MIB::ifHCInOctets.10109 IF-MIB::ifHCInOctets.10110 IF-MIB::ifHCInOctets.10111 IF-MIB::ifHCInOctets.10112 IF-MIB::ifHCInOctets.10113 IF-MIB::ifHCInOctets.10114 IF-MIB::ifHCInOctets.10115 IF-MIB::ifHCInOctets.10116 IF-MIB::ifHCInOctets.10117 IF-MIB::ifHCInOctets.10118 IF-MIB::ifHCInOctets.10119 IF-MIB::ifHCInOctets.10120 IF-MIB::ifHCInOctets.10121 IF-MIB::ifHCInOctets.10122 IF-MIB::ifHCInOctets.10123 IF-MIB::ifHCInOctets.10124 IF-MIB::ifHCInOctets.10125 IF-MIB::ifHCInOctets.10126 IF-MIB::ifHCInOctets.10127 IF-MIB::ifHCInOctets.10128 IF-MIB::ifHCInOctets.200 IF-MIB::ifHCInOctets.309 IF-MIB::ifHCInOctets.313 IF-MIB::ifHCInOctets.314 IF-MIB::ifHCInOctets.320 IF-MIB::ifHCInOctets.321 IF-MIB::ifHCInOctets.363 IF-MIB::ifHCInOctets.50 IF-MIB::ifHCInOctets.5001 IF-MIB::ifHCInOctets.51 IF-MIB::ifHCInOctets.55 IF-MIB::ifHCOutOctets.1 IF-MIB::ifHCOutOctets.10101 IF-MIB::ifHCOutOctets.10102 IF-MIB::ifHCOutOctets.10103 IF-MIB::ifHCOutOctets.10104 IF-MIB::ifHCOutOctets.10105) INFO - Adding host(212.96.178.226) INFO - Adding get(IF-MIB::ifHCOutOctets.10106 IF-MIB::ifHCOutOctets.10107 IF-MIB::ifHCOutOctets.10108 IF-MIB::ifHCOutOctets.10109 IF-MIB::ifHCOutOctets.10110 IF-MIB::ifHCOutOctets.10111 IF-MIB::ifHCOutOctets.10112 IF-MIB::ifHCOutOctets.10113 IF-MIB::ifHCOutOctets.10114 IF-MIB::ifHCOutOctets.10115 IF-MIB::ifHCOutOctets.10116 IF-MIB::ifHCOutOctets.10117 IF-MIB::ifHCOutOctets.10118 IF-MIB::ifHCOutOctets.10119 IF-MIB::ifHCOutOctets.10120 IF-MIB::ifHCOutOctets.10121 IF-MIB::ifHCOutOctets.10122 IF-MIB::ifHCOutOctets.10123 IF-MIB::ifHCOutOctets.10124 IF-MIB::ifHCOutOctets.10125 IF-MIB::ifHCOutOctets.10126 IF-MIB::ifHCOutOctets.10127 IF-MIB::ifHCOutOctets.10128 IF-MIB::ifHCOutOctets.200 IF-MIB::ifHCOutOctets.309 IF-MIB::ifHCOutOctets.313 IF-MIB::ifHCOutOctets.314 IF-MIB::ifHCOutOctets.320 IF-MIB::ifHCOutOctets.321 IF-MIB::ifHCOutOctets.363 IF-MIB::ifHCOutOctets.50 IF-MIB::ifHCOutOctets.5001 IF-MIB::ifHCOutOctets.51 IF-MIB::ifHCOutOctets.55) TRACE - Lock is ready and unlocked WARN - Execute dispatcher with timeout (25) TRACE - Waiting for lock to unlock... TRACE - The lock got unlocked, but is now locked again DEBUG - SNMP session created for 212.96.178.224 DEBUG - $self->_get( 212.96.178.224->get(...) ) DEBUG - SNMP session created for 212.96.161.67 DEBUG - $self->_get( 212.96.161.67->get(...) ) DEBUG - SNMP session created for 212.96.178.226 DEBUG - $self->_get( 212.96.178.226->get(...) ) DEBUG - SNMP session created for 212.96.160.8 DEBUG - $self->_get( 212.96.160.8->get(...) ) DEBUG - SNMP session created for 212.96.161.68 DEBUG - $self->_get( 212.96.161.68->get(...) ) DEBUG - SNMP session created for 212.96.161.66 DEBUG - $self->_get( 212.96.161.66->get(...) ) DEBUG - Sessions/max-sessions: 6<50 TRACE - Unlocking lock Segmentation fault
I've created a new version that use Moose instead. http://github.com/jhthorsen/snmp-effective/tree/moose http://github.com/jhthorsen/snmp-effective/downloads I hope it will resolve the issues, but it is not yet tested...
Subject: Re: [rt.cpan.org #46665] ERROR - Master timeout! and Segmentation fault
Date: Thu, 13 Aug 2009 12:02:50 +0200
To: bug-SNMP-Effective [...] rt.cpan.org
From: Martin Janda <info [...] martinjanda.com>
Thank you for help. I will try this version and i will report result. 2009/7/19 Jan Henning Thorsen via RT <bug-SNMP-Effective@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=46665 > > > I've created a new version that use Moose instead. > > http://github.com/jhthorsen/snmp-effective/tree/moose > http://github.com/jhthorsen/snmp-effective/downloads > > I hope it will resolve the issues, but it is not yet tested... >
Subject: Re: [rt.cpan.org #46665] ERROR - Master timeout! and Segmentation fault
Date: Thu, 13 Aug 2009 14:36:52 +0200
To: bug-SNMP-Effective [...] rt.cpan.org
From: Jan Henning Thorsen <jhthorsen [...] cpan.org>
Try this instead: http://github.com/jhthorsen/snmp-parallel Will release it on CPAN as soon as i know it works as expected... Best regards, Jan Henning On Thu, Aug 13, 2009 at 12:03 PM, Martin Janda via RT < bug-SNMP-Effective@rt.cpan.org> wrote: Show quoted text
> Queue: SNMP-Effective > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=46665 > > > Thank you for help. I will try this version and i will report result. > > 2009/7/19 Jan Henning Thorsen via RT <bug-SNMP-Effective@rt.cpan.org>:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=46665 > > > > > I've created a new version that use Moose instead. > > > > http://github.com/jhthorsen/snmp-effective/tree/moose > > http://github.com/jhthorsen/snmp-effective/downloads > > > > I hope it will resolve the issues, but it is not yet tested... > >
> >
Subject: Re: [rt.cpan.org #46665] ERROR - Master timeout! and Segmentation fault
Date: Fri, 14 Aug 2009 09:22:39 +0200
To: bug-SNMP-Effective [...] rt.cpan.org
From: Martin Janda <info [...] martinjanda.com>
OK, O will try this. Thank you. Best regards, Martin Janda 2009/8/13 Jan Henning Thorsen via RT <bug-SNMP-Effective@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=46665 > > > Try this instead: http://github.com/jhthorsen/snmp-parallel > > Will release it on CPAN as soon as i know it works as expected... > > Best regards, >  Jan Henning > > On Thu, Aug 13, 2009 at 12:03 PM, Martin Janda via RT < > bug-SNMP-Effective@rt.cpan.org> wrote: >
>>       Queue: SNMP-Effective >>  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=46665 > >> >> Thank you for help. I will try this version and i will report result. >> >> 2009/7/19 Jan Henning Thorsen via RT <bug-SNMP-Effective@rt.cpan.org>:
>> > <URL: https://rt.cpan.org/Ticket/Display.html?id=46665 > >> > >> > I've created a new version that use Moose instead. >> > >> > http://github.com/jhthorsen/snmp-effective/tree/moose >> > http://github.com/jhthorsen/snmp-effective/downloads >> > >> > I hope it will resolve the issues, but it is not yet tested... >> >
>> >>
> > > Try this instead: http://github.com/jhthorsen/snmp-parallel > > Will release it on CPAN as soon as i know it works as expected... > > Best regards, >  Jan Henning > > On Thu, Aug 13, 2009 at 12:03 PM, Martin Janda via RT <bug-SNMP-Effective@rt.cpan.org> wrote:
>> >>       Queue: SNMP-Effective >>  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=46665 > >> >> Thank you for help. I will try this version and i will report result. >> >> 2009/7/19 Jan Henning Thorsen via RT <bug-SNMP-Effective@rt.cpan.org>:
>> > <URL: https://rt.cpan.org/Ticket/Display.html?id=46665 > >> > >> > I've created a new version that use Moose instead. >> > >> > http://github.com/jhthorsen/snmp-effective/tree/moose >> > http://github.com/jhthorsen/snmp-effective/downloads >> > >> > I hope it will resolve the issues, but it is not yet tested... >> >
>>
> > >
Subject: Re: [rt.cpan.org #46665] ERROR - Master timeout! and Segmentation fault
Date: Wed, 2 Sep 2009 16:03:01 +0200
To: bug-SNMP-Effective [...] rt.cpan.org
From: Martin Janda <info [...] martinjanda.com>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #46665] ERROR - Master timeout! and Segmentation fault
Date: Mon, 21 Sep 2009 23:56:17 +0200
To: bug-SNMP-Effective [...] rt.cpan.org
From: Jan Henning Thorsen <jhthorsen [...] cpan.org>

Message body is not shown because it is too large.

No response from the user so I'm closing this ticket. -- regards, oliver.