Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 1998 21:47:58 +0200
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        freebsd-stable@FreeBSD.ORG, Nino Tungul <ninot@everex.com>
Cc:        seggers@semyam.dinoco.de
Subject:   Re: your mail 
Message-ID:  <199807111947.VAA07450@semyam.dinoco.de>
In-Reply-To: Your message of "Fri, 10 Jul 1998 18:44:38 EDT." <Pine.BSF.3.96.980710184347.11754I-100000@geeklab.globalserve.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807111947.VAA07450>