no free inodes
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 SizeUsed Avail Capacity Mounted on /dev/ad1s1a124M 36M 78M32%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad1s1g 48G4.6G 39G11%/home /dev/ad1s1f3.9G824M2.8G23%/usr /dev/ad1s1d248M 82M146M36%/var /dev/ad1s1e248M 18K228M 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 128K413K 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no free inodes
On Sat, 5 Mar 2005 14:22:50 +, db [EMAIL PROTECTED] wrote: /var: create/symlink failed, no inodes free foo.domain.topdomain - error opening scoreboard: No space left on device This means what it says - you have run out of inodes. Do df -i /var and you will see all your inodes have been used up. The number of inodes is fixed at newfs time. This really leaves you three options: 1.You can either find some files on /var which are no longer wanted and delete them, thus freeing up inodes. 2. You can dump the file system, and recreate it using a different-than-the-default inode density. man newfs and look at -i for full information. 3.You evidently have lots on space on /home so move a lot of files (preferably a single directory containing lots of file) to /home from /var and symlinking it. Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no free inodes
On Saturday 05 March 2005 14:12, Freminlins wrote: This means what it says - you have run out of inodes. Do df -i /var and you will see all your inodes have been used up. The number of inodes is fixed at newfs time. This really leaves you three options: 1.You can either find some files on /var which are no longer wanted and delete them, thus freeing up inodes. 2. You can dump the file system, and recreate it using a different-than-the-default inode density. man newfs and look at -i for full information. 3.You evidently have lots on space on /home so move a lot of files (preferably a single directory containing lots of file) to /home from /var and symlinking it. Oki, thanks! :-) br db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]