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: Server crashing on Win2016
Author
matrixebiz



Joined: 27 Sep 2017
Posts: 26

PostPosted: Wed 29 Nov '17 19:57    Post subject: Server crashing on Win2016 Reply with quote

Hello, I am having Apache Service crashing issues on my Windows 2016 server;

I do have these settings already;
KeepAlive Off
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off

I'm using a program called Service Protector by Core Technologies to restart the service automatically when it hangs and does this like 6-7 times a day but I have installed Apache 2.4 server that came with the installation of Xampp, is it easy to upgrade Apache server? Has the actuall service file been fixed? Do I just need to download Apache server from the main source and when I install it, do I just need to select the Xampp/Apache folder?

and what is FastCGI?

Thanks


Last edited by matrixebiz on Tue 05 Dec '17 18:47; edited 1 time in total
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 04 Dec '17 16:09    Post subject: Reply with quote

Even with fcgid I had some issues running the NTS version of php. it sometimes crashed my apache. Running fcgid with the TS version was the solution. It isn't noticalbe slower like some ppl say.
Back to top
matrixebiz



Joined: 27 Sep 2017
Posts: 26

PostPosted: Mon 04 Dec '17 18:02    Post subject: Reply with quote

Hi James, for the Apache noobs like my self that don't understand all the terms/lingo, is there something that I should be using to fix my Apache Service from crashing/hanging issues?

What is FastCGI or fcgid? All I am doing is serving files with my webserver so don't think I am using PHP at all. Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 05 Dec '17 0:18    Post subject: Reply with quote

Please do not reply to topics that are different from your situation. I made a new topic form it.

Fcgid is the successor of Fascgi. Both seperate the cgi process ( often php or others) from the apache process.


Anything about the crashing in the apache error log?

Anything in the Windows Event log?

Which version of Apache do you run?
Back to top
matrixebiz



Joined: 27 Sep 2017
Posts: 26

PostPosted: Tue 05 Dec '17 2:13    Post subject: Reply with quote

Hello, I'm running Apache 2.4. I see errors like this;

[Mon Dec 04 19:03:01.747060 2017] [mpm_winnt:notice] [pid 8024:tid 576] AH00418: Parent: Created child process 7704
[Mon Dec 04 19:03:02.528415 2017] [ssl:warn] [pid 7704:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 04 19:03:02.669064 2017] [ssl:warn] [pid 7704:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 04 19:03:02.715934 2017] [mpm_winnt:notice] [pid 7704:tid 528] AH00354: Child: Starting 1000 worker threads.

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.


VirtualFree() failed: [0x000001e7] Attempt to access invalid address.


Can't initialize heap: [0x000001e7] Attempt to access invalid address.

[Mon Dec 04 19:05:28.950783 2017] [core:error] [pid 7704:tid 7752] (OS 5)Access is denied. : [client 162.212.14.117:23868] AH00132: file permissions deny server access: C:/xampp/htdocs/file.jpg
[Mon Dec 04 19:07:44.995655 2017] [core:error] [pid 7704:tid 7940] (OS 5)Access is denied. : [client 162.212.14.117:27117] AH00132: file permissions deny server access: C:/xampp/htdocs/file.jpg




EDIT: I read something about a VirtualAlloc' API buffer being too large? where do I change that?
Back to top


Reply to topic   Topic: Server crashing on Win2016 View previous topic :: View next topic
Post new topic   Forum Index -> Apache