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
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