Re: swap space

2012-02-17 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Fri Feb 17 17:59:50 2012 > Date: Fri, 17 Feb 2012 15:54:18 -0800 > From: Jim Pazarena > To: FreeBSD Mailing List > Subject: swap space > > is there a command which can show the size of the hard drive swap? > > A "df" seems to avoid the swap area. That

RE: swap space

2012-02-17 Thread Devin Teske
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of Robison, Dave > Sent: Friday, February 17, 2012 4:11 PM > To: freebsd-questions@freebsd.org > Subject: Re: swap space > > On 02/17/2012 1

Re: swap space

2012-02-17 Thread Robison, Dave
On 02/17/2012 15:58, Chuck Swiger wrote: On Feb 17, 2012, at 3:54 PM, Jim Pazarena wrote: is there a command which can show the size of the hard drive swap? A "df" seems to avoid the swap area. You're looking for "swapinfo" Regards, Chuck beat me to it. "swapinfo" or top are the two wa

Re: swap space

2012-02-17 Thread Jonathan Vomacka
On Feb 17, 2012 6:55 PM, "Jim Pazarena" wrote: > > is there a command which can show the size of the hard drive swap? > > A "df" seems to avoid the swap area. > > This would be on a live production server. > Thanks. > ___ > freebsd-questions@freebsd.org

Re: swap space

2012-02-17 Thread Chuck Swiger
On Feb 17, 2012, at 3:54 PM, Jim Pazarena wrote: > is there a command which can show the size of the hard drive swap? > > A "df" seems to avoid the swap area. You're looking for "swapinfo" Regards, -- -Chuck ___ freebsd-questions@freebsd.org mail

Re: swap space

2012-02-17 Thread Mike Tancsa
On 2/17/2012 6:54 PM, Jim Pazarena wrote: > is there a command which can show the size of the hard drive swap? > % pstat -T 438/12328 files 98M/10240M swap space ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet se

Re: Swap Space

2011-01-06 Thread Jerry McAllister
On Thu, Jan 06, 2011 at 09:42:36AM +, Matthew Seaman wrote: > On 05/01/2011 22:33, Jeff Whitman wrote: > > I'm finding conflicting data on this. Some say 0, some say 1 times RAM, > > others say stay with 2 x RAM. > > Standard advice is 2x RAM -- but that dates back to the days when > servers

Re: Swap Space

2011-01-06 Thread Matthew Seaman
On 05/01/2011 22:33, Jeff Whitman wrote: > I'm finding conflicting data on this. Some say 0, some say 1 times RAM, > others say stay with 2 x RAM. Standard advice is 2x RAM -- but that dates back to the days when servers would have quantities of RAM measured in Megabytes rather than Gigabytes. 2

Re: Swap Space

2011-01-05 Thread Robison, Dave
On 01/05/11 15:20, Gary Gatten wrote: I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON processors and 6GB RAM. What is the recommended swap space? I'm finding conflicting data on this. Some say 0, some say 1 times RAM, others say stay with 2 x RAM. Definitely not 0, b

Re: Swap Space

2011-01-05 Thread Robert Huff
Adam Vande More writes: > > I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON > > processors and 6GB RAM. > > > > What is the recommended swap space? > > > I'm finding conflicting data on this. Some say 0, some say 1 times RAM, > > others say stay with 2 x RAM. > > >

RE: Swap Space - hijack?

2011-01-05 Thread Gary Gatten
condary swap partition real-time? I forget what I did here - I'm sure I followed what's in the handbook re swap space. Probably did a swap file... Yes you can do that with swapon(1) It's been said though that FreeBSD memory paging algorithms take into account the system'

Re: Swap Space

2011-01-05 Thread Adam Vande More
ack on v5 or 6 when I did > something like this. If there's unpartitioned space on the drive, can one > add a secondary swap partition real-time? I forget what I did here - I'm > sure I followed what's in the handbook re swap space. Probably did a swap > file... > Yes y

