virtual memory management

2007-01-20 Thread Zbigniew Szalbot
Dear all, Is there a FBSD command to manage virtual memory? I think my swap size is now a bit too much used: last pid: 19824; load averages: 0.06, 0.05, 0.02 up 50+10:00:17 08:54:00 230 processes: 1 running, 227 sleeping, 2 zombie CPU states: 0.0% user, 0.0% nice, 0.4% system, 0.8%

Re: virtual memory management

2007-01-20 Thread Kris Kennaway
On Sat, Jan 20, 2007 at 08:57:27AM +0100, Zbigniew Szalbot wrote: Dear all, Is there a FBSD command to manage virtual memory? I think my swap size is now a bit too much used: last pid: 19824; load averages: 0.06, 0.05, 0.02 up 50+10:00:17 08:54:00 230 processes: 1 running, 227

Re: virtual memory management

2007-01-20 Thread Zbigniew Szalbot
Hello again, The swap size usage grow so big probably because I started wget to download an iso image and then WinSCP to grab it from the FBSD machine to my laptop. When I started wget, the swap usage was around 19% and had been like that for many days. That should not cause such a thing

Re: virtual memory management

2007-01-20 Thread Kris Kennaway
On Sat, Jan 20, 2007 at 09:13:48AM +0100, Zbigniew Szalbot wrote: Hello again, The swap size usage grow so big probably because I started wget to download an iso image and then WinSCP to grab it from the FBSD machine to my laptop. When I started wget, the swap usage was around 19% and

Re: virtual memory management

2007-01-20 Thread Kris Kennaway
On Sat, Jan 20, 2007 at 03:51:38AM -0500, Kris Kennaway wrote: On Sat, Jan 20, 2007 at 09:13:48AM +0100, Zbigniew Szalbot wrote: Hello again, The swap size usage grow so big probably because I started wget to download an iso image and then WinSCP to grab it from the FBSD machine to

Re: virtual memory management

2007-01-20 Thread Zbigniew Szalbot
Dear Kris and all, I see lots of them; every one in that list is contributinig. If you add up all those process sizes you'll see where the space is going. By which I mean the difference between size and res, which indicates the amount of process memory allocated but not currently resident

Re: virtual memory management

2007-01-20 Thread Ivan Voras
Zbigniew Szalbot wrote: The problem is I cannot add more RAM (too old machine to do that) but I know what to do to decrease the load a bit. So thanks for the pointer! I appreciate it! You might also want to stop using mod_php in apache and convert to fastcgi setup - this way you'll get all

Re: virtual memory management

2007-01-20 Thread Zbigniew Szalbot
hello, The problem is I cannot add more RAM (too old machine to do that) but I know what to do to decrease the load a bit. So thanks for the pointer! I appreciate it! You might also want to stop using mod_php in apache and convert to fastcgi setup - this way you'll get all Apache processes

Re: virtual memory management

2007-01-20 Thread Pieter de Goeje
On Saturday 20 January 2007 08:57, Zbigniew Szalbot wrote: Is there any way to handle swap size usage other than restarting the box? Yes, you can add swap while the system is running with swapon(8). If you don't have an empty partition available you could create one with mdconfig(8). -Pieter

Re: virtual memory management

2007-01-20 Thread Ivan Voras
Zbigniew Szalbot wrote: hello, The problem is I cannot add more RAM (too old machine to do that) but I know what to do to decrease the load a bit. So thanks for the pointer! I appreciate it! You might also want to stop using mod_php in apache and convert to fastcgi setup - this way you'll

Re: virtual memory management

2007-01-20 Thread Dan Nelson
In the last episode (Jan 20), Zbigniew Szalbot said: I see lots of them; every one in that list is contributinig. If you add up all those process sizes you'll see where the space is going. By which I mean the difference between size and res, which indicates the amount of process

Re: virtual memory management

2007-01-20 Thread Jerry McAllister
On Sat, Jan 20, 2007 at 08:57:27AM +0100, Zbigniew Szalbot wrote: Dear all, Is there a FBSD command to manage virtual memory? I think my swap size is now a bit too much used: last pid: 19824; load averages: 0.06, 0.05, 0.02 up 50+10:00:17 08:54:00 230 processes: 1 running, 227

Re: virtual memory management

2007-01-20 Thread Zbigniew Szalbot
Dear all, | Also remember that swap usage itself is not a bad thing; it just means Problem solved. I should have thought about that earlier. Yesterday I was playing with HotSaNIC software to use it on this box. In the end I decided I didn't like it and I didn't really need it so I removed it

Re: virtual memory management

2007-01-20 Thread [LoN]Kamikaze
Don't forget that the system also pages to swap space and it takes the attitude of parking as much as possible out there in case it comes in to demand again. Ten if it really needs the space for something, it invalidates the oldest stuff and uses that space. So, you should really expect

Re: virtual memory management

2007-01-20 Thread Ivan Voras
[LoN]Kamikaze wrote: Don't forget that the system also pages to swap space and it takes the attitude of parking as much as possible out there in case it comes in to demand again. Ten if it really needs the space for something, it invalidates the oldest stuff and uses that space. So, you