system uses too much memory - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: system uses too much memory (/thread-9409.html) |
system uses too much memory - just_hoster - 01-28-2010 05:57 PM so, i have Debian X64 system with 4 GB ram. ispcp 1.0.3 installed. traffic about 60 GB a day. system uses all memory. TOP doesnt show me which process uses so much memory. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 18013 mysql 20 0 162m 44m 5212 S 7 1.1 0:35.19 mysqld 17906 vu2002 20 0 192m 11m 6616 R 5 0.3 0:05.64 php5-cgi 19516 www-data 20 0 398m 11m 1528 S 3 0.3 0:00.64 apache2 19458 www-data 20 0 418m 14m 1872 S 1 0.4 0:01.06 apache2 mysql uses only 1% what can use other 99? to release memory i must reboot computer.... restarting mysql or apache doesnt make effect thanks RE: system uses too much memory - kilburn - 01-28-2010 06:03 PM post us the output of "free -m" RE: system uses too much memory - just_hoster - 01-28-2010 06:07 PM server1:~# free -m total used free shared buffers cached Mem: 3967 3898 69 0 146 3146 -/+ buffers/cache: 604 3362 Swap: 9577 0 9577 server1:~# RE: system uses too much memory - kilburn - 01-28-2010 06:12 PM Now repeat with me: free ram is not useful for anything, so I'm happy that the kernel uses it for caching and buffering purposes. hint: read and understand the "-/+ buffers/cache" line, where it says that you actually have 3362mb of free ram that is being used by the kernel for buffering and/or caching purposes. If/when some program needs it, the kernel will happily handle it the necessary amount of ram. It's standard linux behaviour regarding memory usage, and it's actually GOOD for you. RE: system uses too much memory - just_hoster - 01-28-2010 06:21 PM (01-28-2010 06:12 PM)kilburn Wrote: Now repeat with me: free ram is not useful for anything, so I'm happy that the kernel uses it for caching and buffering purposes. ah, now its clear for me. sorry, i started using linux systems about 1 month ago and i'm in a process of learning. so it means that everything is all right thanks |