From owner-freebsd-questions Tue Jul 10 1:51:22 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 EE79437B403 for ; Tue, 10 Jul 2001 01:51:17 -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 LAA29602 for ; Tue, 10 Jul 2001 11:11:19 +0200 Message-ID: <3B4AC2FE.7D58AD03@resfeber.se> Date: Tue, 10 Jul 2001 10:55:26 +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: freebsd-questions@FreeBSD.ORG Subject: /var/log/messages fills up 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 Hello list, This morning when i came to my work my workstation was in a horrble state, there where netscape popups complaining on the lack of space. What had happend was, a program had gone crazy and spawned off resulting in: Jul 9 21:24:57 jmo /kernel: file: table is full Jul 9 21:24:57 jmo syslogd: /var/run/utmp: Too many open files in system Jul 9 21:24:57 jmo last message repeated 3 times 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? /jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message