Date: 21 May 2003 10:53:11 -0400 From: Dan Pelleg <daniel+bsd@pelleg.org> To: Perica Veljanovski <ezhe@euro.net.mk> Cc: freebsd-questions@freebsd.org Subject: Re: no free inodes Message-ID: <u2svfw4xsfc.fsf@gs166.sp.cs.cmu.edu> In-Reply-To: <20030521142936.3B38.EZHE@euro.net.mk> References: <20030521142936.3B38.EZHE@euro.net.mk>
next in thread | previous in thread | raw e-mail | index | archive | help
Perica Veljanovski <ezhe@euro.net.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2svfw4xsfc.fsf>