LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-20-2004, 03:25 PM   #1
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Rep: Reputation: 30
nano using >99% of CPU!!!


What was going on???

I used nano earlier during the day and I came back to my computer to find that almost 100% CPU usage, and nothing running. Strangely this did not slow the computer at all, but it was strange. I ran "top" and found nano was responsible, though I had closed the Terminal it was running in earlier (probably why it was unhappy).

I just killed the process, and everything went back to normal.

Is this normal? Is this a bug? How do I find out what it was doing?
 
Old 06-20-2004, 03:41 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Try and leave it again. It shouldn't use so much processor power, especially when idle. So it looks it's a bug.
 
Old 06-21-2004, 08:15 PM   #3
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
I've tried reproducing it and I can't I can't see the problem would be with nano though...its such a small simple program, which leads me to think something else must have messed up. Either way, I guess its not worth putting too much time towards.

Thanks
 
Old 06-22-2004, 09:52 PM   #4
Rudwardt
LQ Newbie
 
Registered: May 2004
Location: Germany
Distribution: Debian
Posts: 22

Rep: Reputation: 15
I don't know if it's the same issue, but if I use a sudo aptitude in a terminal window and don't exit the program but just close the window, I get the same (aptitude using 100% cpu). That is due to aptitude being a root process that can't be shut down from the terminal window which only has user privileges. I think aptitude then tries to do some I/O without having a terminal and thus starts munching cpu out of frustration.

As I said, it might not be related but it looks the same.
__
Rud
 
Old 06-22-2004, 11:41 PM   #5
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
That is exactly it. I can reproduce the problem. So would that be a bug? If so, I'm assuming that is with the terminal rather than nano.

Thanks, its good to know what happened.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nano hostmark101 Linux - Newbie 8 08-12-2005 06:53 PM
Nano RPM? ghight Suse/Novell 5 02-07-2005 11:09 AM
simple Nano question BillKiller Linux - Newbie 2 01-30-2005 01:17 PM
nano -w /etc/hosts bobotoes Linux - Newbie 5 10-04-2004 01:49 PM
pico nano shania Linux - Newbie 2 10-30-2003 12:27 PM


All times are GMT -5. The time now is 12:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration