Re: Simple swap question

2008-12-19 Thread David Naylor
On Thursday 18 December 2008 17:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I

Re: Simple swap question

2008-12-19 Thread Wojciech Puchar
To others: There is one reason I can think of for doing this, if an irregularly used program (that is rather big) has been swapped out but requires a low latency when used (i.e. must not wait to be swapped back so change this program if it requires low latency to do mlockall

Re: Simple swap question

2008-12-19 Thread FreeBSD
RW a écrit : On Thu, 18 Dec 2008 15:13:12 -0500 FreeBSD free...@optiksecurite.com wrote: I can't see any process within parentheses in top... I also looked at the -f option of ps but the process that caused the swapping are not listed. FreeBSD only swaps in extreme cases - most of

Re: Simple swap question

2008-12-18 Thread Kirk Strauser
On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I

Re: Simple swap question

2008-12-18 Thread Daniel Bye
On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM

Re: Simple swap question

2008-12-18 Thread Wojciech Puchar
I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the shell and the RAM is now OK. The problem is that the swap is still used. How can I reset the swap? you don't need. something got swapped out, and will be

Re: Simple swap question

2008-12-18 Thread FreeBSD
Daniel Bye a écrit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell script (process spawning competition ;-) ). I killed the

Re: Simple swap question

2008-12-18 Thread Daniel Bye
On Thu, Dec 18, 2008 at 12:02:06PM -0500, FreeBSD wrote: Daniel Bye a ?crit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell

Re: Simple swap question

2008-12-18 Thread Kirk Strauser
On Thursday 18 December 2008 11:02:06 FreeBSD wrote: Thanks for your answer. I'm asking here because it's been several days and there is still used swap for data that should never be used anymore. If the kernel wants to keep it, why not move it to RAM now that there is some free? Do you

Re: Simple swap question

2008-12-18 Thread FreeBSD
Daniel Bye a écrit : On Thu, Dec 18, 2008 at 12:02:06PM -0500, FreeBSD wrote: Daniel Bye a ?crit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after

Re: Simple swap question

2008-12-18 Thread Kirk Strauser
On Thursday 18 December 2008 14:13:12 FreeBSD wrote: I can't see any process within parentheses in top... I also looked at the -f option of ps but the process that caused the swapping are not listed. Dude. For real. Quit sweating it. Let the system do what it needs to do; chances are it's

Re: Simple swap question

2008-12-18 Thread RW
On Thu, 18 Dec 2008 15:13:12 -0500 FreeBSD free...@optiksecurite.com wrote: I can't see any process within parentheses in top... I also looked at the -f option of ps but the process that caused the swapping are not listed. FreeBSD only swaps in extreme cases - most of the time it's paging

Re: Simple swap question

2008-12-18 Thread Jerry McAllister
On Thu, Dec 18, 2008 at 12:02:06PM -0500, FreeBSD wrote: Daniel Bye a écrit : On Thu, Dec 18, 2008 at 10:28:18AM -0600, Kirk Strauser wrote: On Thursday 18 December 2008 09:16:10 FreeBSD wrote: Hi everyone, I have a FreeBSD 7.0-Release server that started to swap after an error in a shell