/sbin/getty process causing 100% CPU utilization

Posted by scrrr on Ask Ubuntu See other posts from Ask Ubuntu or by scrrr
Published on 2012-08-11T19:54:54Z Indexed on 2012/12/06 17:21 UTC
Read the original article Hit count: 845

Filed under:
|
|

I have an instance of Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual i686) running as a KVM-VM on a host-machine that runs one more VM beside it.

I deploy a Ruby on Rails application using the Capistrano deployment-gem.

However, if I deploy twice in a row in a short time, the CPU usage jumps to 100% because of the /sbin/getty process.

How can this be?

I believe getty is a rather simple program that passes a login-name from a terminal to a login-process.

Also: In my Capfile (Capistrano configuration file) I am running certain commands after the Rails application is deployed including a call to sudo /sbin/restart <APPNAME> which is an upstart task.

Could this be related somehow?

I can always kill the getty process and the problem is gone until the next deployment, but I would rather understand and fix the problem.

Any help is appreciated. Attached is a screenshot of my problem.

/sbin/getty causes 100% CPU load

© Ask Ubuntu or respective owner

Related posts about server

Related posts about upstart