From owner-freebsd-stable Sat Jul 11 19:06:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA00442 for freebsd-stable-outgoing; Sat, 11 Jul 1998 19:06:35 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA00425 for ; Sat, 11 Jul 1998 19:06:30 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id VAA17659; Sat, 11 Jul 1998 21:55:49 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by semyam.dinoco.de (8.8.8/8.8.8) with ESMTP id VAA07450; Sat, 11 Jul 1998 21:47:59 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199807111947.VAA07450@semyam.dinoco.de> Subject: Re: your mail In-reply-to: Your message of "Fri, 10 Jul 1998 18:44:38 EDT." To: freebsd-stable@FreeBSD.ORG, Nino Tungul Cc: seggers@semyam.dinoco.de Date: Sat, 11 Jul 1998 21:47:58 +0200 From: Stefan Eggers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > if your filesystem is fairly small and you have a certain program > generating a core file, you might see these messages and the core file > gets truncated (useless). Just a thought..hope it helps. Given this would be the case the truncated core file should still be there and the filesystem still full. > > "kernel: uid 0 /: file system full" on our server, but when run df it only > > shows 41% (mounted on / ) on capacity. How can I clear this mess.? I suspect some program trying to use /tmp and failing to get enough space. As a result of terminating and cleaning up it removes some rather large temporary files it created. Those temporary files need not be visible execpt shortly after creation as one can open a file and immediately after that delete it. As long as it is open it will consume space in the filesystem. > > Can somebody help me? My solution to having an overfull /tmp fill / as well (and getting more space in /tmp at the same time) was to use MFS to separate /tmp from /. It was the easiest way as I didn't have to do any filesystem moving and besides that it should be faster than a real disk as long as there is enough memory available. You have to make a custom kernel, though to make use of MFS. If you don't like that you can use some space on /usr (if that is a spearate filesystem as it should be) for /tmp. Make a directory there, remove /tmp and then make a soft link from /tmp to the directory you intend to use for your temporary files. As you seem to be new to Unix type machines the least favorable solution to you is to backup the filesystems and repartition every- thing. You better first get some confidence in the way one makes a backup, make sure that it actually works and have a plan on how to use it in case you need it. > > and also, how can i clear mail(messages) from the mail queue? What does your /etc/rc.d say? Did you disable sendmail there or change its flags? I think otherwise it should stay in memory as demon and periodically (30 minutes I think) empty the queue. In case sendmail uses /tmp it might be a huge mail which fills /. Then this might cause the queue emptying to stop. I'd first try to find out who fills / and solve that problem. Stefan. -- Stefan Eggers Lu4 yao2 zhi1 ma3 li4, Max-Slevogt-Str. 1 ri4 jiu3 jian4 ren2 xin1. 51109 Koeln Federal Republic of Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message