From owner-freebsd-stable@FreeBSD.ORG Fri Apr 27 16:06:51 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39346106566B for ; Fri, 27 Apr 2012 16:06:51 +0000 (UTC) (envelope-from efraindector@motumweb.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 028538FC17 for ; Fri, 27 Apr 2012 16:06:50 +0000 (UTC) Received: by dadz14 with SMTP id z14so3960887dad.17 for ; Fri, 27 Apr 2012 09:06:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:from:to:references:in-reply-to:subject:date:organization :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:importance:x-mailer:x-mimeole:x-gm-message-state; bh=UCZjV/Rkj/Xrd6BrEM2BvsnUoMzShWEi5NTZ2zPOulI=; b=D99VIzjrQagN5RNgytLp9wULNpsOd5Ejf1f69J12d5oPjL8RVYfkNEwkcCMbClGEXf s4ywwwB2WKVhhXSPzmA+9xqbHSgMZQ2PekAsiLHdNIJJdgp9pNscftWGPL/ptMqhKnno if9KJ9WATG0Auqq/DqARmaFge9K1Jmg4c3Uc8pbmiszFl5iJWiCd1woBbnYGr3wCqVAX iLDi5vQWvGh2iwFrmTqiwOp4q2CTloflSQwrHBgT4GBArJR4l6pM+73q6xvu/tsqNb0+ kSohIAGEaJyfBi4eAgVRcwP2gHLd0AwtVzjM2M+EOgVhUiP4MQ89imhMFR60ih2dbgUm RnYA== Received: by 10.68.212.227 with SMTP id nn3mr22836480pbc.122.1335542810776; Fri, 27 Apr 2012 09:06:50 -0700 (PDT) Received: from CMOTUM25PC ([187.171.5.249]) by mx.google.com with ESMTPS id pl8sm3689370pbb.72.2012.04.27.09.06.48 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Apr 2012 09:06:49 -0700 (PDT) Message-ID: <5CA9078D6B534BF9A216FFABEF037C15@CMOTUM25PC> From: "Efrain Dector" To: References: <4E9B7F6B991C46BF9CCBC03F72A56AFB@CMOTUM25PC> <1335540545.66865.71.camel@revolution.hippie.lan> In-Reply-To: <1335540545.66865.71.camel@revolution.hippie.lan> Date: Fri, 27 Apr 2012 11:06:47 -0500 Organization: HESA Tecnica MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-Gm-Message-State: ALoCoQnqjtXTTH6tmVpBAn3yCABgSNODiLG9csJa30vfw94205YJezyL0ccoQM77ELNGOiGLFiVQ Subject: Re: /var getting full X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2012 16:06:51 -0000 Thank you all for your answers. Turns out that a Java process was using all of the space. I restarted it and the problem was solved. Thank you all for helping me to resolv this, also by giving me very useful commands that I will use in the future. -----Mensaje original----- From: Ian Lepore Sent: Friday, April 27, 2012 10:29 AM To: Efrain Dector Cc: freebsd-stable@freebsd.org Subject: Re: /var getting full On Fri, 2012-04-27 at 10:14 -0500, Efra醇^n D醇Pctor wrote: > Hello. I have a server using FreeBSD 8.2, and recently I’ve noticed that > /var is getting full But du hs /var shows me this: > > 14M /var/ > > How Can I know what is using var to free space? > > Thank you. > > OS info: > FreeBSD edh.edh 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 > 18:45:57 UTC 2011 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I would speculate that some process has unlinked a file but still has it open so the space is still in use. Try procstat -af | grep /var and look especially for lines that have a huge number in the OFFSET column (although I'm not sure that's definitive -- the file descriptor could be positioned at an offset less than the file size). -- Ian