RE: Swap Space

2011-01-05 Thread Gary Gatten
a secondary swap partition real-time? I forget what I did here - I'm sure I followed what's in the handbook re swap space. Probably did a swap file... "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged an

Re: Swap Space

2011-01-05 Thread Bruce Cran
On Wed, 5 Jan 2011 17:20:48 -0600 Gary Gatten wrote: > Correct me if I'm wrong, but if necessary one could add (and > activate) a secondary / additional swap file if necessary without > rebooting. So maybe start with a few gig and add an additional swap > file if necessary? Swapping to a file i

RE: Swap Space

2011-01-05 Thread Gary Gatten
> I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON > processors and 6GB RAM. > > What is the recommended swap space? > > > I'm finding conflicting data on this. Some say 0, some say 1 times RAM, > others say stay with 2 x RAM. > Definitely not 0, but 2x would probably be w

Re: Swap Space

2011-01-05 Thread Adam Vande More
On Wed, Jan 5, 2011 at 4:33 PM, Jeff Whitman wrote: > I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON > processors and 6GB RAM. > > What is the recommended swap space? > > > I'm finding conflicting data on this. Some say 0, some say 1 times RAM, > others say stay with 2 x

Re: Swap space

2005-11-01 Thread Robert Huff
Lowell Gilbert writes: > The basic advice is quite sound, so I'll reiterate it: Provide > what you think you might ever need. Let me get behind Lowell on this bit. The box I am typing on has 512 mb memory; because that may get bumped to 1 Gb it has 2 Gb swap split over two disks. > I

Re: Swap space

2005-11-01 Thread Lowell Gilbert
Bob Johnson <[EMAIL PROTECTED]> writes: > On 11/1/05, Ian Lord <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I just bought 4 servers with 4 gigs of ram, the documentation > > proposes to use 2 to 3 times the amount of ram for swap... I don't > > think 12 gigs of swap would be useful lol, but do I rea

Re: Swap space

2005-11-01 Thread Jerry McAllister
> > Hi, > > I just bought 4 servers with 4 gigs of ram, the documentation > proposes to use 2 to 3 times the amount of ram for swap... I don't > think 12 gigs of swap would be useful lol, but do I really need to > put 4 gigs of ram. (It might be useful for kernel dump but...) > > What do you

Re: Swap space

2005-11-01 Thread Bob Johnson
On 11/1/05, Ian Lord <[EMAIL PROTECTED]> wrote: > Hi, > > I just bought 4 servers with 4 gigs of ram, the documentation > proposes to use 2 to 3 times the amount of ram for swap... I don't > think 12 gigs of swap would be useful lol, but do I really need to > put 4 gigs of ram. (It might be useful

Re: Swap space

2005-11-01 Thread Lowell Gilbert
Ian Lord <[EMAIL PROTECTED]> writes: > I just bought 4 servers with 4 gigs of ram, the documentation proposes > to use 2 to 3 times the amount of ram for swap... I don't think 12 > gigs of swap would be useful lol, but do I really need to put 4 gigs > of ram. (It might be useful for kernel dump bu

Re: Swap space

2005-11-01 Thread Glenn Dawson
At 07:13 AM 11/1/2005, Vladimir Tsvetkov wrote: > Hi, > > I just bought 4 servers with 4 gigs of ram, the documentation > proposes to use 2 to 3 times the amount of ram for swap... I don't > think 12 gigs of swap would be useful lol, but do I really need to > put 4 gigs of ram. (It might be usefu

Re: Swap space

2005-11-01 Thread Vladimir Tsvetkov
> Hi, > > I just bought 4 servers with 4 gigs of ram, the documentation > proposes to use 2 to 3 times the amount of ram for swap... I don't > think 12 gigs of swap would be useful lol, but do I really need to > put 4 gigs of ram. (It might be useful for kernel dump but...) > > What do you guys do

Re: swap space problems

