Date: Tue, 10 Jul 2001 10:30:24 +0100 From: "Simon Griffiths" <simon.g@claycrossbs.co.uk> To: "Jon Molin" <jon.molin@resfeber.se> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: /var/log/messages fills up Message-ID: <NEBBJFKEHEOLHKCGOHFOAEIJCJAA.simon.g@claycrossbs.co.uk> In-Reply-To: <3B4AC2FE.7D58AD03@resfeber.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBJFKEHEOLHKCGOHFOAEIJCJAA.simon.g>