From owner-freebsd-questions@FreeBSD.ORG Sat Jul 25 17:18:08 2009 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 BBF111065706 for ; Sat, 25 Jul 2009 17:18:08 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 774008FC13 for ; Sat, 25 Jul 2009 17:18:08 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by yxe1 with SMTP id 1so4111923yxe.7 for ; Sat, 25 Jul 2009 10:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4/DchSygffXH0McbM87bq+F1FDQBf+3qTeaGOtilqU8=; b=EkSvE+Ne3VHGiGTUOFN1d+Rg1TzsVSLTnNCNgGNOtc4kt5DSu0Cp0Bgw5cBRt6IUrP ihHTpAONcyMZnrSqiOLqgsTAkWzh1Szcz7QeAv0AHVJc8NTJ+Wa1tMDS6VQuuBEYkArg +rA49N80nJIuFeb9xG3+DCDam136OXGTveEIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Fe7ver0Lla8HzYqaTJ3GhdoQwTWyYuqdNJZhR9HYRpmji2M9WhyriL+TwmSESlD17S IYL1JTwWg/HPIyw842uU+HIS1fnbDSp5lm3gpE/GX21Mf9+X+Bs83xiO1dB45lHL53lJ YfkrGNVONU/sbRudUKYi2XETQ39fU0NqG0hU4= MIME-Version: 1.0 Received: by 10.90.34.10 with SMTP id h10mr4134025agh.31.1248542287524; Sat, 25 Jul 2009 10:18:07 -0700 (PDT) In-Reply-To: <4A6AB1C2.4060500@aboutsupport.com> References: <4A6AB1C2.4060500@aboutsupport.com> Date: Sat, 25 Jul 2009 13:18:07 -0400 Message-ID: From: "illoai@gmail.com" To: Peter Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: running out of inodes 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: Sat, 25 Jul 2009 17:18:09 -0000 2009/7/25 Peter : > Hello, > > We have a strange issue with one of our machines. We have a busy site on > it with a lot content =A0and cache files - all of these a lot small files= . > > We started to run out inodes..... > > [root@pistolcontent-lb3 /]# df -hi > Filesystem =A0 =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0iused =A0if= ree %iused > Mounted on > /dev/aacd0s1a =A0 =A0496M =A0 =A0382M =A0 =A0 74M =A0 =A084% =A0 =A025402= =A040388 =A0 39% =A0 / > devfs =A0 =A0 =A0 =A0 =A0 =A01.0K =A0 =A01.0K =A0 =A0 =A00B =A0 100% =A0 = =A0 =A0 =A00 =A0 =A0 =A00 =A0100% =A0 /dev > /dev/aacd0s1e =A0 =A0496M =A0 =A02.7M =A0 =A0453M =A0 =A0 1% =A0 =A0 =A0 = 99 =A065691 =A0 =A00% =A0 /tmp > /dev/aacd0s1f =A0 =A0123G =A0 =A0 95G =A0 =A0 18G =A0 =A084% 16623996 =A0= 27266 =A0100% =A0 /usr > /dev/aacd0s1d =A0 =A04.8G =A0 =A0 62M =A0 =A04.4G =A0 =A0 1% =A0 =A0 1425= 658029 =A0 =A00% =A0 /var > > > > What is the best way to handle it ? fsck_ffs -r may help temporarily, or may not dump, newfs -i 4096, restore might solve it breaking the content and cache files out into their own filesystem (with its own, more easily managed parameters) is probably the best way --=20 --