logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache httpd.exe app crash, ntdll.dll, php_curl.dll
Author
expectmoore



Joined: 02 Oct 2016
Posts: 1
Location: United States, Gloucester Township

PostPosted: Sun 02 Oct '16 19:56    Post subject: Apache httpd.exe app crash, ntdll.dll, php_curl.dll Reply with quote

Hello All,

I am new to the Apache Lounge and I need some help. I am using WAMP/Bitnami/AWS/EC2/Windows Server to host a website. I have stopped and restarted my webserver and database several times. I have rebooted my server from the AWS support console as well.

Any assistance would be greatly appreciated.

WAMPstack version - 5.6.23-1
Windows Server - 2012 R2
Apache httpd version - 2.4.20.0


Apache is my webserver. I am receiving an error that causes users to receive a Page Not Displayed "ERR CONNECTION REFUSED" when attempting to access my site.

When I access the server to troubleshoot the following appears in event viewer logs:

1st Error
Faulting application name: httpd.exe, version: 2.4.20.0, time stamp: 0x5708ca4c
Faulting module name: ntdll.dll, version: 6.3.9600.18233, time stamp: 0x56bb4e1d
Exception code: 0xc0000374
Fault offset: 0x000e6054
Faulting process id: 0x1014
Faulting application start time: 0x01d21cce2e647d0e
Faulting application path: C:\Bitnami\WAMPST~1.23-\apache2\bin\httpd.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: c12f686e-88c4-11e6-8138-0a06cbe173a9
Faulting package full name:
Faulting package-relative application ID:

2nd Error
Faulting application name: httpd.exe, version: 2.4.20.0, time stamp: 0x5708ca4c
Faulting module name: php_curl.dll, version: 5.6.23.0, time stamp: 0x576ae570
Exception code: 0xc0000005
Fault offset: 0x0000dad0
Faulting process id: 0xa30
Faulting application start time: 0x01d21cd184003ab1
Faulting application path: C:\Bitnami\WAMPST~1.23-\apache2\bin\httpd.exe
Faulting module path: C:\Bitnami\wampstack-5.6.23-1\php\ext\php_curl.dll
Report Id: 879d00c1-88c8-11e6-8138-0a06cbe173a9
Faulting package full name:
Faulting package-relative application ID:

In the error log file I have a message requesting that I increase the "ThreadPerChild" setting. I did increase to 200 but still receiving the error.

[Sun Oct 02 17:49:14.430904 2016] [mpm_winnt:notice] [pid 4036:tid 496] AH00428: Parent: child process 2608 exited with status 3221225477 -- Restarting.
[Sun Oct 02 17:49:14.619889 2016] [ssl:warn] [pid 4036:tid 496] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 02 17:49:14.634889 2016] [mpm_winnt:notice] [pid 4036:tid 496] AH00455: Apache/2.4.20 (Win32) OpenSSL/1.0.2g PHP/5.6.23 configured -- resuming normal operations
[Sun Oct 02 17:49:14.634889 2016] [mpm_winnt:notice] [pid 4036:tid 496] AH00456: Apache Lounge VC11 Server built: Apr 9 2016 11:30:31
[Sun Oct 02 17:49:14.634889 2016] [core:notice] [pid 4036:tid 496] AH00094: Command line: 'C:\\Bitnami\\WAMPST~1.23-\\apache2\\bin\\httpd.exe -d C:/Bitnami/wampstack-5.6.23-1/apache2 -f C:\\Bitnami\\WAMPST~1.23-\\apache2\\conf\\httpd.conf'
[Sun Oct 02 17:49:14.634889 2016] [mpm_winnt:notice] [pid 4036:tid 496] AH00418: Parent: Created child process 4152
[Sun Oct 02 17:49:14.921888 2016] [ssl:warn] [pid 4152:tid 368] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 02 17:49:15.001888 2016] [ssl:warn] [pid 4152:tid 368] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 02 17:49:15.016889 2016] [mpm_winnt:notice] [pid 4152:tid 368] AH00354: Child: Starting 64 worker threads.
[Sun Oct 02 17:49:15.020889 2016] [mpm_winnt:error] [pid 4152:tid 1656] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Mon 03 Oct '16 9:49    Post subject: Reply with quote

Looks like there is a PHP issue.

You run PHP as module, advised is to run it with mod_fcgid (fastcgi). With mod_fcgid PHP is not bloating the server.

Running as Fastcgi memory usage of Apache is far less en the Speed is on par when running as module. There are advantages to running PHP with FCGI. Separating the PHP code from the web server removes 'bloat' from the main server, and improves the performance of non-PHP requests. Secondly, having one permanent PHP process as opposed to one per apache process means that shared resources like persistent MySQL connections are used more efficiently. And maybe even more important is stability, since I run FCGI my server never crashed caused by php (extension) errors.
Back to top


Reply to topic   Topic: Apache httpd.exe app crash, ntdll.dll, php_curl.dll View previous topic :: View next topic
Post new topic   Forum Index -> Apache