Apache Errors & Bugs on Windows Server

Apache 2.2.3 did not restart right: Waiting for 0 worker threads to exit

|

I have one of my Apache 2.2.3 server scheduled to weekly restart with "D:\Apache3\bin\httpd.exe -k restart -n Apache3".
The last time it run (last night) it did not perform normally. Here is what the log looked like:

[Fri Sep 29 23:00:00 2006] [notice] Apache configured -- resuming normal operations
[Fri Sep 29 23:00:00 2006] [notice] Server built: Jul 27 2006 16:49:49
[Fri Sep 29 23:00:00 2006] [notice] Parent: Created child process 3236
[Fri Sep 29 23:00:01 2006] [notice] Child 3236: Child process is running
[Fri Sep 29 23:00:01 2006] [notice] Child 3236: Acquired the start mutex.
[Fri Sep 29 23:00:01 2006] [notice] Child 3236: Starting 256 worker threads.

Apache Rotatelogs.exe for Windows Server

|
When using the Apache tool, rotatelogs.exe, you can see (using the task manager) multiple instances of rotatelogs.exe. Even when using it on just 1 web site!
To make this issue even more disastrous when restarting the Apache (httpd.exe), not all instances of rotatelog.exe are released.
Doing some research on the web it looks like this issue has been going on since years (Apache 1.3, 2.0 and now 2.2....).
Note: I've verified this issue with both Apache 2.0.55 and 2.2.0

Running Apache + PHP + Accelerators under Windows 2003

| | | |

I have been getting some instability running Apache with PHP + Accelerators under Windows 2003. I will log my finds in this article. Visit regularly for updates. I ended up running 7 Apaches on a Windows 2003 Server to test all different kinds of configurations. Recently because it was becoming complex, I started logging my finds. This page is probably for the hardcore debugging type...

Mitigating factors:
- Most crash seem to happen because of load (with very low traffic you might never experience problems).
- My PHP applications are very demanding. Especially Gallery2 which relies on external libraries for processing images. Again other PHP applications might not experience these problems.
-If you have issues with IIS, these finding might also be applicable.

Apache: PHP 4 using mod_rewrite getting blank page

|
Bug Symptoms: Running Apache (2.2.0 distribution from xampp), with PHP 4, I was getting a blank page. My PHP application was using the Apache module "mod rewrite", it appeared directly related to the "rewrite" links.

Solution: Turned out that if I disable the Apache module "mod_status" it works just fine.