• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

FastCGI Timeout Issues - PLESK 10.4.4

magic_77

Basic Pleskian
Hi,
i´m running in a problem when using FastCGI and PHP Application.
the application sends out 50.000 and more emails. while the mailer script is running i get an
timeout:
"...mod_fcgid: read data timeout in 120 seconds, referer: http: xxxx"
"(110)Connection timed out: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function"

reading through some docs gave me some hints where the problem could be. so i modified
"/etc/httpd/conf.d/fcgid.conf" with these values.

ProcessLifeTime 7200
IdleTimeout 3600
BusyTimeout 600
IPCCommTimeout 7200
IPCConnectTimeout 600

FcgidIPCDir /var/run/mod_fcgid/sock
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

FcgidMaxRequestLen 15728640
FcgidIdleTimeout 300
FcgidProcessLifeTime 30
FcgidMaxProcesses 40
FcgidMaxProcessesPerClass 8
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 30
FcgidIOTimeout 120
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 10

but the problem still exists.
is there something i forgot or do i have to increase "FcgidIOTimeout" to a very high value?
didn´t tried that, because i don´t know what other problems will come on

maybe someone has an hint for me
greets
marek
 
Hi,

Its better to use apache handler for your application. I think its some kind issue in fastcgi, by increasing the timeout value will not work properly.

Thank you.
 
hi minosj,
yes you´re right with your conclusion. i tried a timeout "FcgidIOTimeout 7200" but it doesn´t worked for me.
after rewritting some code and switching back to apache module the application now runs.

thanks for your reply

greets
marek
 
Back
Top