LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SuSE Pro - Mem leak? (https://www.linuxquestions.org/questions/linux-software-2/suse-pro-mem-leak-247254/)

mikedeatworld 10-25-2004 07:23 PM

SuSE Pro - Mem leak?
 
Not sure if I have a Memory leak, but top reports high mem usage even when idle:

Z,B Global: 'Z' change color mappings; 'B' disable/enable bold
top - 08:21:07 up 30 min, 1 user, load average: 0.31, 0.26, 0.34
Tasks: 82 total, 1 running, 80 sleeping, 1 stopped, 0 zombie
Cpu(s): 4.7% us, 1.0% sy, 0.0% ni, 93.7% id, 0.0% wa, 0.7% hi, 0.0% si
Mem: 386448k total, 377876k used, 8572k free, 7504k buffers
Swap: 772992k total, 4k used, 772988k free, 185768k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5292 miked 15 0 30260 16m 26m S 2.3 4.3 0:01.10 kdeinit
4030 root 15 0 97132 25m 76m S 2.0 6.7 1:29.51 X
4595 miked 15 0 57244 37m 34m S 1.0 10.0 0:08.96 nspluginviewer
4456 miked 15 0 57128 44m 37m S 0.3 11.7 0:58.54 kdeinit
5303 miked 17 0 1760 908 1540 R 0.3 0.2 0:00.01 top
1 root 16 0 588 240 444 S 0.0 0.1 0:05.20 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.20 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.14 events/0
4 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
5 root 5 -10 0 0 0 S 0.0 0.0 0:00.04 kblockd/0
6 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
7 root 15 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
8 root 15 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
10 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
9 root 15 0 0 0 0 S 0.0 0.0 0:00.09 kswapd0
169 root 16 0 0 0 0 S 0.0 0.0 0:00.43 kseriod
501 root 15 0 0 0 0 S 0.0 0.0 0:00.13 kjournald

miked@linux:~> free
total used free shared buffers cached
Mem: 386448 378452 7996 0 9884 174752
-/+ buffers/cache: 193816 192632
Swap: 772992 4 772988
miked@linux:~>





I am running SuSE 9.1 Pro, Updated as of today, DMA is on. Overall, system seems sluggish. When running Personal Edition, system worked great (this is a clean Pro install).





Please advise.[QUOTE]

mikedeatworld 10-25-2004 08:08 PM

i've updated my database with updatedb, no positive results.

mikedeatworld 10-25-2004 11:37 PM

Just tried fluxbox, and the system seems to have the same issues?

Any ideas? Anyone?

Shade 10-26-2004 01:11 AM

I wouldn't consider this a memory issue until your swap starts thrashing.
I suggest you search the board for other memory issues, you'll find that linux manages memory somewhat differently than you may be used to. I don't think this is the source for your sluggesh system performance.

Take a look at the total number of processes being run on your machine.
a few useful commands:
Code:

ps -aux |wc -l
[total number of processes]

ps -aux | less[lists the currently running processes in the less pager]

--Shade

mikedeatworld 10-26-2004 10:02 AM

Thanks for the reply Shade.

When I ran the command you suggessted, the output seem to display process and their mem allocation. Just a rough estimate, it did not total my system RAM.

I can post my actual results when i get home.

mikedeatworld 10-26-2004 10:58 AM

Just ordered 512MB of RAM to drop into my system. If this doesn't boost performance, I don't know what I can do....



mikedeatworld 10-26-2004 01:34 PM

Well, I've ruled out a possible leak. I'm thinking it could be that the Pro version is Robust, and uses Mem to the max.



Hopefully my new RAM will help.


All times are GMT -5. The time now is 08:53 AM.