High CPU usage from getty on hvc0
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
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.
5 Replies
Here is the info you requested.
~$ head /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
$ uname -a
Linux anacreon 3.4.2-linode44 #1 SMP Tue Jun 12 15:04:46 EDT 2012 i686 i686 i386 GNU/Linux]
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.
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