Apache returns empty response and must restart [closed]Apache + PHP-FPM = random “Error parsing script headers” + Seg FaultsPHP-FPM is not displayed in phpinfo()Getting multiple pools working using PHP-FPM and Apache 2.4PHP-FPM pool stops responding and fails to restartConfigure Centos7 Apache 2.4 php-fpm to run as userPHP-FPM occasional “FastCGI: failed to connect to server” errorHow to redirect request from one container to another when .php files are calledPHP-FPM timing out and backend connection failureNginx returns 200 while Apache returns 302 on same PHP applicationphp7.0-fpm not working
Responsibility for visa checking
Explain Ant-Man's "not it" scene from Avengers: Endgame
Building a road to escape Earth's gravity by making a pyramid on Antartica
Does the growth of home value benefit from compound interest?
How can Iron Man's suit withstand this?
Credit card offering 0.5 miles for every cent rounded up. Too good to be true?
Old black and white movie: glowing black rocks slowly turn you into stone upon touch
Linux tr to convert vertical text to horizontal
What was the point of getting this item into the Quantum Tunnel?
Metal bar on DMM PCB
Count down from 0 to 5 seconds and repeat
Company is asking me to work from overseas, but wants me to take a paycut
How could a possessed body begin to rot and decay while it is still alive?
Accidentally cashed a check twice
I wrote a scene that the majority of my readers loved. How do I get back to that place while writing my new book?
Word for a small burst of laughter that can't be held back
Riley's, assemble!
The ring of global sections of a regular scheme
What does left arrow <- mean outside a do block?
What is the purpose of building foundations?
Anatomically Correct Swarm of Rodents
Is it legal in the UK for politicians to lie to the public for political gain?
Working in the USA for living expenses only; allowed on VWP?
Is it a problem that pull requests are approved without any comments
Apache returns empty response and must restart [closed]
Apache + PHP-FPM = random “Error parsing script headers” + Seg FaultsPHP-FPM is not displayed in phpinfo()Getting multiple pools working using PHP-FPM and Apache 2.4PHP-FPM pool stops responding and fails to restartConfigure Centos7 Apache 2.4 php-fpm to run as userPHP-FPM occasional “FastCGI: failed to connect to server” errorHow to redirect request from one container to another when .php files are calledPHP-FPM timing out and backend connection failureNginx returns 200 while Apache returns 302 on same PHP applicationphp7.0-fpm not working
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have the classical LAMP configuration on several servers, on one server I can frequently see Apache returned an empty error.
I have PHP-FPM running to serve .php file, static pages like .html is okay however if I keep the server running for 1 day, .php will be inaccessible and returned empty response, I must restart httpd to recover this issue.
I can see the only error log in Apache is:
[:error] [pid 21153] ModSecurity: ModSecurity requires mod_unique_id to be installed.
However I have same configuration on other servers, both got this error but did not have this issue.
How should I diagnose this issue?
Thanks in advance.
linux php apache-2.4 php-fpm httpd
closed as off-topic by Jenny D, Thomas, Ward♦ May 20 at 5:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – Jenny D, Thomas, Ward
add a comment |
I have the classical LAMP configuration on several servers, on one server I can frequently see Apache returned an empty error.
I have PHP-FPM running to serve .php file, static pages like .html is okay however if I keep the server running for 1 day, .php will be inaccessible and returned empty response, I must restart httpd to recover this issue.
I can see the only error log in Apache is:
[:error] [pid 21153] ModSecurity: ModSecurity requires mod_unique_id to be installed.
However I have same configuration on other servers, both got this error but did not have this issue.
How should I diagnose this issue?
Thanks in advance.
linux php apache-2.4 php-fpm httpd
closed as off-topic by Jenny D, Thomas, Ward♦ May 20 at 5:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – Jenny D, Thomas, Ward
add a comment |
I have the classical LAMP configuration on several servers, on one server I can frequently see Apache returned an empty error.
I have PHP-FPM running to serve .php file, static pages like .html is okay however if I keep the server running for 1 day, .php will be inaccessible and returned empty response, I must restart httpd to recover this issue.
I can see the only error log in Apache is:
[:error] [pid 21153] ModSecurity: ModSecurity requires mod_unique_id to be installed.
However I have same configuration on other servers, both got this error but did not have this issue.
How should I diagnose this issue?
Thanks in advance.
linux php apache-2.4 php-fpm httpd
I have the classical LAMP configuration on several servers, on one server I can frequently see Apache returned an empty error.
I have PHP-FPM running to serve .php file, static pages like .html is okay however if I keep the server running for 1 day, .php will be inaccessible and returned empty response, I must restart httpd to recover this issue.
I can see the only error log in Apache is:
[:error] [pid 21153] ModSecurity: ModSecurity requires mod_unique_id to be installed.
However I have same configuration on other servers, both got this error but did not have this issue.
How should I diagnose this issue?
Thanks in advance.
linux php apache-2.4 php-fpm httpd
linux php apache-2.4 php-fpm httpd
asked Apr 15 '16 at 16:05
GreenVineGreenVine
11
11
closed as off-topic by Jenny D, Thomas, Ward♦ May 20 at 5:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – Jenny D, Thomas, Ward
closed as off-topic by Jenny D, Thomas, Ward♦ May 20 at 5:06
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – Jenny D, Thomas, Ward
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The error message tells you exactly what the problem is. Do you have the following line commented out in your config perhaps?
LoadModule unique_id_module modules/mod_unique_id.so
You may need to recompile Apache if you did not compile it with the --enable-unique-id flag (most distributions have it included in compiled version though possibly commented about in config as per above).
add a comment |
If the apache is failing to respond after one or two days means it is a performance issue, consider increasing the worker process and servver process instances. Some basic example below, tweak it as per your needs to resolve the issue.
ServerLimit 16
StartServers 2
MaxRequestWorkers 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The error message tells you exactly what the problem is. Do you have the following line commented out in your config perhaps?
LoadModule unique_id_module modules/mod_unique_id.so
You may need to recompile Apache if you did not compile it with the --enable-unique-id flag (most distributions have it included in compiled version though possibly commented about in config as per above).
add a comment |
The error message tells you exactly what the problem is. Do you have the following line commented out in your config perhaps?
LoadModule unique_id_module modules/mod_unique_id.so
You may need to recompile Apache if you did not compile it with the --enable-unique-id flag (most distributions have it included in compiled version though possibly commented about in config as per above).
add a comment |
The error message tells you exactly what the problem is. Do you have the following line commented out in your config perhaps?
LoadModule unique_id_module modules/mod_unique_id.so
You may need to recompile Apache if you did not compile it with the --enable-unique-id flag (most distributions have it included in compiled version though possibly commented about in config as per above).
The error message tells you exactly what the problem is. Do you have the following line commented out in your config perhaps?
LoadModule unique_id_module modules/mod_unique_id.so
You may need to recompile Apache if you did not compile it with the --enable-unique-id flag (most distributions have it included in compiled version though possibly commented about in config as per above).
answered Apr 24 '16 at 20:05
Barry PollardBarry Pollard
3,571822
3,571822
add a comment |
add a comment |
If the apache is failing to respond after one or two days means it is a performance issue, consider increasing the worker process and servver process instances. Some basic example below, tweak it as per your needs to resolve the issue.
ServerLimit 16
StartServers 2
MaxRequestWorkers 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
add a comment |
If the apache is failing to respond after one or two days means it is a performance issue, consider increasing the worker process and servver process instances. Some basic example below, tweak it as per your needs to resolve the issue.
ServerLimit 16
StartServers 2
MaxRequestWorkers 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
add a comment |
If the apache is failing to respond after one or two days means it is a performance issue, consider increasing the worker process and servver process instances. Some basic example below, tweak it as per your needs to resolve the issue.
ServerLimit 16
StartServers 2
MaxRequestWorkers 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
If the apache is failing to respond after one or two days means it is a performance issue, consider increasing the worker process and servver process instances. Some basic example below, tweak it as per your needs to resolve the issue.
ServerLimit 16
StartServers 2
MaxRequestWorkers 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
answered Apr 15 '16 at 16:44
PrasPras
11
11
add a comment |
add a comment |