V
V
Vladimir Yakovlev2018-10-27 20:38:20
Apache HTTP Server
Vladimir Yakovlev, 2018-10-27 20:38:20

Why does Apache crash periodically?

There is a corporate web application. deployed on our own server.
Server configuration:
Windows 10
IntelCore i7 3.5
RAM 32GB
SSD disk (I don't know which one)
Web application:
PHP7(YII1) - the code is already being added by the 3rd person.
MS SQL
Apache 2.4
VUE.JS
The number of concurrent users varies from 10 to 20. The web application has sections with a complex selection from the database. Not so long ago, we updated the front from Marionet.JS to Vue.js and built up new functionality quite nicely.
After the update, for some unknown reason, Apache began to periodically crash with the following error [pid 3028:tid 536] AH00428: Parent: child process 2476 exited with status 3221226356 -- Restarting.
Unfortunately, there have been unsuccessful attempts to increase the thread stack size:
ThreadStackSize 8888888
ThreadsPerChild 1500
MaxConnectionsPerChild 0
I'm not a developer or administrator, but I would like to understand this issue.
Ask for help from the community.
Does it make sense to do something about it?
If it has, then what?
Where to look?
Is it possible to understand what is the true reason and why there is not enough thread stack size?
Is it worth continuing to work with Apache?
PS
Since these crashes make life very difficult, we decided to deploy NGINX on a virtual machine with Ubuntu. Everything is ok there.
PPS
Personally, I can throw off the log or config file.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2018-10-27
@Zarom

Judging by the number of unresolved issues on the Internet from Apache to win, switching to linux + nginx is preferable. In general, the performance of such a configuration will be higher. If Apache is more familiar to you, you can continue to use it, but it's better to give statics through nginx anyway.

A
Artem @Jump, 2018-10-28
Tag

Why does Apache crash periodically?
It's impossible to say for sure without a diagnosis.
But if offhand, with a probability of 95%, the reason for this is
Server Configuration:
Windows 10

In general, it is more convenient to deploy a web server on Linux, but it works on Windows.
The problem is that 10 is not just Windows, but something terrible, and if it can still be used somehow for a desktop, then it is impossible for server tasks, because it completely lacks stability.
In general, either upgrade to linux, or use a more suitable version of Windows - server versions, as well as seven and eight.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question