/tmp: filesystem full
pauls at utdallas.edu
Wed Dec 12 13:51:04 PST 2007
--On Wednesday, December 12, 2007 16:13:42 -0500 Jerry McAllister
<jerrymc at msu.edu> wrote:
> On Wed, Dec 12, 2007 at 03:08:50PM -0600, Cesar Amaya wrote:
>> Robert Huff wrote:
>> > Cesar Amaya writes:
>> >> napstats# fstat | grep "/tmp"
>> >> www httpd 1739 15 /tmp 4 -rw------- 0 rw
>> > Can you afford to shut down the web server (Apache ?)?
>> > Robert Huff
>> Nothing is shown if I shut down the web server. But I saw something
>> weird when I run # fstat | grep "/tmp", was something like this:
>> <someuser> mail.local 1739 15 /tmp 4 -rw-------
>> 73917491734 rw
> Looks like something, maybe your mail program has a large file open -
> maybe trying to receive a huge file. Killing the process could get
> that file closed and either it would be gone or would finally show
> how much space it is holding.
Yep. Trying to stuff a 73GB file into a 1GB filesystem isn't going to work
very well. At this point I think your only option is to restart the
mailserver. Hopefully that will release the file from memory. Then you
can delete whatever pieces of it are left in /tmp.
I'd also look at your maillog to see what the filename and type of that
message was (huge zip attachment?) and suggest to your user that he get the
file some other way.
Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
More information about the freebsd-questions