You are not logged in.
After an hour, maybe two of work on my Arch with openbox, memory usage goes to even 99% without any reason (even when I don't run any applications, just conky). After reboot memory is normal again, around 6%.
I guess it's X (still learning), command of process is /usr/bin/X -nolisten tcp
Maybe it's not Arch/Openbox issue but my ram?
Last edited by begbie (2010-07-23 20:39:29)
Offline
Run htop and see which program is using memory.
edit.
How much RAM you have?.
Last edited by bharani (2010-07-23 07:49:54)
Tamil is my mother tongue.
Offline
I have 2gb ram, so it's not the issue in openbox.
/usr/bin/X -nolisten tcp is eating memory.
Openbox is acting crazy for me, dunno why. Not only mem usage, tint2 and most of docks are crashing after a while and crash all open apps too. I guess I will soon try out fluxbox or something (flux is most simillar to openbox, right? I mean default settings etc). Once I had pekwm and it was running fine.
Offline
Your memory will be used to cache data and applications by the kernel. That memory is always available for 'active' use though. Is that what you're referring to, or is X really eating all your RAM? If it's the latter then you have a memleak. Your system is up to date, no?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Is memory leak something to handle then? How can it be fixed?
Yes, it's up to date.
Offline
A memleak is caused by a problem in the code.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Uncle google told me that sometimes it's happening by some gtk engine (in openbox), I changed it from aurora to raleigh and so far it's normal again. But I will wait couple of hours before saying hurray.
Btw, it's good to be back in Arch world, I was on ubuntu for a while again, but once you taste that distro, there's no way back.
Now I can be more clear about my problem: I've noticed that every application that I run "add" some memory usage to process with command "/usr/bin/X -nolisten tcp" until whole mem usage reach 99% and everything is running veeery slow. Shouldn't memory "clean" itself or something after closing of every application? (sorry if it sounds stupid, still learning).
I use raleigh now, but it's not that after all that cause it. Thank you for every answer and your time.
I love openbox and I won't give up, still googling about it.
Last edited by begbie (2010-07-23 14:11:39)
Offline
What engine are you using? I'm using the murrine engine. RAM usage will increase the longer your system is up though.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I understand increase, but not until it reach 99% and stuck on that until reboot.
30 minutes of uptime - around 30% mem usage, after 1.5hours it's 53%. With only MOC running to be precise.
Last edited by begbie (2010-07-23 15:27:25)
Offline
Ok, I finally found it. I found those commands, first one helped and from 70% of mem usage it become 22%. Finally I can enjoy my openbox setup. I must first login as root with su command, get permission denied when doing sudo <command>, but will think about it later.
To free pagecache:
# echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
# echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
echo 3 > /proc/sys/vm/drop_caches
Ok, I've managed to make this command to run every 15 minutes or so... I guess I must live with that "solution".
Last edited by begbie (2010-07-23 22:37:32)
Offline