/sbin/getty process causing 100% CPU utilization
- by scrrr
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.