bug I'm seeing with forked process

Stephan B. Wessels stephan.wessels at sdrc.com
Wed Jul 28 17:59:54 UTC 1999


BUG PROBLEM.

I'm currently running Squeak 2.4b of April 23, 1999, Last update: 1209 on
Windows NT.

The application uses a forked process which sits inside a loop waiting for a
termination condition to exit.  The program is processing a number of HTML based
lists and creating a new dynamic output HTML document as a report.  It's been
very handy and was simple to write.

The peculiar thing is it fails whenever I'm not at my desk.  I suspect it's
related to something NT is doing while running the screen saver.  I get the
following message repeating in my console:
        CreateThread() failed (8) -- Not enough storage is available to process
this command.
        SetThreadPriority() failed (6) -- The handle is invalid.

So what's the deal here?  I'm pretty careful about forked processes and do not
have any awareness of repeated forks in my code.  The only thing is the HTTP
stuff in the base image is probably doing some forked stuff.  I wonder if
there's a resource exhaustion thingy I need to watch for?

The thing that's so frustrating for me about this is that the application was
something I crafted to make my own project management duties more efficient.
Then a number of other managers have seen this and now before you know it
there's a whole bank of people how suddenly depend on good operation 24/7.  Of
course I didn't see a failure until it was out in front of everyone...

Ideas?

  - Steve





More information about the Squeak-dev mailing list