running out of inodes

illoai at gmail.com illoai at gmail.com
Sat Jul 25 17:18:09 UTC 2009


2009/7/25 Peter <peterpub2 at aboutsupport.com>:
> Hello,
>
> We have a strange issue with one of our machines. We have a busy site on
> it with a lot content  and cache files - all of these a lot small files.
>
> We started to run out inodes.....
>
> [root at pistolcontent-lb3 /]# df -hi
> Filesystem       Size    Used   Avail Capacity  iused  ifree %iused
> Mounted on
> /dev/aacd0s1a    496M    382M     74M    84%    25402  40388   39%   /
> devfs            1.0K    1.0K      0B   100%        0      0  100%   /dev
> /dev/aacd0s1e    496M    2.7M    453M     1%       99  65691    0%   /tmp
> /dev/aacd0s1f    123G     95G     18G    84% 16623996  27266  100%   /usr
> /dev/aacd0s1d    4.8G     62M    4.4G     1%     1425 658029    0%   /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

-- 
--


More information about the freebsd-questions mailing list