• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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