netsnmp_select_info timeouts and run_alarms
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
we have written a custom snmp daemon, we noticed it was reaching high cpu usage. the reason was that netsnmp_select_info returned decreasing timeouts, until it was returning almost zero timeouts, which we passed to the pselect function. I found suggestion to add run_alarms call in our loop, and it fixed it. why is the call to run_alarms required, is it possible to reset the timeout counter in other ways? ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users