Memory leak Urgent [message #1938] |
Thu, 09 March 2006 06:19 |
jbond007
Messages: 78 Registered: January 2006 Location: Miami
|
Member |
|
|
the vps leak memory have 3 gb ram and rum 3 vps
RAM Total Used Free
2.97 GB 2.48 GB 496.24 MB
how clean the buffer or ram or another solution
my vps run debian
my host run centos 4.2
Thank you
whitout reboot the system !
[Updated on: Thu, 09 March 2006 06:20] Report message to a moderator
|
|
|
|
|
Re: Memory leak Urgent [message #1945 is a reply to message #1938] |
Thu, 09 March 2006 16:10 |
|
Please read a book/the documentation about the linux memory management.
please also try to look into the output of the command "free". It looks like
total used free buffers cached
Mem: 2057604 2037524 20080 23640 1045648
-/+ buffers/cache: 968236 1089368
Swap: 2996112 2684 2993428
As you can see I have 2 GB of memory and only 26MB free BUT - and that is important - I also have 23 MB of buffer space and about 1GB of cache space. So in reality I have about 1 GB of free memory because the cache and buffer space is allocated dynamically.
I only have 1 GB of free memory because that is my workstation and I just use a large java application.
You can change that behaviour if you know what your are doing with sysctl.
Bernhard
|
|
|
|
|
|
|
|
|