🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #41321

40 folder bug [Was: Re: poolfix3]

#41321
From: M Davidson
Date: Mon, 26 Feb 1990 12:19
35 lines
2457 bytes
In article <16819@cs.yale.edu> fischer-michael@CS.YALE.EDU (Michael Fischer) writes:
[Micheal writes about the 40-folder bug]...
>TOS 1.0 and 1.2 used the memory less wisely and had varous bugs in the
>management of the pool that could cause the machine to crash.  In
>particular, it failed to check properly when the pool was exhausted,
>so when too many folders or too many Malloc's used up the pool, weird
>things would start happening.  The so-called "40-folder" limit was
>just an empirical observation that users who had at most 40 folders on
>their disks were unlikely to exhaust memory.  Thus, as long as one had
>at most 40 folders, the problem would not usually be encountered.  By
>increasing the size of the pool, FOLDRXXX allowed more folders to be
>used.

I have just got a Hard Drive after 3 months of waiting for Power
Computing to come up with it (just thought I'd add that dig). Now that I
have all this disk space the 40-folder bug must be more likely.

Can someone explain exactly what causes the memory to be used up. Is it
creating folders/opening folders or both? I have installed foldr100 but
I'd like to have some sort of empirical measure of how long I can muck
around with my drive (setting it up etc.) before I should reboot.

Also, what are the symptoms of the bug? Does the machine crash or would
things like having several copies of the one file (with the same name) in
the same directory be a possible consequence? This happened to me last
night but I wouldn't like to jump to conclusions - I'd been compiling a
C prog which refused to do anything but bomb out, but my ST kept on
going (it didn't lock up) so normally I would have thought that was the
cause. 

While I'm on the subject, what does *one* bomb mean? Neodesk didn't know
and either did any of my books....

>| Michael Fischer                                |
>|    Arpanet:    <fischer-michael@cs.yale.edu>   |
Technical Details
Message-ID: <2470@castle.ed.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!edcastle!aimd
References: <900218230844.275515@DMZRZU71-UNI-MAINZ--GERMANY> <2047@atari.UUCP> <1990Feb22.195715.1132@ultra.com> <16819@cs.yale.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!edcastle!aimd
From: aimd@castle.ed.ac.uk (M Davidson)
Newsgroups: comp.sys.atari.st
Subject: 40 folder bug [Was: Re: poolfix3]
Message-ID: <2470@castle.ed.ac.uk>
Date: 26 Feb 90 12:19:49 GMT
References: <900218230844.275515@DMZRZU71-UNI-MAINZ--GERMANY> <2047@atari.UUCP> <1990Feb22.195715.1132@ultra.com> <16819@cs.yale.edu>
Reply-To: aimd@castle.ed.ac.uk (M Davidson)
Organization: Edinburgh University Computing Service
Lines: 35