 |
 |
"netstat" taking 90% CPU
|
 |
|
 |
|
Senior User
Join Date: Mar 2000
Location: London
Status:
Offline
|
|
Hi All,
I've got a rev B G5 (2.0Ghz) and root is running netstat, which taking up to 90% of the CPUs (between 70% and 90%, but usually around 90%).
I'm not running netstat via the Network Utility, though I do have 5 or so windows open in Safari (but they're relatively simple sites, like MacNN).
I haven't encountered this behaviour on my G4/500 (both machines are running OSX 10.3.4)
If I force quit the app, it just starts up again. Restarting and logging out (which I'd rather not get into the habit of doing) solve the problem, for a while.
Why would netstat even be running, much less taking just about all of my CPU cycles?
TIA for any help,
Chas
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2001
Location: Sitting in front of computer
Status:
Offline
|
|
I've had the same prob. I just quit it and it goes back to taking hardly any CPU...
|
|
I free'd my mind... now it won't come back.
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Mar 2000
Location: London
Status:
Offline
|
|
Hi RevEvs, thanks for the info
I wonder what the heck it thinks it's doing? (I didn't just invest in my nice new dual processor Mac to have those processors max out all day long so that some small piece of software can look up ip addresses...)
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Next time this happens, try looking in Activity Monitor with the "Show" menu set to "All processes, hierarchically." Then you can see what's invoking netstat. It could be useful to know.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Mar 2000
Location: London
Status:
Offline
|
|
Hi Chuckit,
So, what's "hierarchically" do then? (I see that hierarchically, well, puts processes in hierarchical order, but what's that order based on?).
I usually just show my own processes, based on CPU usage (I use MenuMeters to put up a graph of CPU usage in my menu bar, which is how I first noticed that netstat was doing strange things)
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jan 2003
Location: Stuttgart, Germany
Status:
Offline
|
|
Originally posted by chasg:
So, what's "hierarchically" do then? (I see that hierarchically, well, puts processes in hierarchical order, but what's that order based on?).
If a process A spawns another process B, then B is a child of A. Every process is a child of 'init', which always is the first thing to get started after the kernel has been initialized. So, if something starts up 'netstat', it should appear as a child of the offending process in Activity Monitor.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Mar 2000
Location: London
Status:
Offline
|
|
great info, thanks! (how useful :-)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Feb 2001
Location: Sitting in front of computer
Status:
Offline
|
|
Originally posted by Chuckit:
Next time this happens, try looking in Activity Monitor with the "Show" menu set to "All processes, hierarchically." Then you can see what's invoking netstat. It could be useful to know.
Cool. never noticed the hierachy option before. 
|
|
I free'd my mind... now it won't come back.
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|