• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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