Current time: 11-16-2024, 09:41 AM Hello There, Guest! (LoginRegister)


Post Reply 
system uses too much memory
Author Message
just_hoster Offline
Junior Member
*

Posts: 22
Joined: Jan 2010
Reputation: 0
Post: #1
system uses too much memory
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
Sad

thanks
01-28-2010 05:57 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: system uses too much memory
post us the output of "free -m"
(This post was last modified: 01-28-2010 06:04 PM by kilburn.)
01-28-2010 06:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
just_hoster Offline
Junior Member
*

Posts: 22
Joined: Jan 2010
Reputation: 0
Post: #3
RE: system uses too much memory
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:~#
01-28-2010 06:07 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: system uses too much memory
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.
01-28-2010 06:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
just_hoster Offline
Junior Member
*

Posts: 22
Joined: Jan 2010
Reputation: 0
Post: #5
RE: system uses too much memory
(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.

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.

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 Shy

thanks
01-28-2010 06:21 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)