The Church Media Community
Equipping You to Communicate Effectively
support CMN & share a
library of 19K+ images, videos, etc
Go Pro!
 
Go Back   The Church Media Community > Computers > Linux
Forgot Password?
                          Register

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old Thursday, May 1st, 2008, 09:46 AM
cjlowe's Avatar
My other car is a CMN

 
 Join Date: May 2007 
 Last Online: Sunday, March 1st, 2009 
Heh. Never seen THIS before.

One of my work servers did something interesting... see the attachment.

What you're looking at is a utility called htop. It basically does the same thing as top, but with a higher prettiness factor. The graphs top-left show you CPU usage - CPU 3 is at 100% usage. When we look at the list of currently-running processes, we find the cause is nano snmpd.conf, which has been running nearly a day. I confronted my colleague and found that he had used nano to edit a file the day before.

Basically, this is the equivalent of leaving Notepad open on a 44KB file, then coming back a day later to find out that it was using 100% of your CPU. It's absolutely bizarre - I've heard of memory leaks, but I've never seen cycle leaks before. Of course killing the process solved the problem (and dropped the load averages to near-zero), but still... how does this happen?!

(Why yes, the current working directory is called "solaris poo". How observant of you).
Attached Images
File Type: png admin@bender.png‎ (43.9 KB, 43 views)
Reply With Quote Start a New Topic From This Comment
  #2 (permalink)  
Old Thursday, May 1st, 2008, 10:16 AM
waynehoskins's Avatar
The Crazy Analog Guy
Become a CMN Professional Member!

 
 Join Date: May 2006 
 Last Online: Today 
I like that the machine name is bender.

At work we got four laptops at Christmastime. Accordingly, we named them john, paul, george, and ringo.

nano foo using 100% CPU. Weird. Perhaps that's why we should use vi, or even ed?
Reply With Quote Start a New Topic From This Comment
  #3 (permalink)  
Old Thursday, May 1st, 2008, 03:46 PM
Lucas's Avatar
iNerdy

 
 Join Date: Oct 2006 
 Last Online: Saturday, December 17th, 2011 
Bender always is a trouble maker.
Reply With Quote Start a New Topic From This Comment
  #4 (permalink)  
Old Thursday, May 1st, 2008, 06:15 PM
cjlowe's Avatar
My other car is a CMN

 
 Join Date: May 2007 
 Last Online: Sunday, March 1st, 2009 
I use vi. It's my colleague who insists on nano.
Reply With Quote Start a New Topic From This Comment
  #5 (permalink)  
Old Thursday, May 1st, 2008, 10:51 PM
Smob's Avatar
Video Production

 
 Join Date: Aug 2004 
 Last Online: Monday, November 30th, 2009 
 Blog Entries: 4
Looks like he may of suspended nano and it continued to poll for input. How did he exit nano?
Reply With Quote Start a New Topic From This Comment
  #6 (permalink)  
Old Thursday, May 1st, 2008, 11:44 PM
cjlowe's Avatar
My other car is a CMN

 
 Join Date: May 2007 
 Last Online: Sunday, March 1st, 2009 
I'm not sure. But I "exited" it for him with a friendly number nine
Reply With Quote Start a New Topic From This Comment
Reply

  The Church Media Community > Computers > Linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:



Add to Google


Register Now for FREE!
Our records show you have not yet registered to our community. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


All times are GMT -6. The time now is 06:04 PM.

   
 
© 1995-2008, ChurchMedia™, ChurchMedia LLC

SEO by vBSEO 3.1.0