Request for summarized inode problem

Mike Wescott wescott at ncrcae.Columbia.NCR.COM
Mon Jun 5 23:18:29 AEST 1989


In article <1217 at swusrgrp.UUCP> jeff at swusrgrp.UUCP (Jeff Tye sys adm) writes:
> [...] could somebody
> please tell me in a short paragraph or two about what causes the inode table
> to get crashed when running news.

It's not news that does it, at least not directly.  It is a kernel bug.
The SysV kernel keeps track of the lowest unused inode, in order to improve
the scan time to find new inodes.  There is, however, a bug whereby the kernel
can free up an inode that is lower than the current "lowest" and not update
its current concept of lowest inode.  Since searches for unused inodes begin
with this "lowest" inode, others that are lower in number can be "lost".
The pattern of additions and deletions to the filesystem caused by news
seems to exacerbate the problem.

> Is there a fix on the horizon?

Your vendor should have a fix by now.  ialloc() in alloc.c can be changed to
rescan the inode list from the beginning one more time if the kernel finds
that it has run out of inodes.

	-Mike Wescott
-- 
	-Mike Wescott
	 mike.wescott at ncrcae.Columbia.NCR.COM



More information about the Comp.unix.wizards mailing list