Occasional 500 error reading data from FastCGI Server in v2

Hello! My client's website has a page with news entries. Sometimes, this subpage responds with a 500 Internal server error. The php error log has the following entry for the corresponding time:

[Fri Nov 27 18:58:54 2020] [warn] (104)Connection reset by peer: [client *******] mod_fcgid: error reading data from FastCGI server
[Fri Nov 27 18:58:54 2020] [error] [client *******] End of script output before headers: index.php

By the way, I tried to find further information in the storage/logs statamic log, but there are no files. I don't know why, but it seems like they are not getting created.

I think, a bad workaround could be to increase the php timeout, but it seems like the website is taking too long to respond, and I'd like to fix the root of the problem instead of "hiding" it by increasing response timeout.

Greetings, Jonas

>>>>>>> Unanswered <<<<<<<
8 Replies
2 Followers