Re: [gentoo-user] Memory Usage

2006-12-15 Thread Redouane Boumghar
Hello all, Grant wrote: Also, I've noticed in top that when my server's 2GB of memory is filled, it uses a small amount of swap (~24k) before it frees some up. The Swap: 24k then remains. Is that normal? Yes I have also notice that after a heavy ram use I get this tiny space used on my swap.

Re: [gentoo-user] Memory Usage

2006-12-15 Thread Dale
Redouane Boumghar wrote: Hello all, Grant wrote: Also, I've noticed in top that when my server's 2GB of memory is filled, it uses a small amount of swap (~24k) before it frees some up. The Swap: 24k then remains. Is that normal? Yes I have also notice that after a heavy ram use I get this

Re: [gentoo-user] Memory Usage

2006-12-15 Thread Uwe Thiem
On 15 December 2006 13:53, Redouane Boumghar wrote: Hello all, Grant wrote: Also, I've noticed in top that when my server's 2GB of memory is filled, it uses a small amount of swap (~24k) before it frees some up. The Swap: 24k then remains. Is that normal? Yes I have also notice that

Re: [gentoo-user] Memory Usage

2006-12-15 Thread Redouane Boumghar
Hi, Thanks a lot for all this lightening Have a good day, Red. Uwe Thiem wrote: [snip] So once your system has started to use swap space, some memory pages will always stay in your swap space because things are paged in again only if they are used. -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Memory Usage

2006-12-15 Thread Daniel Iliev
Redouane Boumghar wrote: The man is not very extensive. Has Anyone more info on configuration of the file /etc/sysctl.conf ? especially for : vm.swappiness vm.swap_token_timeout Actually using sysctl is the same as reading/writing values from/in the files found in /proc. For example

Re: [gentoo-user] Memory Usage

2006-12-15 Thread Hans-Werner Hilse
Hi, On Fri, 15 Dec 2006 17:26:11 +0200 Daniel Iliev [EMAIL PROTECTED] wrote: I've read (don't remember where) there are patches to make kernel change its swappiness value automatically, depending on the memory usage for the particular moment. That would be the ck-patchset. Gentoo has it in

Re: [gentoo-user] Memory Usage

2006-12-15 Thread Daniel Iliev
Hans-Werner Hilse wrote: Hi, On Fri, 15 Dec 2006 17:26:11 +0200 Daniel Iliev [EMAIL PROTECTED] wrote: I've read (don't remember where) there are patches to make kernel change its swappiness value automatically, depending on the memory usage for the particular moment. That would

[gentoo-user] Memory Usage

2006-12-14 Thread Grant
From what I understand, Linux memory isn't freed up until it is full. Is there a way to find out how much memory is actively in use? It would also be useful to know the maximum amount of memory that was actively in use over a given period of time. Also, I've noticed in top that when my

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Neil Bothwick
On Thu, 14 Dec 2006 09:48:25 -0800, Grant wrote: From what I understand, Linux memory isn't freed up until it is full. Is there a way to find out how much memory is actively in use? The free command. $ free total used free sharedbuffers cached Mem:

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Grant
From what I understand, Linux memory isn't freed up until it is full. Is there a way to find out how much memory is actively in use? The free command. $ free total used free sharedbuffers cached Mem: 1028164 928764 99400 0

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Dale
Grant wrote: From what I understand, Linux memory isn't freed up until it is full. Is there a way to find out how much memory is actively in use? The free command. $ free total used free sharedbuffers cached Mem: 1028164 928764 99400

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Neil Bothwick
On Thu, 14 Dec 2006 10:49:34 -0800, Grant wrote: $ free total used free sharedbuffers cached Mem: 1028164 928764 99400 0 28228 468768 -/+ buffers/cache: 431768 596396 Swap: 1556168 2104761345692 That

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Daniel Iliev
Neil Bothwick wrote: On Thu, 14 Dec 2006 10:49:34 -0800, Grant wrote: $ free total used free sharedbuffers cached Mem: 1028164 928764 99400 0 28228 468768 -/+ buffers/cache: 431768 596396 Swap: 1556168 210476

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Grant
From what I understand, Linux memory isn't freed up until it is full. Is there a way to find out how much memory is actively in use? The free command. $ free total used free sharedbuffers cached Mem: 1028164 928764 99400 0

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Pablo Antonio
On 09:48 Thu 14 Dec , Grant wrote: [snip] The Swap: 24k then remains. Is that normal? If the question is whether it is normal that the swap space is not freed even when it's not being used anymore, the answer would be yes. Writing to disk is too expensive, so I think the kernel does free

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Grant
The Swap: 24k then remains. Is that normal? If the question is whether it is normal that the swap space is not freed even when it's not being used anymore, the answer would be yes. I'm wondering if it's normal for the system to use a small amount of swap before it frees memory for the first

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Dale
Grant wrote: The Swap: 24k then remains. Is that normal? If the question is whether it is normal that the swap space is not freed even when it's not being used anymore, the answer would be yes. I'm wondering if it's normal for the system to use a small amount of swap before it frees

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Grant
My server is mainly used for apache2 with mod_perl. I would think that cache comes in handy. Will a web server pretty much always find something more to cache, or can you add memory to the point where everything that can be cached is cached? - Grant I have read a few articles on how

Re: [gentoo-user] Memory Usage

2006-12-14 Thread Dale
Grant wrote: The thing is, it's memory in a hosted machine and I think I'm paying like $35/month for the extra gigabyte. I should probably do some testing or just have them remove the memory for a month and see how I like it. - Grant That does change things. In my opinion, I would do

Re: [gentoo-user] Memory Usage

2006-12-14 Thread David Relson
On Thu, 14 Dec 2006 19:08:35 -0600 Dale wrote: Grant wrote: My server is mainly used for apache2 with mod_perl. I would think that cache comes in handy. Will a web server pretty much always find something more to cache, or can you add memory to the point where everything that can be