Date: Wed, 12 Dec 2007 15:51:03 -0600 From: Paul Schmehl <pauls@utdallas.edu> To: freebsd-questions@freebsd.org Subject: Re: /tmp: filesystem full Message-ID: <8CAEB1F9ED3E20FDF781FC2C@utd59514.utdallas.edu> In-Reply-To: <20071212211342.GA11906@gizmo.acns.msu.edu> References: <4760208B.5060707@123.com.sv> <192E5FCC5BDD87CAD2C1341E@utd59514.utdallas.edu> <47604075.8060705@123.com.sv> <18272.17315.714141.372324@jerusalem.litteratus.org> <47604DE2.4010307@123.com.sv> <20071212211342.GA11906@gizmo.acns.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Wednesday, December 12, 2007 16:13:42 -0500 Jerry McAllister <jerrymc@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@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8CAEB1F9ED3E20FDF781FC2C>