Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2005 14:22:50 +0000
From:      db <db@traceroute.dk>
To:        questions@freebsd.org
Subject:   no free inodes
Message-ID:  <200503051422.50394.db@traceroute.dk>

next in thread | raw e-mail | index | archive | help
Hi all

I have a webserver (FreeBSD 5.3 on a i386 with 512 mb ram) serving over 6000 
users pr day, but when I try to run proftpd i get:
/var: create/symlink failed, no inodes free
foo.domain.topdomain - error opening scoreboard: No space left on device

web1# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad1s1a    124M     36M     78M    32%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad1s1g     48G    4.6G     39G    11%    /home
/dev/ad1s1f    3.9G    824M    2.8G    23%    /usr
/dev/ad1s1d    248M     82M    146M    36%    /var
/dev/ad1s1e    248M     18K    228M     0%    /var/tm
web1# sysctl -a | grep maxuser
kern.maxusers: 251
web1# sysctl -a | grep files
kern.maxfiles: 8072
kern.maxfilesperproc: 7264
kern.openfiles: 171
p1003_1b.mapped_files: 1
web1# sysctl -a | grep inode
     inodedep     1   128K    413K     2070  128,256
FFS2 dinode:     256,        0,   4170,     75,     5029
FFS1 dinode:     128,        0,      0,      0,        0
FFS inode:       140,        0,   4170,     30,     5029
vfs.devfs.inodes: 90
vfs.devfs.topinode: 93
debug.inode_bitmap: 65

I've google and read "man tuning", but I'm still unsure how to fix this. Do I 
need to reformat /var or can I fix it with sysctl?

Are there other things I should be aware of?

br
db

ps: Please Cc to me as I am not on the list.



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