file table overflow w/99.{8|9}

file table overflow w/99.{8|9}

Post by Jan-Olaf Droe » Tue, 04 May 1993 01:38:19



Since I have upgraded from .99pl7A to pl8 and 9 I am getting file table
overflows nearly every time I poll news & mail.

This did not happen when I was using pl7A and earlier.

I know that the file table is rather small, so it *could* be possible that
it gets really filled, but otherwise this did not happen with the same
mail- and news-soft and pl7A. Also the machine is not loaded at all when
it polls: uucico, uuxqt, rmail and rnews are the only processes running,
so I can't imagine they are using up all filetable entries.

So two questions arise:

   1) Is there really a bug with the handling of the filetable in the kernel,
      or am I just discovering Murphey's law?

   2) Which is the right way to make the filetable larger?
      Is it sufficient just to alter the value of NR_FILE in linux/fs.h
      or do I have to make changes in other places too (i.e. NR_INODE)?.
      Also, will there be problems with applications already compiled when
      I change this value, or do I have to recompile much stuff?

Setup: .99pl9, libc-4.3.2, smail, inn-1.4, taylor-uucp-1.4

JanO
--


6000 Frankfurt 1  | phone: ++49-69-552167             | (_)<(_)

 
 
 

file table overflow w/99.{8|9}

Post by Keith Barre » Wed, 05 May 1993 03:30:08


I am also seing this EXACT same behavior. Never got it in releases
pl7a and earlier.

Is there a fix? The problem pretty much renders everything unusable.

Keith Barrett

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Linux = Likable Unix :-)               |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

file table overflow w/99.{8|9}

Post by Nick Hillia » Wed, 05 May 1993 04:21:08


: I am also seing this EXACT same behavior. Never got it in releases
: pl7a and earlier.

: Is there a fix? The problem pretty much renders everything unusable.

Sure is. Just increase the value of NR_FILE, and make sure that NR_INODE is
bigger than it.

And now that I'm in a mood for pontificating about tweaking code.  Hey,
you've got the source to the kernel. Fiddle with it, and see what happens.
Don't be afraid to change things if you want. Remember, it's *your* unix
system. You can do whatever you want with it.

(Just make sure you have a book disk, though :-)

ciao,
Nick
--



| UCC, Cork, Ireland.        | Disclaimer: Opinions - they're mine, all mine! |

 
 
 

file table overflow w/99.{8|9}

Post by Joel M. Hoffm » Thu, 06 May 1993 07:58:30




>: I am also seing this EXACT same behavior. Never got it in releases
>: pl7a and earlier. [problem=file table overflow]

>: Is there a fix? The problem pretty much renders everything unusable.

>Sure is. Just increase the value of NR_FILE, and make sure that NR_INODE is
>bigger than it.

This is a work-around, not a solution.  The facts seem to be that the
file table is filling up with 0.99.9 (and 8?) when under the same
circumstances it would not do so under earlier versions.  

-Joel

--
-----------------------------------------------------------------------------
|_|~~ Germany, Europe. 1943.    "The diameter of the bomb was 30 centimeters,
__|~| 16 Million DEAD.           and the diameter of its destruction, about 7
                                meters, and in it four killed and 11 wounded.
 cnc  Bosnia, Europe. 1993.     And around these, in a larger circle of  pain
 cnc  HOW MANY MORE?          and time,  are scattered two  hospitals and one
                          cemetery.   But the young woman who was  buried  in
                    the place from where she came, at a distance of more than
             than 100 kilometers, enlarges the circle considerably.   And the
      lonely man who is mourning her death in a distant  country incorporates
into the circle the whole world.  And I won't speak of the cry of the orphans
that reaches God's chair and from there makes the circle endless and godless."
-----------------------------------------------------------------------------

 
 
 

file table overflow w/99.{8|9}

Post by James Michael Chac » Thu, 06 May 1993 19:28:55





>>: I am also seing this EXACT same behavior. Never got it in releases
>>: pl7a and earlier. [problem=file table overflow]

>>: Is there a fix? The problem pretty much renders everything unusable.

>>Sure is. Just increase the value of NR_FILE, and make sure that NR_INODE is
>>bigger than it.

>This is a work-around, not a solution.  The facts seem to be that the
>file table is filling up with 0.99.9 (and 8?) when under the same
>circumstances it would not do so under earlier versions.  

