Hi All,

I've been plugging away at a problem in the perl SNMP module and would
like to start a dialogue with anyone who has experience coding in the
perl xs and SNMP world.

My problem stems from persistent problems using the asynchronous
capabilities of SNMP module. Specifically invoking a bulkwalk while in a
callback.

I've opened bug # 1077186 (perl bulkwalk (asynchronous) causes
segfault).

In an effort to try and identify the cause of the bug readings of the
way net-snmp works indicates that invoking a 'bulkwalk' from a callback
will cause issues.

Hence, I've modified the SNMP library to use the single session api and
invoke the perl callback from the main loop (and not directly from the
snmp callback handler).

Unfortunately all my efforts so far are in vain as the root causes of
the problem seems to be quite elusive.

In addition to these problems there definitely appears to be memory
leakage in the perl. Running memory thousands of consecutive large
requests it is quite obvious that the perl process is consuming an
increasing amount of memory). The equivalent problem in 'C' shows no
sign of memory leakage at all.

I'm more than willing to work on the problem (having spent a couple of
weeks on this so far). And am quite keen to improve the functionality /
usability of net-snmp. It would be nice to converse with some kind soul
who has worked on the internals of the perl module and has the desire to
improve its reliability.

   -Greg




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to