64 bit counter and Debian (hangs the updating)

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
Gorbachov
Posts: 29
Joined: Sun May 04, 2008 12:20 pm
Contact:

64 bit counter and Debian (hangs the updating)

Post by Gorbachov »

Hello Dear,

I have several RHEL 5 servers, the traffic between them is more than 100Mbit that is why I use 64 bit counters for the interface statistics.
The graphs are correct.

I have a server with Debian lenny again connected on 1gb network and the traffic exceeds 100Mbits I decided to switch to 64 bit counters and have correct graphs, but no luck. If I scp 16GB file over the network with speed 40-50MB/s on the graphs just stop updating for this host till it finishes the scp?!
I use SNMP v2 and I have created new graphs to use 64 bit to mbytes/sec

What is wrong where I should start debuging?

Thanks in advance!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There's a chance that the SNMP UDP packet is dropped due to excessive interface traffic. You may verify this by running a tcpdump (wireshark) on port 161 for that host
Reinhard
User avatar
Gorbachov
Posts: 29
Joined: Sun May 04, 2008 12:20 pm
Contact:

Post by Gorbachov »

I have found out something, all redhat servers are on a blade HP GbE2c swtiches. The server that I have problems is on an HP Procurve swtich. I can't get correct graphs from this swtich too?!

The graph on the port of the GbE2c that is connected to the HP procurve is correct 50-60MB/s but the port on the HP gives me 5-6MB/s. Does this device support 64 bit counters, and could it be the problem of the wrong graphs of the Debian Server?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I can't verify this assumption. But the fact about different traffic data makes me wonder. Please visit both graphs at Graph Management, switch to debug and post them
Reinhard
User avatar
Gorbachov
Posts: 29
Joined: Sun May 04, 2008 12:20 pm
Contact:

Post by Gorbachov »

I hope this is the staff you asked for:
Attachments
cacti1.png
cacti1.png (60.09 KiB) Viewed 2692 times
cacti2.png
cacti2.png (64.61 KiB) Viewed 2692 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Both graphs are printing in orders of [bytes]; that's fine. And I don't see a difference in magnitude, even if both graphs do not fit exactly
Reinhard
User avatar
Gorbachov
Posts: 29
Joined: Sun May 04, 2008 12:20 pm
Contact:

Post by Gorbachov »

I am sorry I did not post a graphs with data transfer higher than 10MB/s.

As you can see on this post, on the graph of the HP Procurve I can't get anything more than 12.86.
Attachments
cacti3.png
cacti3.png (42.16 KiB) Viewed 2647 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Then, please post the rrdtool graph statements from those graphs like your second to last post
Reinhard
User avatar
Gorbachov
Posts: 29
Joined: Sun May 04, 2008 12:20 pm
Contact:

Post by Gorbachov »

Here you are:
Attachments
cacti5.png
cacti5.png (49.77 KiB) Viewed 2637 times
cacti4.png
cacti4.png (47.97 KiB) Viewed 2639 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Again, both graphs do NOT use any scaling factor or calculate bits from bytes. So this is NOT the cause of your problems.
But be careful. As cacti collects data every 300 sec, it is hard to compare peaks, because the may differ to a significant extend if polled at a slightly different time (in fact, I do NOT assume that this explains the difference, but it's hard to tell).
But even the "normal" data seems to be different, even if it's hard to tell from the graphs.
Further debugging requires using data from rrd files, see how they get updated to rrd, see the original data fetched from targets and stuff. Find an intro to this at the 2nd link of my signature. But keep ready for a longer debugging session
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest