Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Memory Problems.


  • Please log in to reply
8 replies to this topic

#1 enfant terrible

enfant terrible

  • Members
  • 112 posts
  • OFFLINE
  •  
  • Local time:10:14 AM

Posted 20 September 2008 - 06:25 PM

I recently installed Ubuntu Linux on my PC, and have noticed I get a lot of gray screens and my browser crashes a lot, particularly when I open lots of tabs or when I view a web page with lots of video content. Suspecting memory problems, I ran "top" and it shows that something is hogging about 95% of my memory, but I have no idea what, and no one on the ubuntu forums can figure it out either. Does anyone here have any idea of what it could be?

TIA for any help you can give.

BC AdBot (Login to Remove)

 


m

#2 Alan-LB

Alan-LB

  • Members
  • 71 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Junee, NSW, Australia
  • Local time:02:14 AM

Posted 20 September 2008 - 10:07 PM

In the list that top shows it will give the name of the process taking up the resources - what is it??

Alan
There are 10 types of people - those who understand binary and those who don't!!

Today is the Beta version of Tomorrow!

#3 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:10:14 AM

Posted 20 September 2008 - 10:16 PM

When you run "top" in a terminal window you will get an output like:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4759 root 20 0 68032 44m 5020 S 0.7 4.4 10:56.31 X <---
12646 raw 20 0 1968 984 776 R 0.3 0.1 0:00.01 top <---
1 root 20 0 1552 504 448 S 0.0 0.0 0:00.84 init
2 root 39 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
3 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 events/0
4 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 khelper

The programs at the top of the list are using the most resources,
I marked them with the red arrows. Post the first few lines as I did
so we can see what's running. Also provide some system specs such
as CPU and memory.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#4 enfant terrible

enfant terrible
  • Topic Starter

  • Members
  • 112 posts
  • OFFLINE
  •  
  • Local time:10:14 AM

Posted 20 September 2008 - 10:37 PM

Here's the output:

top - 20:37:03 up 6 min, 2 users, load average: 0.29, 0.78, 0.48
Tasks: 101 total, 2 running, 99 sleeping, 0 stopped, 0 zombie
Cpu(s): 30.0%us, 1.3%sy, 0.0%ni, 68.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 384508k total, 378684k used, 5824k free, 760k buffers
Swap: 1116476k total, 81584k used, 1034892k free, 44568k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5109 root 20 0 296m 66m 5912 R 26.6 17.7 0:49.37 Xorg
5883 mike 20 0 155m 58m 16m S 3.3 15.4 0:23.05 firefox
5764 mike 20 0 21644 10m 4880 S 1.3 2.8 0:05.66 compiz.real
5951 mike 20 0 2308 1100 852 R 0.7 0.3 0:00.32 top
1 root 20 0 2844 1472 504 S 0.0 0.4 0:01.42 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
7 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
41 root 15 -5 0 0 0 S 0.0 0.0 0:00.08 kblockd/0
44 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
45 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
111 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
145 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
146 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush

#5 enfant terrible

enfant terrible
  • Topic Starter

  • Members
  • 112 posts
  • OFFLINE
  •  
  • Local time:10:14 AM

Posted 20 September 2008 - 10:50 PM

Addendum: It's showing that I'm only using about 30% of the memprey now, probably because I killed compiz, which is one of the thhings they suggested at ubuntu forums. However, I'm still having problems with video content. Sometimes also when I try to play videos, they don't play in full color.

#6 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:10:14 AM

Posted 20 September 2008 - 11:03 PM

What video card do you have?
What browser do you use?
What type of video are you having problems with?

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#7 enfant terrible

enfant terrible
  • Topic Starter

  • Members
  • 112 posts
  • OFFLINE
  •  
  • Local time:10:14 AM

Posted 20 September 2008 - 11:24 PM

What video card do you have?


I don't even know. I'm pretty computer illiterate


What browser do you use?


Usually Firefox, but sometimes Opera

What type of video are you having problems with?


All kinds.

#8 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:03:14 PM

Posted 21 September 2008 - 08:25 AM

Id definitely get more RAM as when you start to use RAM and head into SWAP file use your system performance will slowly degrade as the more swap is being used.

#9 smurfgod

smurfgod

  • Members
  • 446 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Illinois
  • Local time:10:14 AM

Posted 21 September 2008 - 10:43 AM

If you're using the same Ubuntu I got at first, it came with the 3.0 beta, which crashed a LOT with the grey screen you're describing. Go get the real 3.01 or whatever its up to now from the mozilla site.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users