Apache Fork Errors - Found on Windows Server 2019

Mark Geisert mark@maxrnd.com
Fri Oct 15 05:05:51 GMT 2021


Hi,

OwN-3m-All via Cygwin wrote:
> Hi All,
> 
> I can't seem to get apache via cygwin to work on Windows Server 2019.
> 
> Here is my error log:
> 
>        0 [main] httpd 1360 child_info_fork::abort:
> \??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address:
> parent(0x3FAF60000) != child(0xCD0000)
> [Thu Oct 14 20:21:24.306514 2021] [mpm_prefork:error] [pid 3203]
> (11)Resource temporarily unavailable: AH00159: fork: Unable to fork new
> process
> [Thu Oct 14 20:21:32.643467 2021] [mpm_prefork:notice] [pid 3203] AH00163:
> Apache/2.4.39 (Unix) PHP/7.3.7 configured -- resuming normal operations
> [Thu Oct 14 20:21:32.643698 2021] [core:notice] [pid 3203] AH00094: Command
> line: '/usr/sbin/httpd -D NO_DETACH'
> [Thu Oct 14 20:21:32.644325 2021] [mpm_prefork:notice] [pid 3203] AH00169:
> caught SIGTERM, shutting down
[etc etc etc]
> 
> I issued the "rebase-trigger fullrebase" command and ran the cygwin setup
> for it to rebase.  I rebooted the server, and that didn't make a difference.

Makes sense to have tried that; thanks for reporting outcome.

> Any idea why this is happening or how to fix it?

Been a long time since I've run Apache and that wasn't even on Cygwin, but...
Apache had/has two run modes, pre-forking and threaded.  It appears you're running 
it in pre-forking mode.  Try running it in threaded mode.  This might be 
controlled by httpd.conf or some other Apache config file.

If somebody else on the list is successfully running Apache on Cygwin, maybe they 
can chime in on which mode they're using.
HTH,

..mark


More information about the Cygwin mailing list