Bug 580208 - system using 900Mb RAM ?
Summary: system using 900Mb RAM ?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-07 17:48 UTC by Edwin Schepers
Modified: 2010-08-27 06:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-27 06:56:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
output of ps aux (19.85 KB, text/plain)
2010-04-17 21:10 UTC, Edwin Schepers
no flags Details

Description Edwin Schepers 2010-04-07 17:48:02 UTC
Description of problem:
When compiling a specific file of the kde's kdepim module, my system became totally unresponsive. I am not able to finish the compilation of the file
My cc1plus is using after a short time (30sec or so) 43%MEM.

It seems that my system uses almost 900Mb (not compiling). When I do 'ps aux' I  see on all processes 0.0 %MEM or just above. Only 3 processes use 1 to 2%.
I don't know what's using all this memory.

output of top:
top - 19:40:53 up 1 day,  6:01,  7 users,  load average: 0.00, 0.00, 0.00
Tasks: 229 total,   1 running, 227 sleeping,   0 stopped,   1 zombie
Cpu(s):  3.1%us,  5.8%sy,  0.0%ni, 90.8%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1004604k total,   893316k used,   111288k free,    72248k buffers
Swap:  3277176k total,   294804k used,  2982372k free,   257848k cached


Version-Release number of selected component (if applicable):
f13


Expected results:
using less memory

Additional info:

Comment 1 Dave Jones 2010-04-07 20:25:07 UTC
what else was running ?

there's not really much to go on here. most likely something in userspace is leaking memory, and this isn't a kernel bug.

Comment 2 Edwin Schepers 2010-04-07 20:33:59 UTC
Hello Dave,
No, probably not kernel, but I didn't know where to put this. Do you need some kind of info ? Why am I using 900Mb without using anything specific. I'm just logged in running nothing but a browser. This isn't normal is it ?
Is output of 'ps aux' of any help?

Comment 3 Dave Jones 2010-04-13 18:15:25 UTC
the browser would be my first suspect.  how much memory does top claim it's using ?

Comment 4 Edwin Schepers 2010-04-17 21:10:50 UTC
Created attachment 407314 [details]
output of ps aux

Hi,
Following is the output of top, running no browser at that moment.
ps aux is attached.

top - 23:05:26 up 29 min,  7 users,  load average: 0.05, 0.21, 0.28
Tasks: 224 total,   1 running, 222 sleeping,   0 stopped,   1 zombie
Cpu(s):  1.1%us,  5.2%sy,  0.0%ni, 93.4%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1004604k total,   933108k used,    71496k free,    40148k buffers
Swap:  3277176k total,    41392k used,  3235784k free,   276616k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                        
 1568 root      20   0  142m  22m 3912 S  5.9  2.2   3:26.80 Xorg                                                                                           
 1951 edwin     20   0  955m  16m  11m S  2.3  1.7   0:31.86 knotify4                                                                                       
 3704 edwin     20   0 15116 1340  940 R  2.3  0.1   0:00.78 top                                                                                            
 1952 edwin     20   0  865m  39m  20m S  2.0  4.0   0:37.56 plasma-desktop                                                                                 
 1998 edwin     20   0  560m  28m  12m S  1.6  2.9   0:08.47 konsole                                                                                        
 1080 root      20   0     0    0    0 S  0.3  0.0   0:03.30 kondemand/1                                                                                    
 1917 edwin     20   0  606m  19m  13m S  0.3  2.0   0:02.12 kded4                                                                                          
 1948 edwin     20   0  564m  19m  15m S  0.3  2.0   0:03.02 kwin                                                                                           
 1955 edwin     20   0  9216 1016  648 S  0.3  0.1   0:04.99 ksysguardd                                                                                     
 2179 root      20   0 44600  644  380 S  0.3  0.1   0:00.62 udisks-daemon                                                                                  
    1 root      20   0 19276 1232 1036 S  0.0  0.1   0:01.78 init                                                                                           
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.01 kthreadd                                                                                       
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                                                    
    4 root      20   0     0    0    0 S  0.0  0.0   0:00.16 ksoftirqd/0                                                                                    
    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                     
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1                                                                                    
    7 root      20   0     0    0    0 S  0.0  0.0   0:00.12 ksoftirqd/1                                                                                    
    8 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                                                     
    9 root      20   0     0    0    0 S  0.0  0.0   0:01.07 events/0                                                                                       
   10 root      20   0     0    0    0 S  0.0  0.0   0:01.08 events/1                                                                                       
...

Comment 5 Bug Zapper 2010-07-30 11:16:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Chuck Ebbert 2010-08-27 06:56:39 UTC
You have 320MB of cache and buffers in use. Use the "free" command to show how much memory is really in use, since buffers/cache can be dropped at any time if a program needs that memory.

$ free
             total       used       free     shared    buffers     cached
Mem:       3917548    3835252      82296          0     338744    2319380
-/+ buffers/cache:    1177128    2740420
Swap:      1025016        340    1024676

The second line shows I really have 2740420 bytes available.


Note You need to log in before you can comment on or make changes to this bug.