Linux – Nano process occupying 100% CPU

linuxUbuntu

I have a Ubuntu web server for Rails 3.0 application. when I login to my webserver and do

top

I get set of processes with their stats. Out of that nano process is occupying 100% of the CPU. And that nano process is a root process. I dont know what is going wrong. Because of this, my apache processes, ruby processes all are getting their chance to answer to answer any web requests.

I am the only one who is logged in via ssh. I have disabled webserver logins via password. Please help.

Best Answer

I've had this happen with other text editting programs if I'm ssh'd into the box and lose connection. When I go back in, the process I was using before disconnect was taking 100% cpu.

I'd kill it.