Page 1 of 2 [ 24 posts ]  Go to page 1, 2  Next

kip
Veteran
Veteran

User avatar

Joined: 13 Mar 2007
Age: 37
Gender: Male
Posts: 1,166
Location: Somewhere out there...

07 Jul 2009, 3:39 am

Ok, as I'm sure everyone here already knows, I'm still a bit of a linux n00b. I use it mainly as an internet condom, if you will, knowing I'm protected from pretty much everything out there.

Lately, however, I've been having trouble with it. The computer shuts itself off randomly, without me even touching it. It's trying to go to sleep, I think, but it's buggy. My programmes are all beginning to lag horribly, to the point where I often have time to get a cup of coffee before it's done loading.

Now, if this was Windows, I'd have a dig through the registry, see if any new friends had shown up. Maybe turn off a startup item or two. But in Linux, I have NO idea how to do any of this.

I run Ubuntu 9.04 Jaunty with no major modifications. At any given time I'm running GIMP, OO, Rythembox, and Pidgin, usually with a firefox window open on top. I set it to have a 4 gig, I think, swap, along with 2 gigs of ram.

So... can anyone give me any ideas on what to check to see why it's running so poorly? I've never had trouble with this before, Linux usually runs beautifully. Any advice would be welcome.


_________________
Every time you think you've made it idiot proof, someone comes along and invents a better idiot.

?the end of our exploring, will be to arrive where we started, and know the place for the first time. - T.S. Eliot


Meta
Toucan
Toucan

User avatar

Joined: 15 Jun 2009
Age: 50
Gender: Male
Posts: 276

07 Jul 2009, 3:47 am

Can you see with (command line command) "top" what is running in the background? Sometimes apps go into a strangeloop and start using 99.999....% of cpu.



kip
Veteran
Veteran

User avatar

Joined: 13 Mar 2007
Age: 37
Gender: Male
Posts: 1,166
Location: Somewhere out there...

07 Jul 2009, 4:11 am

Meta wrote:
Can you see with (command line command) "top" what is running in the background? Sometimes apps go into a strangeloop and start using 99.999....% of cpu.


Altogether everything running is using about 15-20%, and about 30% RAM.


_________________
Every time you think you've made it idiot proof, someone comes along and invents a better idiot.

?the end of our exploring, will be to arrive where we started, and know the place for the first time. - T.S. Eliot


Meta
Toucan
Toucan

User avatar

Joined: 15 Jun 2009
Age: 50
Gender: Male
Posts: 276

07 Jul 2009, 4:17 am

