From owner-freebsd-questions Wed Dec 20 8:43:20 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 08:43:18 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from kraeusen.nbrewer.com (unknown [208.42.68.65]) by hub.freebsd.org (Postfix) with ESMTP id A788837B402 for ; Wed, 20 Dec 2000 08:43:17 -0800 (PST) Received: by kraeusen.nbrewer.com (Postfix, from userid 1001) id DA18E1743E; Wed, 20 Dec 2000 10:43:16 -0600 (CST) Date: Wed, 20 Dec 2000 10:43:16 -0600 From: Christopher Farley To: New Star Service Company Cc: freebsd-questions@freebsd.org Subject: Re: newbie question from "Complete FreeBSD book" Message-ID: <20001220104316.A31124@northernbrewer.com> Mail-Followup-To: Christopher Farley , New Star Service Company , freebsd-questions@freebsd.org References: <002101c06a9d$0c9b7be0$d62005ca@nestar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002101c06a9d$0c9b7be0$d62005ca@nestar>; from nestar@globalctg.net on Wed, Dec 20, 2000 at 09:49:28PM +0600 Organization: Northern Brewer, St. Paul, MN Sender: chris@nbrewer.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG New Star Service Company (nestar@globalctg.net) wrote: > I have 128MB RAM so I create 256MB for swap. > Swap takes much MB. > Do I create 128MB for swap ? Do it create any problem or make slow my > X-windows ? I've heard that you should make your swap partition twice as big as your physical RAM. I have never seen my swap usage at more than 50%, but I'm not sure what its peak usage has been. (Any way to check?) If you plan to run a lot of memory intensive programs (X, Gimp, Mozilla), you might need it. > Till one month I read so many message from FBSD mailing list and also > FreeBSD book, > I have few questions but now I ask only one :- > In Chapter 5 , Where to put /var and /tmp section:- > " If we don't specify anything else, /var & /tmp will end up on the /root > file system,which > isn't enormous. If we leave things like that,there's a very good chance that > the root file > system will fillup" WHY ? By default, the root filesystem is 100MB. If /var and /tmp reside on /, you could potentially fill up the filesystem. For example, my mail client writes mailbox contents to /tmp before saving; I filled /tmp when I tried to save a large mailbox. Rather than mount /tmp on a separate filesystem, I did the following: # rm -R /tmp # ln -s /usr/tmp /tmp This creates a symbolic link to /usr/tmp. /usr is normally a much bigger partition than /tmp I also moved /var/logs to /usr, because I have an http server that generates a lot of log files. -- Christopher Farley Northern Brewer / 1150 Grand Avenue / St. Paul, MN 55105 www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message