The program still has major memory leak issues. When
serving plain-o HTML files, a few Ks here and there are
consumed per request. When PHP 5 is used, a couple
megs disappear after each request.
Logged In: YES
Crap. This exposes a major flaw in how threads are handled.
PHP allocates a block of memory per thread. There's no way
through the Apache SAPI module to force it to free the
Fixed. Now the program uses a thread pool instead of
creating a new thread per request. The APP object is now
released correctly as well.