From owner-freebsd-questions@FreeBSD.ORG Wed May 21 07:54:13 2003 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 5C12E37B401 for ; Wed, 21 May 2003 07:54:13 -0700 (PDT) Received: from gs166.sp.cs.cmu.edu (GS166.SP.CS.CMU.EDU [128.2.205.169]) by mx1.FreeBSD.org (Postfix) with SMTP id B0BB043F3F for ; Wed, 21 May 2003 07:54:12 -0700 (PDT) (envelope-from dpelleg@gs166.sp.cs.cmu.edu) Sender: dpelleg@gs166.sp.cs.cmu.edu To: Perica Veljanovski References: <20030521142936.3B38.EZHE@euro.net.mk> From: Dan Pelleg Date: 21 May 2003 10:53:11 -0400 In-Reply-To: <20030521142936.3B38.EZHE@euro.net.mk> Message-ID: Lines: 50 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: 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: Wed, 21 May 2003 14:54:13 -0000 Perica Veljanovski writes: > > On Wed, 2003-05-21 at 08:48, Perica Veljanovski wrote: > > > allsow, somethimes when I reboot it shoes: "no inodes free" > > > So, what seems to be the problem here? > > > > Your /var filesystem is basically out of files. This doesn't necessarily > > mean that file system is full. It's just out of file information > > structures (inodes). > > > > This is usually caused by some process not removing it's temporary > > files. You could remove them yourself! > > > > If too many temporary files are created by squid, you should change > > caching options to lower number of cache directories/files, or reformat > > your filesystem with different options [see newfs(8)] > > -- > > Hi again, > > Well, squid is logging into /usr/....../squid/var/ so it could not be > squid. Actualy, only softwawre that comes with FreeBSD logs into /var > > Here is the df: > ------------- > IBM:/#df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 126M 46M 70M 39% / > /dev/ad0s1f 252M 34K 232M 0% /tmp > /dev/ad0s1g 5.1G 2.8G 1.9G 59% /usr > /dev/ad0s1e 252M 95M 137M 41% /var > procfs 4.0K 4.0K 0B 100% /proc > --------------- > Doese /usr, /var, /tmp have the same inode pool, or are they separate, > meaning: different inodes for /var, different for /usr? > Separate. They are a resource of each filesystem. > So the question is: How can I find out which program doesnt clean/flush > the inodes, and is there a way to see how many inodes there are? > df -i will show you how many there are and how many your'e using. As for the program which doesn't clean the inodes, that would be the same program that creates lots of files. -- Dan Pelleg