From owner-freebsd-questions Tue Jul 10 2:36:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.resfeber.se (Resfeber-gw.customer.internet5.net [195.66.48.230]) by hub.freebsd.org (Postfix) with ESMTP id 556AB37B405 for ; Tue, 10 Jul 2001 02:36:16 -0700 (PDT) (envelope-from jon.molin@resfeber.se) Received: from resfeber.se ([212.75.72.9]) by mail2.resfeber.se (8.9.3/8.9.3) with ESMTP id LAA32404; Tue, 10 Jul 2001 11:56:10 +0200 Message-ID: <3B4ACD80.FB930923@resfeber.se> Date: Tue, 10 Jul 2001 11:40:16 +0200 From: Jon Molin X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Simon Griffiths Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var/log/messages fills up References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Thanks! That what was i was looking for, had totaly missed that file and searching on messages was pretty hopless. /jon Simon Griffiths wrote: > > Hi, > > > From: owner-freebsd-questions@FreeBSD.ORG > > Subject: /var/log/messages fills up > > Hello list, > > > [snip] > > and apperently writing this about 1000 times/sec so the file filled the > > fs (i know i should have had a /var slice) and therefor it started > > adding that to the log as well so i had a 2.9 G large messagefile. > > > > Is there anyway to avoid this? One way could be to make a cronjob that > > monitors the log but there should be better way, or? > > > > Yea, you could use /etc/newsyslog.conf to configure how big you want the the > file to grow to and how many times to rotate the file. This would give a > performance hit though when dealing with situation like this but at least > you should be able to limit the damage. > > See newsyslog(8) for a full description of howto configure this system. > > > > > /jon > > HTH, > > Si. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message