• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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