Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

There's the odd forum topic about an error similarly obscure as this, but I haven't seen any for snmp_count in particular.

Also I don't see graphing problems, though I can't simply go and eyeball all graphs.

However the poller does time out and has to be stopped by its internal process preventing overruns. If I filter out the flood of this error in the log I dont get anything else except the poller timeout:

06/12/2014 12:48:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
06/12/2014 12:48:00 PM - SYSTEM STATS: Time:58.8566 Method:spine Processes:1 Threads:40 Hosts:1923 HostsPerProcess:1923 DataSources:61584 RRDsProcessed:0
06/12/2014 12:48:00 PM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal

I saw in the running processes /usr/local/spine/spine 0 2053 that's always left behind. When I kill it the flooding of the error stops. Of course it's the same on the next poll run as it goes through the devices.

2053 is apparently the DB ID for a device. I deleted it completely to see if that stops it. It doesn't, instead 2052 is seen there. I suspect It'll be the same if I keep deleting devices which I will not do.

This started happening midday when I wasn't doing anything to the cacti server. I have tried reducing Maximum Threads per Process to 1 and Number of PHP Script Servers to 1. I've been running it at 10 script servers / 40 threads for months with poll cycle time of about 20 sec.

I just found out Running snmpwalk on any host would begin returning the values but then timeout halfway through. This doesn't happen from different servers on the network this Cacti is suggesting still that it's a problem with it locally. Any suggestions?

For one polling cycle I changed to use cmd.php instead. then I started getting errors like CMDPHP: Poller[0] Host[45] DS[541] WARNING: Result from SNMP not valid. Partial Result: U Perhaps as expected. Looking closely I see that every snmpwalk I do is interrupted at the same place as if some byte limit is hit and the connection torn down.

Reboot doesn't fix it for what it's worth..

I now also did packet captures on both ends (device/cacti server) and I see the conversation is identical, no sent packets that didn't make it back to the cacti server, rather the server, snmp requester if you like just decided to timeout without sending the next get-request after the last get-response. 16 requests 16 responses on both captures.

As these happen on a specific segment of the tree I narrowed down my snmpwalk request so it's just in that area so that it'd take a minimal amount of time and data (32 packets..)

Can there be anything that would interrupt net-snmp's connection?

share|improve this question
Brilliant. Looks like it's a bug in net-snmp. sourceforge.net/p/net-snmp/mailman/net-snmp-coders/thread/… –  Recc Jun 17 at 10:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.