- Server operating system version
- Centos7.9
- Plesk version and microupdate number
- 18.0.52
Hi All,
I need an advise her as one of our customer is frequently getting 500 error , When ever he tried to run a deployment script pushing multiple api calls like every sec 2 calls almost in a min 100 to 120+ calls
Server is running with Cloudlinux 7.9 with Plesk obsidian 18.0.52.
And getting this below errors
[Wed Jan 24 12:13:01.803020 2024] [core:error] [pid 1222456:tid 140597936711424] [client xx.xx.xx.x8:5492] End of script output before headers: index.php
[Wed Jan 24 12:14:01.834975 2024] [fcgid:warn] [pid 1222113:tid 140597708916480] (104)Connection reset by peer: [client xx.xx.xx.x8:496] mod_fcgid: error reading data
from FastCGI server
to avoid this we have added the parameters to our domain of apache settings under plesk
FcgidMaxRequestsPerProcess 500
FcgidBusyTimeout 3600
FcgidMaxRequestLen 1073741824
FcgidProcessLifeTime 7200
And also we have increased the PHP setting for domain. Also we have enough RAM and CPU in the server.
memory_limit from 256M to 1024M
max_execution_time 60 to 600
max_input_time 150 to 220
But still we are getting the 500 error .
I need an advise her as one of our customer is frequently getting 500 error , When ever he tried to run a deployment script pushing multiple api calls like every sec 2 calls almost in a min 100 to 120+ calls
Server is running with Cloudlinux 7.9 with Plesk obsidian 18.0.52.
And getting this below errors
[Wed Jan 24 12:13:01.803020 2024] [core:error] [pid 1222456:tid 140597936711424] [client xx.xx.xx.x8:5492] End of script output before headers: index.php
[Wed Jan 24 12:14:01.834975 2024] [fcgid:warn] [pid 1222113:tid 140597708916480] (104)Connection reset by peer: [client xx.xx.xx.x8:496] mod_fcgid: error reading data
from FastCGI server
to avoid this we have added the parameters to our domain of apache settings under plesk
FcgidMaxRequestsPerProcess 500
FcgidBusyTimeout 3600
FcgidMaxRequestLen 1073741824
FcgidProcessLifeTime 7200
And also we have increased the PHP setting for domain. Also we have enough RAM and CPU in the server.
memory_limit from 256M to 1024M
max_execution_time 60 to 600
max_input_time 150 to 220
But still we are getting the 500 error .