You are not logged in.

#1 2007-11-09 09:37:57

b9anders
Member
Registered: 2007-11-07
Posts: 691

nano using 99% of the cpu

I was working a bit with tweaking arch in konsole when suddenly my fan starts to go noisy. I was a bit perplexed as I only had opera running with some simple pages loaded and a console running with root privileges. htop told me that it was nano running that took up 99% of the cpu - even after I closed the one instance of nano I had running (although I had opened it many times during the boot for tweaking), it still kept going at this rate until I killed it.

Don't think I've ever seen that one before. Anyone who would care to venture a guess as to how that can happen?

Offline

#2 2007-11-09 11:42:54

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,642

Re: nano using 99% of the cpu

try to reproduce it and then contact the nano developers.

Offline

#3 2007-12-15 04:54:42

5x5
Member
From: Texas
Registered: 2007-12-15
Posts: 25
Website

Re: nano using 99% of the cpu

I'm experiencing this same problem.  Nano is currently at 58% of cpu according to conky (not sure how reliable conky's reporting is on this).  I'm a brand-new Arch/Nano user so I'm a little perplexed.  Nano still runs even after logging out and back in.  Is it supposed to run automatically?  Does anyone know if this issue has been resolved or know of a fix...like can I uninstall Nano and just use Vim?


I've finally achieved the Arch.  Life is good.

Offline

#4 2007-12-15 19:55:14

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: nano using 99% of the cpu

Um.. it shouldn't *typically* run at boot, but could be configured to do so.  I've never had any problems with nano personally.  I use it an love it.

You're free with arch to use whatever editor you want though.

So yea    pacman -Rns nano         -- Removes nano and all its config files and depencies
and then  pacman -S vim

Cheers,
Shane

Last edited by sjb933 (2007-12-15 19:55:25)

Offline

#5 2007-12-16 13:16:57

5x5
Member
From: Texas
Registered: 2007-12-15
Posts: 25
Website

Re: nano using 99% of the cpu

Thx very much for the help, Shane.  Well, I uninstalled it but wow....I think vim is maybe a little over my head just yet.  :-)  Maybe I'll try reinstalling nano and see if the issue resolves itself.  Otherwise, I think I'm going to have to do some studying.  Ha. Yep, I really like Nano, too.  Was pretty shocked to see the high cpu usage and that it was showing up as running on login.  Very strange.


I've finally achieved the Arch.  Life is good.

Offline

#6 2007-12-16 13:33:57

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: nano using 99% of the cpu

Maybe you could try something a bit less mainstream. Maybe this will help http://en.wikipedia.org/wiki/Comparison_of_text_editors.

I guess it all depends on what level of editing you're doing.

Offline

#7 2007-12-16 21:01:15

5x5
Member
From: Texas
Registered: 2007-12-15
Posts: 25
Website

Re: nano using 99% of the cpu

Lol.  My level of editing is very nearly underground at this point.  I'm doing just basic Arch stuff...no development or anything.  That's why I was so pleased with nano...until I noticed the problem.  Thanks for the link.  I'll maybe try a couple of those and see how they work out.


I've finally achieved the Arch.  Life is good.

Offline

#8 2007-12-16 21:13:42

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: nano using 99% of the cpu

Give mined a shot. It's a text-based editor that's around as easy as nano.

Offline

#9 2007-12-16 22:08:28

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: nano using 99% of the cpu

My level of editing is also very low, so much that all the disadvantages of 'ed' are meaningless.

Give it a try (good tutorial) with as few operators it's easy to learn. (and it's nice to know you know your editor 100% (something impossible with vim/emacs))

I like how it doesn't overwrite the entire screen and it suspends well, which are both really nice for editing (config) files when you need background info (e.g. man pages).

rlwrap is recommended, but it fudges up 'tab' by default.

Offline

#10 2007-12-17 16:43:11

5x5
Member
From: Texas
Registered: 2007-12-15
Posts: 25
Website

Re: nano using 99% of the cpu

I will try both of those out.  I like the idea of being able to suspend man pages.  Can you suspend more than one document?  Right now, I'm spending alot of time going back and forth, and scrolling.  Do these editors also have the general commands at the bottom like nano for easy referrel?  I liked that too.
This doesn't have anything to do with nano, per se, but I just have to say how pleased I am that I went ahead and attempted Arch.  I was so afraid that I'd end up with a system that I didn't know how to use...but Arch (and these very helpful forums and the wiki) are easing me into learning to do things manually and I'm (very slowly) learning so many things about how my system operates.  I got my feet wet with Linux about 7 years ago with Mandrake and that lasted for about 2 mths due to frustration and lack of the kind of support that is available today.  Nobody had time for noobs back then.  :-)  About 3-4 mths ago, I tried one of the live cds and was just stunned at how far things had progressed.  Linux is such an exciting, wide-open world full of possibilities for those who don't necessarily want to conform.  I'm sorry.  Just very excited about all this...Linux in general, Arch specifically.  ha.  I'm sure alot of other newbies know what I'm talking about.  ;-)

Last edited by 5x5 (2007-12-17 16:44:09)


I've finally achieved the Arch.  Life is good.

Offline

Board footer

Powered by FluxBB