From owner-freebsd-questions@FreeBSD.ORG Thu Jun 2 13:12:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 389A616A41C for ; Thu, 2 Jun 2005 13:12:57 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao06.coxmail.com (lakecmmtao06.coxmail.com [68.99.120.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD44D43D1D for ; Thu, 2 Jun 2005 13:12:56 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao06.coxmail.com (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050602131256.SLAZ6121.lakecmmtao06.coxmail.com@dns1>; Thu, 2 Jun 2005 09:12:56 -0400 From: Vizion To: freebsd-questions@freebsd.org Date: Thu, 2 Jun 2005 06:08:34 -0700 User-Agent: KMail/1.8 References: <200506020447.35717.james@idea-anvil.net> <200506020452.43776.vizion@vizion.occoxmail.com> <200506020506.35340.james@idea-anvil.net> In-Reply-To: <200506020506.35340.james@idea-anvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506020608.34449.vizion@vizion.occoxmail.com> Cc: James Subject: Re: ppp filling /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 13:12:57 -0000 On Thursday 02 June 2005 05:06, the author James contributed to the dialogue on- Re: ppp filling /var: >On Thursday 02 June 2005 04:52 am, Vizion wrote: >> On Thursday 02 June 2005 04:47, the author James contributed to the >> dialogue on- >> >> ppp filling /var: >> >After ppp runs for a few days: >> > >> ># df >> >Filesystem Size Used Avail Capacity Mounted on >> >/dev/ad0s1a 126M 49M 67M 42% / >> >/dev/ad0s1f 252M 18K 232M 0% /tmp >> >/dev/ad0s1g 8.1G 1.1G 6.4G 15% /usr >> >/dev/ad0s1e 252M 252M -20.0M 109% /var <----!!! >> >procfs 4.0K 4.0K 0B 100% /proc >> > >> ># du -h /var >> >... snip ... >> >12M /var >> > >> >After killing ppp: >> > >> ># df >> >Filesystem Size Used Avail Capacity Mounted on >> >/dev/ad0s1a 126M 49M 67M 42% / >> >/dev/ad0s1f 252M 18K 232M 0% /tmp >> >/dev/ad0s1g 8.1G 1.1G 6.4G 15% /usr >> >/dev/ad0s1e 252M 12M 219M 6% /var <---- >> >procfs 4.0K 4.0K 0B 100% /proc >> > >> ># du -h /var >> >... snip ... >> >12M /var >> > >> >Anyone know how to fix this? Google was no help. >> > >> >note: this is not a problem with /var/log/* filling up, as du will show, >> > or any file written to disk... its *something* else >> > >> >Full output of du -h >> ># du -h /var >> >2.0K /var/account >> >2.0K /var/at/jobs >> >2.0K /var/at/spool >> >6.0K /var/at >> >10.0K /var/backups >> >4.0K /var/crash >> >2.0K /var/cron/tabs >> >4.0K /var/cron >> >2.0K /var/db/ipf >> > ... snip ... (/var/db/pkg/*) >> >2.2M /var/db/pkg >> >4.0K /var/db/ports/gettext >> >6.0K /var/db/ports >> > 28K /var/db/portaudit >> >474K /var/db/tripwire/report >> >6.5M /var/db/tripwire >> >9.8M /var/db >> >2.0K /var/empty >> >2.0K /var/heimdal >> >1.7M /var/log >> >8.0K /var/mail >> >4.0K /var/msgs >> >2.0K /var/preserve >> >2.0K /var/run/ppp >> > 94K /var/run >> >2.0K /var/rwho >> >2.0K /var/spool/lock >> >2.0K /var/spool/lpd >> >2.0K /var/spool/mqueue >> >2.0K /var/spool/opielocks >> >2.0K /var/spool/output/lpd >> >4.0K /var/spool/output >> >2.0K /var/spool/uucp/.Preserve >> >2.0K /var/spool/uucp/.Sequence >> >2.0K /var/spool/uucp/.Status >> >2.0K /var/spool/uucp/.Temp >> >2.0K /var/spool/uucp/.Xqtdir >> > 12K /var/spool/uucp >> >2.0K /var/spool/uucppublic >> >4.0K /var/spool/clientmqueue >> > 32K /var/spool >> >2.0K /var/tmp/vi.recover >> >112K /var/tmp/etc/defaults >> >2.0K /var/tmp/etc/X11 >> >4.0K /var/tmp/etc/gnats >> > 52K /var/tmp/etc/isdn >> >2.0K /var/tmp/etc/kerberosIV >> >294K /var/tmp/etc/mail >> > 56K /var/tmp/etc/mtree >> > 16K /var/tmp/etc/namedb >> > 50K /var/tmp/etc/periodic/daily >> >6.0K /var/tmp/etc/periodic/monthly >> > 42K /var/tmp/etc/periodic/security >> > 18K /var/tmp/etc/periodic/weekly >> >118K /var/tmp/etc/periodic >> >4.0K /var/tmp/etc/ppp >> >2.0K /var/tmp/etc/skel >> >108K /var/tmp/etc/ssh >> >10.0K /var/tmp/etc/ssl >> > 22K /var/tmp/etc/uucp >> >1.3M /var/tmp/etc >> >1.3M /var/tmp >> > 22K /var/yp >> >2.0K /var/games/hackdir/save >> >4.0K /var/games/hackdir >> >2.0K /var/games/larn >> >2.0K /var/games/phantasia >> >10.0K /var/games >> > 13M /var >> >> I presume you are running ppp as a masquerading engine on an internal lan. >> >> Is this a new phenomenon or has it been with you ever since you started >> ppp? The fact that you have such a comparatively large /var suggests that >> the machine may have been set up with this purpose in mind and that you >> simply need a larger /var. If the problem is new/intermittent then you >> might want to monitor look your network traffic carefully to identify the >> source. >> >> David > >I am running ppp to establish the dsl link so the firewall box gets assigned >the static ip and not the qwest gateway/modem and natd handles the nat. > >This has been happening since I setup ppp > >The size is the sysconfig default size for /var if auto is selected for the >partition creation. > >>If the problem is new/intermittent then you >> might want to monitor look your network traffic carefully to identify the >>source. > >not sure what you are suggesting, its not logs filling /var. I do not know how to calculate the amount of space that ppp uses in var (or even in what way) but am pretty sure the autoconfig would not do the caluculations either. You probably need to get some help from someone experienced in using ppp in this way David >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing May/June bound for Europe via Panama Canal.