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