2005-05-09 Thread WMC
At 01:20 PM 5/9/2005, Chris Fedde wrote: Occasionaly my system hangs for a few seconds while loading a process from swap that has been idle for some time. ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=161663 What type of driver interface and controller is this? And what FBSD version?

Re: swap space problems

2005-05-09 Thread Ion-Mihai Tetcu
On Mon, 09 May 2005 11:20:17 -0600 Chris Fedde <[EMAIL PROTECTED]> wrote: > Occasionaly my system hangs for a few seconds while loading a process > from swap that has been idle for some time. It could be that I'm > actualy out of swap space in these conditions, because I see this frequently > in

Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 3:20 PM, Kris Kennaway wrote: On Tue, May 03, 2005 at 03:15:54PM -0600, Chad Leigh -- Shire.Net LLC wrote: Thanks! Well, on my production system, I am not dumping any kernels. Once It crashes, I reboot it and go back into production. Anything dumped would get wiped out. Luc

Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 03:15:54PM -0600, Chad Leigh -- Shire.Net LLC wrote: > > On May 3, 2005, at 3:07 PM, Kris Kennaway wrote: > > >On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net > >LLC wrote: > > > >> > >>On May 3, 2005, at 2:45 PM, Kris Kennaway wrote: > >> > >>>Since it

Re: swap space

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 5:02 PM, Chad Leigh -- Shire.Net LLC wrote: On May 3, 2005, at 2:45 PM, Kris Kennaway wrote: Since it's a pain to add swap later you want to make allowances for future expansion (e.g. you'd need 32GB of swap if you ever plan to add 32GB of RAM). I understand that people recommend

Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 3:07 PM, Kris Kennaway wrote: On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net LLC wrote: On May 3, 2005, at 2:45 PM, Kris Kennaway wrote: Since it's a pain to add swap later you want to make allowances for future expansion (e.g. you'd need 32GB of swap if you

Re: swap space

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net LLC wrote: > On May 3, 2005, at 2:45 PM, Kris Kennaway wrote: > >Since it's a pain to add swap later you want to make > >allowances for future expansion (e.g. you'd need 32GB of swap if you > >ever plan to add 32GB of RAM). > > I un

Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net LLC wrote: > > On May 3, 2005, at 2:45 PM, Kris Kennaway wrote: > >Since it's a pain to add swap later you want to make > >allowances for future expansion (e.g. you'd need 32GB of swap if you > >ever plan to add 32GB of RAM). > > I

Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 2:45 PM, Kris Kennaway wrote: Since it's a pain to add swap later you want to make allowances for future expansion (e.g. you'd need 32GB of swap if you ever plan to add 32GB of RAM). I understand that people recommend as much swap as you have ram or more. However, is this requ

Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 08:32:54PM +0200, Chris Knipe wrote: > Hi, > > Simple question really... Can you ever have to much swap space? > > We're sitting with quite a nifty P4 System with 1GB Ram. We will more than > likely add another 2 or 3GB in the month to come as our applications > (mainly

Re: swap space

2005-05-03 Thread Glenn Dawson
At 11:32 AM 5/3/2005, Chris Knipe wrote: Hi, Simple question really... Can you ever have to much swap space? We're sitting with quite a nifty P4 System with 1GB Ram. We will more than likely add another 2 or 3GB in the month to come as our applications (mainly perl) are consuming vast amounts of

Re: swap space

2005-05-03 Thread Franco Bruno Borghesi
Time to upgrade then ;-) 2005/5/3, Chris Knipe <[EMAIL PROTECTED]>: > > > > PS: Is there a FreeBSD 5.4 stable version? > > FreeBSD pyro.acme.com 5.4-STABLE FreeBSD 5.4-STABLE#0: > Wed Apr 27 15:51:43 > SAST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PYRO i386 > > Guess

Re: swap space

