From owner-freebsd-questions Fri Jun 22 17: 3: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp1.mastery.ca (comp1.mastery.ca [209.202.88.60]) by hub.freebsd.org (Postfix) with ESMTP id 36FED37B401 for ; Fri, 22 Jun 2001 17:02:01 -0700 (PDT) (envelope-from mail@max-info.net) Received: from 78kw954 (dyn216-8-131-5.ADSL.mnsi.net [216.8.131.5]) (authenticated) by comp1.mastery.ca (8.11.3/8.11.1) with ESMTP id f5N01VA09955; Fri, 22 Jun 2001 20:01:32 -0400 (EDT) (envelope-from mail@max-info.net) Message-ID: <00b101c0fb77$588d2920$3200a8c0@Home> From: "Ryan Masse" To: "Jacob" Cc: "FreeBSD-Questions" References: <20010622165142.D29638@berta.essoc.net> Subject: Re: 2G RAM: how much swap space? Date: Fri, 22 Jun 2001 19:59:15 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The rule of thumb is 2xRAM but as you had said that seems a little exessive in your case. It really is up to the administrator; if you feel your server will be under heavy load and that a good portion of your physical memory will be eaten up then you may want to go with a large swap size maybe 1gig? Each webserver under my supervision under medium load have no more then 256MB of swap space. Again its not even a must to have swap its up to you. just my $.02, Ryan > > Fellow Daemonheads, > > What is the recommended partitioning scheme with regard to swap space > for a web server (2 1-GHz PIII; *2G RAM*; 2 9G SCSI drives). Principle > apps that the server will be running are Apache/mod_perl & MySQL. > > The defaults given by the FreeBSD install are 4099M swap on each > drive, and this seems excessive considering half the disk space would > be used for swap. > > TIA for tips/insight. > > -- > Hacking's just another word for nothing left to kludge. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message