From owner-freebsd-questions@FreeBSD.ORG Fri Jun 3 08:59:41 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 2F3BD16A41C for ; Fri, 3 Jun 2005 08:59:41 +0000 (GMT) (envelope-from james@idea-anvil.net) Received: from jail.idea-anvil.net (idea-anvil.net [63.226.12.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2F0843D53 for ; Fri, 3 Jun 2005 08:59:40 +0000 (GMT) (envelope-from james@idea-anvil.net) Received: from idea-anvil.net (vaio [10.0.0.99]) by jail.idea-anvil.net (8.12.11/8.12.9) with ESMTP id j538xetj001618 for ; Fri, 3 Jun 2005 01:59:40 -0700 (MST) (envelope-from james@idea-anvil.net) From: James To: freebsd-questions@freebsd.org Date: Fri, 3 Jun 2005 01:59:06 -0700 User-Agent: KMail/1.8 References: <200506020447.35717.james@idea-anvil.net> <200506021713.18375.james@idea-anvil.net> <20050602215205.T24382@gabby.gsicomp.on.ca> In-Reply-To: <20050602215205.T24382@gabby.gsicomp.on.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506030159.10627.james@idea-anvil.net> 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: Fri, 03 Jun 2005 08:59:41 -0000 On Thursday 02 June 2005 06:53 pm, Matthew Emmerton wrote: > On Thu, 2 Jun 2005, James wrote: > > On Thursday 02 June 2005 07:30 am, Dmitry Mityugov wrote: > >> On 6/2/05, James wrote: > >>> Forgot to include this: > >>> > >>> FreeBSD 4.11-RELEASE-p2 #3 > >>> > >>> # cat ppp.conf: > >>> > >>> default: > >>> set device PPPoE:ed0 > >>> set speed sync > >>> set mru 1492 > >>> set mtu 1492 > >>> set ctsrts on > >>> #enable dns > >>> enable lqr > >>> set log phase tun > >>> add default HISADDR > >>> dsl: > >>> set authname **************** > >>> set authkey ****************** > >>> > >>> > >>> # cat ppp.linkup > >>> MYADDR: > >>> !bg /sbin/natd -f /etc/natd.conf > >>> > >>> #cat natd.conf > >>> interface tun0 > >>> log yes > > ^^ - do you need this? Try using "log no" and see if your /var space > issues go away. That fixed it! Thanks for the support people. I wasn't seeing /var/log/alias.log* growing to 100mb+ so I never considered that that was the problem. -rw------- 1 root wheel 80B Jun 2 18:00 /var/log/alias.log -rw------- 1 root wheel 109K Jun 2 18:00 /var/log/alias.log.0.gz -rw------- 1 root wheel 44K Jun 2 05:00 /var/log/alias.log.1.gz -rw------- 1 root wheel 18K Apr 14 20:00 /var/log/alias.log.10.gz -rw------- 1 root wheel 37K May 26 15:00 /var/log/alias.log.2.gz -rw------- 1 root wheel 57K May 22 19:00 /var/log/alias.log.3.gz -rw------- 1 root wheel 68K May 12 05:00 /var/log/alias.log.4.gz -rw------- 1 root wheel 68K Apr 26 11:00 /var/log/alias.log.5.gz -rw------- 1 root wheel 8K Apr 23 06:00 /var/log/alias.log.6.gz -rw------- 1 root wheel 68K Apr 22 22:00 /var/log/alias.log.7.gz -rw------- 1 root wheel 58K Apr 22 00:00 /var/log/alias.log.8.gz -rw------- 1 root wheel 20K Apr 19 10:00 /var/log/alias.log.9.gz # man natd ... snip ... -log | -l Log various aliasing statistics and information to the file /var/log/alias.log. This file is truncated each time natd is started. ... snip ... Does "log yes" cause natd to write a log to a different place then "-l" It seems to have created some type of ghost file in var.