2005-05-03 Thread Chris Knipe
PS: Is there a FreeBSD 5.4 stable version? FreeBSD pyro.acme.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Apr 27 15:51:43 SAST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PYRO i386 Guess so :) ___ freebsd-questions@freebsd.org mailing list http://l

Re: swap space

2005-05-03 Thread Franco Bruno Borghesi
Actually having a separated disk for swap should increase your performance. But my opinion is that if you really need *all* the 40 GB of swap when your system's ram is 3 GB, you won't see the difference: most of the data your system needs is swapped out! You could add a partition to your new dis

Re: swap space

2005-05-03 Thread Chris Knipe
We made the mistake however of just allocating 512MB swap as we did not know accurately at the time of installation what the resouce requires are going to be (especially not that it would be this high). A traditional rule of thumb is to have 1x - 2x the total RAM size in swap space. This assures

Re: swap space

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 08:32:54PM +0200, Chris Knipe wrote: > Simple question really... Can you ever have to much swap space? Only if there are better things you can do with that disk (or money.) In this case, RAM might be a better priority, see below. > We're sitting with quite a nifty P4 Sy

Re: Swap space - max size

2004-05-27 Thread T. Srikanth
Jamie, Run the following script on your system under maximum load. #!/bin/sh - ps -o vsz -o rss | grep '[0123456789]' | \ awk '{ i += $1; j += $2; } END { printf("VSZ=%dK, RSS=%dK\n", i, j); }' If you see VSZ is very close to the swap size and RSS is getting closer to the available physical m

Re: Swap space - max size

2004-03-02 Thread Chuck Swiger
Jamie wrote: Is there any point in adding more than 2 Gb of swap space on an x86 if you have 2 Gb of ram? Yes. From what I've read, x86 can address 4 Gb of memory, so it would seem that more than 4 Gigs of combined memory and swap space would be wasted. Am I right? You would be right if all of

Re: Swap space - max size

2004-03-02 Thread Chuck McManis
At 08:09 PM 3/2/2004, Jamie wrote: > Is there any point in adding more than 2 Gb of swap space on an x86 if > you have 2 Gb of ram? 4GB is the virtual address limit, not the physical address limit (which is higher) However if you're swapping a lot on a 2GB system then you're biggest problem is

Re: swap space

2003-12-12 Thread Dan Nelson
In the last episode (Dec 12), M.D. DeWar said: > Thanks, Read the man. so heres a print out. some makes sense. others > . don't like what is up referring to ? > still tho i don't see what is eating up 373M of swap space ? well, mysqld is probably consuming most of it, since it's almost completely

Re: swap space

2003-12-12 Thread Jerry McAllister
> > I seem to be running out of swap space > swapinfo shows 80-95% filled. > Mostly from mrtg. > is there a way to see whats else is eating it up ? > I guess a ls doesn't work on it . > this machine has 256megs of ram and 512MB swap space. > anything I can do ? Because of the efficient paging a

Re: swap space

2003-12-12 Thread M.D. DeWar
AIL PROTECTED]> Sent: Friday, December 12, 2003 9:47 AM Subject: Re: swap space > At 09:43 12.12.2003 -0500, M.D. DeWar wrote: > >I seem to be running out of swap space > >swapinfo shows 80-95% filled. > >Mostly from mrtg. > >is ther

Re: swap space

2003-12-12 Thread Alexander Haderer
At 09:43 12.12.2003 -0500, M.D. DeWar wrote: I seem to be running out of swap space swapinfo shows 80-95% filled. Mostly from mrtg. is there a way to see whats else is eating it up ? top -o size man top Alexander ___ [EMAIL PROTECTED] mailing list http

Re: swap space on multiple drives

2003-11-29 Thread Alex de Kruijff
On Sat, Nov 29, 2003 at 02:15:38PM -0600, Charles Howse wrote: > Hi, > After reading the following section of the Handbook, I'm still a little > confused. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ > configtuning-initial.html#SWAP-DESIGN > > If I have 128MB ram, and 2 drives