All I have to add is that is has "never" filled up on me after doing this.
I have been bumping NR_FILE up to 256 since at least 99.3, perhaps even before
that.

This is a solution, have you actually "tried" it?? Tunable kernel features
are there for you to modify if you need a bigger system, use 'em.

James

 
 
 

file table overflow w/99.{8|9}

Post by Frank T Lofar » Fri, 07 May 1993 06:42:04


Excerpts from comp.os.linux (USENET): 5-May-93 Re: file table overflow

Quote:>         ...and, the only difference between Linux and the Commercial
> Unix packages is that you have to *search* for the Tunables, but they
> are still there.  

>         Suggestion to Linus:  create a simple list of what Tunables
> their are, and which file to find them in?  I know about tasks.h
> and fs.h...are there any others?

> thanks...

> marc

I think this is a *VERY* good idea! How about a common include file to
put all the tunable #define's, etc in, to make it easier to find? That
would really be helpful (maybe even have make config allow you to change
these). It would be good to know what parameters you can change
safely/easily, and those that could hose/break stuff, or need extra
work, or require binaries to be recompiled, etc. Anyway, I only found
many of the kernel parameters when I was looking through large portions
of the kernel source. (I've been working on the kernel, drivers, etc
lately, so that's how I stumbled upon this stuff.)

P.S. How many machine's need the #define REALLY_SLOW_IO? On mine (Everex
Tempo 486/33DX), I've been able to change the #define's to #undef's in
floppy.c, keyboard.c, and hd.c, without any problem. I wonder if there
are any others lurking around I can change. I wonder if most machines
are designed well enough to allow this, so maybe it could be the default
or configurable?

 
 
 

file table overflow w/99.{8|9}

Post by Keith Barre » Sat, 08 May 1993 00:02:38


Quote:>         Suggestion to Linus:  create a simple list of what Tunables
> their are, and which file to find them in?  I know about tasks.h
> and fs.h...are there any others?

I'd like to strongly support this suggestion in general. Several times I had
to ask "how do you solve x..." and got replies telling me to rebuild the kernel
with parameter Y increased; usually followed by a rough comment like
"that's what your sources are for - use them". I WOULD USE THEM (and do),
but that doesn't mean I always know what parameter is that I need to change,
or that a simple parameter change is the fix I need.

A list of the tunable parameters, their include file, and comments
(such as range limitations or co-dependicies on other parameters) would be
MOST helpful, and may cut down on some of the newsgroup traffic.

I'd like to suggest that this be created, and perhaps added as a new FAQ
section.

Keith
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Linux = Likable Unix :-)               |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

file table overflow w/99.{8|9}

Post by Mike Jagd » Fri, 07 May 1993 08:32:00



MF> the solution is to use a dynamic list (right term?) and from
MF> what I've been told, Linus is/has this working, but isn't
MF> prepared to release it without further testing.

Yeah, I hacked, er, wrote it, Linus has it. He is, quite rightly, holding on
to it while all the other stuff dies down a bit :-).

  There does seem to be a race condition in it somewhere. Under *extreme*
thrashing (linking, unlinking, opening, closing etc.) I can make things die
with permission denied errors on the shared libraries.

  I also notice a possible memory leak with it when searching for the above
but since it would get triggered once every thousandth blue moon I may have
been imagining it.

  No, I don't think a public unofficial patch is likely... :-).

                                Mike  

 
 
 

1. L 99 99 99 error while booting

Hi,

I have a problem with lilo. After updating to suse 8.1 (and obviously
updating lilo and the boot sector), i get an error message. It looks like
"L 99 99 99 99..." (some rows with "99") and occurs while booting. Does
anybody know how to solve my problem?

Thx in advance,
G.B.

2. Installing Kernel

3. Installed mandrake 9.0, now I'm greeted with "99 99 99 99"... please help!

4. AH HA HA HA! MS FIGHTS SPAM LAW!!!

5. Ftape 0.9.9d, Kernel 0.99.15, Modutils 0.99.15 Help.

6. swapctl() call

7. : if setup 0.99.14 kernel, then 0.99.13 kernel boots?!

8. ip masquerading with RH5.2

9. Solaris 7 version: 3/99 or 5/99

10. File table overflow on mv

11. File table overflow

12. File Table Overflow???

13. file table overflow