and nothing looks out of the ordnary in dmesg or the /var/logs/* ?

Also take a look at http://ubuntuforums.org/showthread.php?t=616744 and http://www.google.com/search?client=saf ... 8&oe=UTF-8



kip
Veteran
Veteran

User avatar

Joined: 13 Mar 2007
Age: 37
Gender: Male
Posts: 1,166
Location: Somewhere out there...

07 Jul 2009, 4:54 am

Meta wrote:
and nothing looks out of the ordnary in dmesg or the /var/logs/* ?


I wouldn't even begin to know where to look in dmesg... but I can tell you it's incredibly long. Would it help if I posted it?

Meta wrote:


It's not just the internet, it's EVERYTHING. Even something simple like Mahjongg loads slow.


_________________
Every time you think you've made it idiot proof, someone comes along and invents a better idiot.

?the end of our exploring, will be to arrive where we started, and know the place for the first time. - T.S. Eliot


Fuzzy
Veteran
Veteran

User avatar

Joined: 30 Mar 2006
Age: 52
Gender: Male
Posts: 5,223
Location: Alberta Canada

07 Jul 2009, 7:38 am

kip wrote:
Meta wrote:
and nothing looks out of the ordnary in dmesg or the /var/logs/* ?


I wouldn't even begin to know where to look in dmesg... but I can tell you it's incredibly long. Would it help if I posted it?

Meta wrote:


It's not just the internet, it's EVERYTHING. Even something simple like Mahjongg loads slow.


I wonder if your swap is misbehaving.

applications>add/remove>gparted

Start it and find swap and right click. turn off swap.
or on the commandline(dont need to install anything)

type swapoff -a -v

Do things run better??


You can restart swap or it should restart when you reboot.


_________________
davidred wrote...
I installed Ubuntu once and it completely destroyed my paying relationship with Microsoft.


TOGGI3
Velociraptor
Velociraptor

User avatar

Joined: 12 Jun 2009
Age: 38
Gender: Male
Posts: 410

07 Jul 2009, 7:41 am

it shuts down softly or goes down hard? you may have a hardware problem?



cyberscan
Veteran
Veteran

User avatar

Joined: 16 Apr 2008
Age: 56
Gender: Male
Posts: 1,296
Location: Near Panama, City Florida

07 Jul 2009, 8:46 am

Try looking up other computers such as via host wrongplanet.net and see how long it takes to get a response. I noticed that sometimes when network connections are slow, my computer will be slow in opening programs.


_________________
I am AUTISTIC - Always Unique, Totally Interesting, Straight Talking, Intelligently Conversational.
I am also the author of "Tech Tactics Money Saving Secrets" and "Tech Tactics Publishing and Production Secrets."


Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 35
Gender: Male
Posts: 12,518
Location: Room 101

07 Jul 2009, 9:31 am

There is also a place for Startup items somewhere in the Administration or Preferences menu, but that shouldn't be a real issue. The apps you listed are pretty heavy, but nothing that your machine shouldn't be able to handle.

Like Fuzzy said, it may be a problem with the swap. With 2GB of RAM, you really probably don't even need swap space at all. I never use it. Or, you could change the "swappiness" setting, it's an integer 1-100. IIRC, higher means it will move stuff to swap faster, lower means it will try to keep it all in main memory. Try a few different settings, see what works.

As far as shutting off for no reason, check the power saving settings. Ubuntu has messed those up for me on a few occasions, and suspend/hibernate may or may not be broken on your hardware.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


kip
Veteran
Veteran

User avatar

Joined: 13 Mar 2007
Age: 37
Gender: Male
Posts: 1,166
Location: Somewhere out there...

07 Jul 2009, 11:47 am

Well, I turned off swap. Noticeable difference on the net, but that may have something to do with it being 0940 here, not many people bogging down the cool sites. I suppose I'll know for sure in a day or so.

I know there is a hardware issue with this computer, one of the pins on the CPU is broken off. It seems to cause momentary mouse freezes in both OS's, and thats the only thing. I was using it like this for months before this problem without an issue other than that. I don't have these issues in Windoze, so I suppose it's safe to rule out the hardware. It's a sad day when I can honestly say windoze runs better than linux.

And Orwell, I don't even try with the sleep settings. I've never been able to get them to do anything, much less work, so I just disable sleep.

And the random shutdowns I'm talking about, to elaborate: the screen goes black for a second, screensaver pops up, then screen goes black again. Then the computer shuts off. I disabled hibernate, so I know it's not doing that. Its acting almost like the power button was hit, but without the little 'your computer will shut down in 60 seconds' dialog.


_________________
Every time you think you've made it idiot proof, someone comes along and invents a better idiot.

?the end of our exploring, will be to arrive where we started, and know the place for the first time. - T.S. Eliot


OddFinn
Veteran
Veteran

User avatar

Joined: 27 Jun 2009
Age: 57
Gender: Male
Posts: 1,276
Location: Finland

07 Jul 2009, 12:49 pm

I recall Linus being somewhat arrogant, so maybe that is what is happening to your OS, as well? :D


_________________
Any connection between your reality and mine is purely coincidental.


Jono
Veteran
Veteran

User avatar

Joined: 10 Jul 2008
Age: 43
Gender: Male
Posts: 5,653
Location: Johannesburg, South Africa

07 Jul 2009, 2:54 pm

Kip, have you tried checking how much space you have left. I'm not sure about why the computer would shut down on its own but I've had a problem with everything being slow, earlier on in the year and I'm currently using Ubuntu Hardy Heron. Firefox also seemed to of lost its short term memory, not remembering the pages I had recently been to. It happened after an upgrade and it turned out that 100% of the space was used up. Because Linux is made up of many different programs that communicate with each other, it needs some space for them to communicate properly. Once I freed up some space, by deleting quite a few package files and some programs and components that I didn't need, it worked fine. Then again, you could also have a hardware problem so maybe it would be best if you checked that as well.



kip
Veteran
Veteran

User avatar

Joined: 13 Mar 2007
Age: 37
Gender: Male
Posts: 1,166
Location: Somewhere out there...

07 Jul 2009, 4:00 pm

Jono wrote:
Kip, have you tried checking how much space you have left. I'm not sure about why the computer would shut down on its own but I've had a problem with everything being slow, earlier on in the year and I'm currently using Ubuntu Hardy Heron. Firefox also seemed to of lost its short term memory, not remembering the pages I had recently been to. It happened after an upgrade and it turned out that 100% of the space was used up. Because Linux is made up of many different programs that communicate with each other, it needs some space for them to communicate properly. Once I freed up some space, by deleting quite a few package files and some programs and components that I didn't need, it worked fine. Then again, you could also have a hardware problem so maybe it would be best if you checked that as well.


I have 70 gigs allocated to this OS, it's nowhere near full.


_________________
Every time you think you've made it idiot proof, someone comes along and invents a better idiot.

?the end of our exploring, will be to arrive where we started, and know the place for the first time. - T.S. Eliot


Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 35
Gender: Male
Posts: 12,518
Location: Room 101

07 Jul 2009, 4:25 pm

Boot from the Ubuntu CD and run memtest?


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


Fogman
Veteran
Veteran

User avatar

Joined: 19 Jun 2005
Age: 57
Gender: Male
Posts: 3,986
Location: Frå Nord Dakota til Vermont

07 Jul 2009, 4:46 pm

kip wrote:
I know there is a hardware issue with this computer, one of the pins on the CPU is broken off. It seems to cause momentary mouse freezes in both OS's, and thats the only thing. I was using it like this for months before this problem without an issue other than that. I don't have these issues in Windoze, so I suppose it's safe to rule out the hardware. It's a sad day when I can honestly say windoze runs better than linux.


I have no idea of the spec of your computer, but having one pin missing from the CPU could possibly cause problems due to the fact that *NIX utilises your hardware much differantly than Windows. Another thing that I'm thinking is that your system could possibly be overheating.

I currently run Ubuntu 8.04 on another system and have not had any issues with hardware. As a matter of fact it ran continuously from the beginning of last October to April 13th when it crashed from a power outage caused by a thunderstorm. It has run continously again since then with the only disruptions cause by storm induced power outages.


_________________
When There's No There to get to, I'm so There!


kip
Veteran
Veteran

User avatar

Joined: 13 Mar 2007
Age: 37
Gender: Male
Posts: 1,166
Location: Somewhere out there...

07 Jul 2009, 10:42 pm

Fogman wrote:
kip wrote:
I know there is a hardware issue with this computer, one of the pins on the CPU is broken off. It seems to cause momentary mouse freezes in both OS's, and thats the only thing. I was using it like this for months before this problem without an issue other than that. I don't have these issues in Windoze, so I suppose it's safe to rule out the hardware. It's a sad day when I can honestly say windoze runs better than linux.


I have no idea of the spec of your computer, but having one pin missing from the CPU could possibly cause problems due to the fact that *NIX utilises your hardware much differantly than Windows. Another thing that I'm thinking is that your system could possibly be overheating.


It's an AMD ath 64bit running at 2.2 with 2 gb ram on a biostar board. According to the docs, the missing pin is a dead one, has no value assigned to it. Supposedly it does nothing, though I know it's there for a reason.

Fogman wrote:
I currently run Ubuntu 8.04 on another system and have not had any issues with hardware.


See now, I have the same experience. This comp ran beautifully with 8.04 and 8.10. It's 9.04 thats causing the problem, but no one on the Ubu forums seems to have this issue... it's like it's the perfect storm of crap hardware and bugged OS.

Update on swap: Comp shut itself off again, re-enabling swap. Noticeably slower than it was after I disabled it, so it's possible Fuzzy was right and there is something wrong with the way it talks to the swap. I'm just glad OO has that document recovery feature.


_________________
Every time you think you've made it idiot proof, someone comes along and invents a better idiot.

?the end of our exploring, will be to arrive where we started, and know the place for the first time. - T.S. Eliot