nstat_lookup_entry failed errors when running Mail

Not sure if this was happening prior to the upgrade to Lion, but now, every 30 seconds when I am running mail, I see the following:


7/21/11 7:36:08.000 AM kernel: nstat_lookup_entry failed: 2

7/21/11 7:36:38.000 AM kernel: nstat_lookup_entry failed: 2

7/21/11 7:37:08.000 AM kernel: nstat_lookup_entry failed: 2

7/21/11 7:37:38.000 AM kernel: nstat_lookup_entry failed: 2


I am not sure it is causing any problems, but seems to go away when I am not running mail. Any ideas what this could be?


Mike

Posted on Jul 21, 2011 7:43 AM

Reply
8 replies

Sep 26, 2011 2:03 PM in response to loggedoff

This message stems from a new feature introduced in OS X Lion's kernel, which appears to collect network statistics. Given that every machine spits it out every now and then, it can safely be classified as simple noise.


The fact that it appears in the kernel log is probably a mere oversight on the side of Apple, as the message is certainly not critical and of absolutely no value. It looks like a debugging message the developer forgot to comment out.


This page by Simon Heimlicher analyzes the kernel source code and provides a kernel configuration change to disable network statistics collection and suppress the error message permanently.

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.

nstat_lookup_entry failed errors when running Mail

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