From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 13:22:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54E2316A4CE for ; Sat, 5 Mar 2005 13:22:11 +0000 (GMT) Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13EAA43D58 for ; Sat, 5 Mar 2005 13:22:10 +0000 (GMT) (envelope-from db@traceroute.dk) Received: from user2.cybercity.dk (user2.cybercity.dk [212.242.41.35]) by cicero1.cybercity.dk (Postfix) with ESMTP id C568A7E22DC for ; Sat, 5 Mar 2005 14:22:08 +0100 (CET) Received: from trinita (port132.ds1-arsy.adsl.cybercity.dk [212.242.239.73]) by user2.cybercity.dk (Postfix) with ESMTP id 68E1318622 for ; Sat, 5 Mar 2005 14:22:08 +0100 (CET) From: db To: questions@freebsd.org Date: Sat, 5 Mar 2005 14:22:50 +0000 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503051422.50394.db@traceroute.dk> Subject: no free inodes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 13:22:11 -0000 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.