By BrightP
We have Laravel application running on the app platform with a VueJs front-end that gets it’s data through Axios. Frequently the api calls to the back-end take a very long time or time out.
The server log shows various errors and warnings when it occurs:
WARNING: [pool www] child 293, script '/workspace/public/index.php' (request: "GET /index.php") executing too slow (3.452512 sec), logging
ERROR: failed to open /proc/293/mem: No such file or directory (2)
WARNING: [pool www] child 293, script '/workspace/public/index.php' (request: "GET /index.php") execution timed out (30.478413 sec), terminating
WARNING: [pool www] child 293 exited on signal 15 (SIGTERM) after 532.548333 seconds from start
[proxy_fcgi:error] [pid 174:tid 139809301464832] [client 10.244.9.98:47030] AH01067: Failed to read FastCGI header
[proxy_fcgi:error] [pid 174:tid 139809301464832] (104)Connection reset by peer: [client 10.244.9.98:47030] AH01075: Error dispatching request to : ,
We tried to change our database from Postgress to Mysql to see if it changed anything, but that’s was not the case. Before we ran the application at AWS and these problems weren’t there. The Insights do not show any high load on the components.
Would like to know what we can do to find the cause of these problems.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Same Problem Here. We are facing slow requests, some responding in 500ms, 2ms others +30s, we did several tests with NGINX, APACHE, Regionsm CloudFlare ON/OFF and Redis, at all stages the slowness persisted and the problem “[pool www] child xxx exited on signal 15 (SIGTERM)” occurs. We did a test with the Laravel Telescope and it reports as if the application responded in 200ms…
So far we can’t understand the reason for the problem, has anyone managed to find a solution? We are reversing and disabling various parts of the code and yet the problem remains.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.