Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2009 13:18:07 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Peter <peterpub2@aboutsupport.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: running out of inodes
Message-ID:  <d7195cff0907251018j1c80a833o6ccb1ceb1327a062@mail.gmail.com>
In-Reply-To: <4A6AB1C2.4060500@aboutsupport.com>
References:  <4A6AB1C2.4060500@aboutsupport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/25 Peter <peterpub2@aboutsupport.com>:
> 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
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0907251018j1c80a833o6ccb1ceb1327a062>