Our Apache server crashes whenever we have short bursts of traffic (200+ users at a given time). We have to manually restart it to get it back online.
I'm hoping to find out some common issues that we could look into to resolve this issue. Please let me know any details that could help troubleshoot this further.
Error Log
[mpm_prefork:error] [pid 13775] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
prefork settings
<IfModule mpm_prefork_module>
StartServers 16
MinSpareServers 24
MaxSpareServers 50
MaxRequestWorkers 100
MaxConnectionsPerChild 0
</IfModule>
DigitalOcean Droplets
Web Server
- Ubuntu 14.04 x64
- 1GB Ram / 1 Core / 30GB SSD / 2TB Transfer
- Laravel 5.0
MySQL Database Server
- Ubuntu 14.04 x64
- 1GB Ram / 1 Core / 30GB SSD / 2TB Transfer
- max_connections: unlimited
We experience a crash whenever we get a spike in traffic: