sud_crow Posted November 29, 2003 Report Share Posted November 29, 2003 Post Split by bvc here; http://www.mandrakeusers.org/index.php?sho...pic=6343&st=330 by the way, you can see my memory problem in the pic, for some reason, something is eating all my RAM and i dont have a clue about what is it. http://www.iespana.es/crowix/escritorio/ar...ch/ssformub.jpg sud_crow, could it be Xps aux | grep "[X] " (note the space between ] and " or ps auxO-s and see if you can tell what's eating the mem. sud crow: go to a command line and run 'top' then see what is eating it. Ok, here is the code: root 5081 6.3 10.6 293364 27016 ? SL 02:56 6:10 X :0 About "top": top - 04:34:45 up 5:23, 4 users, load average: 0.18, 0.39, 0.34 Tasks: 66 total, 1 running, 64 sleeping, 0 stopped, 1 zombie Cpu(s): 3.6% user, 6.9% system, 0.0% nice, 89.5% idle Mem: 254256k total, 246860k used, 7396k free, 39984k buffers Swap: 506008k total, 4112k used, 501896k free, 77112k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5088 crow 18 0 25060 24m 10m S 2.3 9.7 4:49.69 python 5081 root 15 0 282m 26m 7304 S 2.0 10.6 6:10.50 X 6244 crow 17 0 940 940 764 R 1.6 0.4 0:00.93 top ....... The rest are all system, or 0 consuming. So, whats going on?? Im having these issues for some time now, i really cant tell what is it, i've reinstalled most of the updated things when this came up (i cant remember wich where now coz all the stuff i been doing to solve it). I reinstalled mozilla, gaim, gdesklets, and most of the dependencies. If i go with a gnome-system-monitor, i get that X is eating 283mb (!) of memory, but i know this isnt the real amount, anyway, is waaaay up. The second to follow is Firebird, but it just eats 38mb, and when in use, i get that memory load almost all the time, no matter what im doing, and at X startup i get around 200mb full... Bvc, if you think this should be a new thread, please move it... as long as you me. Quote Link to comment Share on other sites More sharing options...
bvc Posted November 29, 2003 Report Share Posted November 29, 2003 I d/k that there's a lot I can do to help but..... 1. What video card? 2. what does your swap look like? That much ram being used is not all that unusual especially running gdesklets. This based on what I've read @ http://gnomesupport.org/forums/ . I'm running ML9.2>cooker-ML10, kernel-2.6, gnome 2.4, with an NVIDIA GF4 MX 440SE-64MB using the nv (XFree86) driver, and msec ran @ login. The nvidia driver can use almost twice as much, give or take. mine root 2232 5.7 7.2 115888 18596 ? S< 12:20 3:21 /etc/X11/X :0 yours root 5081 6.3 10.6 293364 27016 ? SL 02:56 6:10 X :0 my Top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2232 root 14 -1 104m 11m 89m S 4.3 4.4 0:17.95 X your Top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5081 root 15 0 282m 26m 7304 S 2.0 10.6 6:10.50 X BUT! Notice your uptime is a lot higher than mine rt now. The longer I run, the higher it'll get, and I know with the nvidia driver I'd surpass you. These reading, and with gnome-system-monitor include the amount of ram you video card has, and what X is caching, which is why is seems so high. So like I said, the question is your swap. [root@ml root]# free -m total used free shared buffers cached Mem: 250 229 20 0 17 27 -/+ buffers/cache: 185 64 Swap: 203 203 0 [root@ml root]# I thought it worthy to move this to its own thread and mention the importance of the swap because of a prob I had recently with my swap, 5 or more different kernel, ML9.1 gnome2.2 and gnome 2.4 eating all ram and swap and not flushing. Inside one hour from login I would have to logout and back in and sometimes reboot to clear my ram and swap. It would happen with kde but it took much longer. I have never ran gdesklets but mem leaks have been reported (if I remember rt). If this thread was started uselessly....sorry. So, I d/k....if your swap is ok I'd say you're fine. Can you pinpoint when this began? New apps, kernels etc....? Quote Link to comment Share on other sites More sharing options...
bvc Posted November 29, 2003 Report Share Posted November 29, 2003 see what I mean. I just used mplayer.......time to logout now and go to init 1 and back to init 3. Huh, or is it time to switch DE's/WM's/Distros? My swap is gone...and the only reason I have RAM available is because I stopped mplayer. Other dvd players do it to. I think the mdk kernels are the prob or maybe a kernel-mdk/X conflict. The one thing I never tried was downgrading X because it's a pain. I've also heard XFree86-4.3 has mem leaks. The only thing that resolved my prob b4 was comiling/patching a vanilla kernel, and I just about rather switch my distro. I'm done/tired of compiling. [root@ml root]# free -m total used free shared buffers cached Mem: 250 208 41 0 11 44 -/+ buffers/cache: 152 97 Swap: 203 203 0 [root@ml root]# uptime 15:24:13 up 3:05, 2 users, load average: 0.51, 1.12, 0.93 [root@ml root]# We can't be the only ones experiencing this but that's how it seems. No one else seemed to be having this mem/resource prob with my 'resource eating' thread either. I love mandrake but how come I can run debian, red hat, fedora, slackware, and suse all day and barely use my swap but mandrake9.1 -9.2 and 8 kernels eats it in the first couple of hours, depending on what I'm doing? :wacko: :sad: Quote Link to comment Share on other sites More sharing options...
sud_crow Posted November 30, 2003 Author Report Share Posted November 30, 2003 Ok, lets "place" some background info: My system: Mother: Asus CUV4X Proc: P3 550@733 Mem: 256mb Dimm PC100 IBM ECC Video: Leadtek Winfast GeForce2MX Sound: onboard (ac97) Desk: wood table... ehhmm but i dont think this has something to do with the prob.... Something i might-should-have-sayd-before: OS: Arch Linux Couldnt burn 9.2 yet... I didnt had this issues with memory, i used this same setup; Xfce4 Desktop Some Gdesklets Mozilla LICQ aMSN I updated some pkgs, including those named above... i really cant recall every pkg, coz its damn to easy to update them... Anyway... The problem is from the start, i dont have to be 6 hours using the PC (uptime) as soon as i startx, i see that freakin memory bar full... Also, i reinstalled X, Mozilla, gdesklets, Gaim lots of time (doesnt work).... The only thing im missing to reinstall is the desktop i think, i will try that... and see what happens... Quote Link to comment Share on other sites More sharing options...
bvc Posted November 30, 2003 Report Share Posted November 30, 2003 like I said the use of ram is normal (linux) and can be gone the first 2 minutes after I login. The question is your swap. If you do not have the issue I do. I see no prob, but then, I don't know your machine like you do either. Quote Link to comment Share on other sites More sharing options...
Qchem Posted December 1, 2003 Report Share Posted December 1, 2003 Linux is meant to use all your memory, it's efficient that way. How much swap do you have, have you noticed any actual problems or just that your memory is being used? Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 1, 2003 Report Share Posted December 1, 2003 Proc: P3 550@733 Overclocked :D Quote Link to comment Share on other sites More sharing options...
sud_crow Posted December 3, 2003 Author Report Share Posted December 3, 2003 Ok, when i had the problem was using full RAM memory, wich is not normal, nor optimal, neither in Linux or Windows, thats something out of question, while the SWAP was around 14mb. Now, before i had these issues, i had around 100mb of RAM used, and never, and i mean _never_ used the swap, why? mostly becouse i dont run any huge app that will full the memory, neither i do now. I've been doing some stuff, switched to Firebird and reinstalled some pkgs, now im starting X with 140mb full, which i can accept but i will keep trying to reduce it. Now my memory is at 224mb and the swap hasnt been touched. I will keep checking whats going on... Quote Link to comment Share on other sites More sharing options...
Glitz Posted December 3, 2003 Report Share Posted December 3, 2003 Post Split by bvcAbout "top": <!--QuoteEBegin-->top - 04:34:45 up 5:23, 4 users, load average: 0.18, 0.39, 0.34<!--QuoteEBegin-->Tasks: 66 total, 1 running, 64 sleeping, 0 stopped, 1 zombie<!--QuoteEBegin-->Cpu(s): 3.6% user, 6.9% system, 0.0% nice, 89.5% idle<!--QuoteEBegin-->Mem: 254256k total, 246860k used, 7396k free, 39984k buffers<!--QuoteEBegin-->Swap: 506008k total, 4112k used, 501896k free, 77112k cached<!--QuoteEBegin--><!--QuoteEBegin--> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND <!--QuoteEBegin--> 5088 crow 18 0 25060 24m 10m S 2.3 9.7 4:49.69 python <!--QuoteEBegin--> 5081 root 15 0 282m 26m 7304 S 2.0 10.6 6:10.50 X <!--QuoteEBegin--> 6244 crow 17 0 940 940 764 R 1.6 0.4 0:00.93 top <!--QuoteEBegin--> .......<!--QuoteEBegin--><!--QuoteEBegin--> If I'm reading this right, You have approximately 117MB of RAM used as disk buffers and swap space cache (40MB and 77MB respectively), you have 7MB of RAM unused, you have 130MB of RAM used by programs, and you have 4MB of swap space used by programs (most likely this is also cached in the 77MB). If you open a large application, how do these numbers change? Will the swap cache and disk buffers become smaller as the RAM gets transfered to the new app? Glitz. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.