100% CPU by getty

Hello,

I have a problem with my Linode (details below) on which I run one Rails app (with mongodb).

I have getty process which takes 100% CPU.

top

PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                                                                                          
31509 root      20   0 12800 1916 1756 R  98.8  0.1  17:01.87 getty  

When I kill it, it appears again.

When I run strace -f -p PID then I get loop of

read(0, "", 1)                          = 0
read(0, "", 1)                          = 0
read(0, "", 1)                          = 0
read(0, "", 1)                          = 0

I've checked my logs if Linode was compromised but in logs is only me as root or deployer.

Any ideas what it could be, how to solve it?

Thank you in advance!

Linode setup

uname -a

Linux banik 3.16.7-x86_64-linode49 #3 SMP Fri Nov 14 16:55:37 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

head /etc/*release

==> /etc/lsb-release <==
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"

==> /etc/os-release <==
NAME="Ubuntu"
VERSION="13.04, Raring Ringtail"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 13.04"
VERSION_ID="13.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

1 Reply

i know this post is very old; but does anyone have any thoughts about this?

i also have getty at 100% and i'm not sure if it's the way it's supposed to be.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct