Why does Activity Monitor show so much continuous network traffic?

Even with all obvious network-using apps, like Mail, iCal, and Safari shut down, Activity Monitor's Network tab shows a constant 34-36 KB/sec of traffic both in and out; both Data Received and Data Sent increase by ~120 MB per hour (my Mac mini is connected solely using the GigE port, and I shut down all sharing services and Qmaster for testing purposes).

Neither atMonitor ( http://www.atpurpose.com/atMonitor/) nor MenuMeters ( http://www.ragingmenace.com/software/menumeters/) show this traffic; nor does tcpdump (command-line tool). For example, my mini has been up for 3 hours today; I've used Mail a bit, viewed a few websites, and downloaded a 23 MB disk image. MenuMeters and atMonitor show me at 5 MB sent, 41 MB received, while Activity Monitor shows 362 MB sent, 397 MB received!

Why the huge discrepancy? Which statistics do I believe? Where is Activity Monitor finding all that other traffic?

MBP 2.33/15"; Mini 2.0/4GB/512GB; MacBookAir; 8-core Mac Pro at work, Mac OS X (10.6.3)

Posted on Jun 2, 2010 11:18 AM

Reply
9 replies

Jun 2, 2010 3:24 PM in response to Adam Wilt

Are you connecting to a switch router with its own monitoring software, if so anything in those logs. I have been using this machine for about 6 hours and Activity Monitor shows 80Mb in and 20MB out and plenty idle time, which I would say is about right for what I am using it for for i.e Mail, Safari, iTunes (Genius is switched on) and a couple of software updates.

Jun 2, 2010 4:03 PM in response to rack0 tack0

The switches at home and at work generally corroborate the activity shown by tcpdump / atMonitor / MenuMeters, not the continuous data flow shown by Activity Monitor. The MacBook Air I'm sitting at right now shows similar discrepancies, with traffic totals in Activity Monitor about 40x higher than those shown with the other tools and a steady and inexplicable (and by other means invisible) 29-34 KB/sec of both sent & received traffic. tcpdump shows periods of network silence between 2-15 seconds in length (in between DNS lookups; netbios syncs; ntp queries; ipp messages; http, pop, and imap messages; etc. happening in bursts as one would expect).

Changing Activity Monitor to refresh every half second shows the mystery traffic as a burst of 112 KB sent & received every two seconds--and no, that's not the same throughput as the 29-34 KB seen at 2-second refresh intervals. When I set refresh to every 5 seconds, the mystery throughput drops to 22 KB / sec. As the throughput varies depending on refresh interval, I wonder if I'm seeing internal loopback queries (or something of that sort) contributing to the totals. Is it possible that the mystery traffic is of AM's own creation, and only exists within the machine and is not actually sent on the network?

Lest we digress further into general network troubleshooting techniques, let me restate the question, perhaps a bit more clearly: has anyone else seen this traffic-volume discrepancy between the Activity Monitor's Network tab and other network monitoring tools, and does anyone have an explanation for it?

Jun 2, 2010 5:00 PM in response to Adam Wilt

Update: It does indeed appear that Activity Monitor on 10.6.3 is showing traffic on the loopback interface "lo0". I disabled all external networking, and still got 29 KB/sec traffic. During a 30-second test, AM showed 504 packets/sec in and out; tcpdump captured 30248 packets from lo0, or 504.13 packets/sec. Hmmm.

AM in 10.5.8 (running on my Mac Pro) doesn't do this: when the network is disconnected, AM shows 0 bytes/sec in and out, just like MenuMeters and atMonitor.

Jun 3, 2010 12:32 AM in response to Adam Wilt

Hi Adam,
I can only run some tests on my machine, no idea whats happening with your lo0. I have just disconnected the cable from the ethernet port and left AM running for about 5 minutes, it had no traffic on the graph and the data received /sent was 0. I just disconnected the cable not sure if you disabled the ethernet in the network utility or pulled the cable.
I am running 10.6.3 on a 2 year old 20"iMac, its no answer to your problem but it shows that at least one 10.6.3 machines does not have this effect.
Whats the next step, perhaps boot into safe or single user mode and see if it is still there?

regards

Jun 4, 2010 7:03 PM in response to rack0 tack0

My next step, since I now know what's going on with my machines, if not why, is to ignore Activity Monitor--I have work to do, and I now know what info to trust to do it with.

It might be amusing to go on a snipe hunt and suss out why it's occurring, but I have far too much other stuff I should be doing instead. I have a perfectly functional workaround (ignore AM in favor of 3rd party tools), and that's better than embarking on an open-ended investigation with no predictable endpoint!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why does Activity Monitor show so much continuous network traffic?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.