Apache server keeps crashing, caught SIGTERM, shutting down
SIGTERM is used to restart Apache (provided that it's setup in init to auto-restart): http://httpd.apache.org/docs/2.2/stopping.html
The entries you see in the logs are almost certainly there because your provider used SIGTERM for that purpose. If it's truly crashing, not even serving static content, then that sounds like some sort of a thread/connection exhaustion issue. Perhaps a DoS that holds connections open?
Should definitely be something for your provider to investigate.
How to fix: Apache httpd container for Docker shuts down unexpectedly (SIGTERM)
Fixed!
The Dockerfile included a healthcheck command, namely:
HEALTHCHECK --interval=5s --timeout=3s CMD curl --fail http://localhost:80/ || exit 1
So, after the check failed for any reason, the container just got killed. Either remove that line from the Dockerfile or, better yet, instruct Docker to automatically restart the container whenever it dies.
Rails - Caught SIGTERM, shutting down on AWS EC2 running on Apache Server
Try to check your configurations. This problem may be because you set your config.force_ssl equal to true. Change it back to false then restart your server using sudo service apache2 restart.
Related Topics
How to Rename Files You Put into a Tar Archive Using Linux 'Tar'
Disabling Apache Logging to Access.Log
How to Know the Creation Time of a File in Ubuntu
Dynamically Determining Where a Rogue Avx-512 Instruction Is Executing
Use Sed with Ignore Case While Adding Text Before Some Pattern
Error: Could Not Locate the Bindings File. Tried: #56
Force a Shell Script to Fflush
Node.Js Child Processes Being Killed When Parent Dies
Nasm - Symbol 'Printf' Causes Overflow in R_X86_64_Pc32 Relocation
Merging Two Files by a Single Column in Unix
How to Set Java Classpath in Linux
Release of Flock in Case of Errors
Difference Between Number in the Same Column Using Awk
How Is Pthread_Join Implemented
How to Use the Linux Flock Command to Prevent Another Root Process from Deleting a File
How to Embed Version Information into Shared Library and Binary