From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 21:51:04 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41F8316A420 for ; Wed, 12 Dec 2007 21:51:04 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4C113C448 for ; Wed, 12 Dec 2007 21:51:04 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 98B01654FD for ; Wed, 12 Dec 2007 15:51:03 -0600 (CST) Date: Wed, 12 Dec 2007 15:51:03 -0600 From: Paul Schmehl To: freebsd-questions@freebsd.org 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> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: /tmp: filesystem full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 21:51:04 -0000 --On Wednesday, December 12, 2007 16:13:42 -0500 Jerry McAllister 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: >> >> 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/