On 2014-07-24 18:30, Alex Povolotsky wrote:
You see, for my setup, about 150 devices, default poller makes 9393 calls to snmp*.
So?
That means about 30 forks per second for snmp calls, and about the same number of rrdtool forks. Running lots of forks for short-lived programs is a sure way to bring system to its knees, and the more processors you have, the heavier is fork load. Running many pollers in parallel does nothing to ease this burden, for we are to make over 9000 forks every 5 minutes.
[citation needed]
Anyway, I'm not into proving you that one language is better than annother, or perusade you to do anything. If someone need quick and light poller, one can git clone it. If someone is interested in collaboration, I'm open. If someone is content with python wrapper around php wrapper of snmp* and rrdtool, than it's just fine.
I'm not convinced that "these numbers seem big!" without any other supporting data is a good justification for trying to rewrite 90,000 lines of code.
adam.