Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Sep 29, 2012 5:52 am 
Offline
Newbie

Joined: Sat Sep 29, 2012 5:43 am
Posts: 3
Hello,

I have been getting notifications from linode about high cpu usage. My linode is mainly used for private project hosting, so it does not serve high traffic stuff.

The output of htop on my linode is


Code:
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
2477 root      20   0  2388   12   12 R  100  0.0   5878:53 /sbin/getty -8 38400 hvc0
2303 redis     20   0  3296  528  412 S    0  0.1  44:31.10 /usr/bin/redis-server /etc/redis/redis.conf
28367 tdgs      20   0  2820 1116  868 R    0  0.2   0:00.12 top


Any help would be greatly appreciated.


Top
   
PostPosted: Mon Oct 01, 2012 10:54 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
What operating system and version are you using? What kernel are you using? (The commands head /etc/*release and uname -a will tell you the answers, respectively.)


Top
   
PostPosted: Tue Oct 02, 2012 8:44 am 
Offline
Newbie

Joined: Sat Sep 29, 2012 5:43 am
Posts: 3
You are right, my bad.

Here is the info you requested.

Code:
~$ head /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"


Code:
$ uname -a
Linux anacreon 3.4.2-linode44 #1 SMP Tue Jun 12 15:04:46 EDT 2012 i686 i686 i386 GNU/Linux]


Top
   
PostPosted: Sat Jan 19, 2013 10:10 am 
Offline
Newbie

Joined: Sat Sep 29, 2012 5:43 am
Posts: 3
*BUMP*


Top
   
PostPosted: Sat Jan 19, 2013 5:56 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Run
Code:
strace -f -p pid
replacing pid with the process ID of the getty process and post what the output is so we can see what it's doing.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Sat Jan 19, 2013 6:02 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
In addition to strace, have you tried just connecting to your Linode's console (through Lish) - e.g., the other end of that getty process - to see if anything interesting is going on? Maybe there's a ton of logging going on that you need to direct somewhere other than the console. Or maybe getty is stuck somehow trying to read input (so you don't even have a responsive login prompt), and just connecting and generating some characters would help flush it out.

If not, if you haven't already I'd probably also try restarting getty (I think "restart hvc0" would do it) to see if that helps.

-- David


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group