MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: onemanarmy on 2013-03-08, 04:17:40
-
mod_fcgid: can't apply process slot for /home/httpd/domain.com/php5.fcgi
i am using nginxproxy - php53u - fcgid_event.
-
Try:
1. copy '/home/apache/etc/conf.d/fcgid.conf' to '/home/apache/etc/conf.d/custom.fcgid.conf'
2. modified custom file where:
### MR -- read /usr/local/lxlabs/kloxo/file/apache/conf.d/fcgid.conf.original for full description ###
LoadModule fcgid_module modules/mod_fcgid.so
AddHandler fcgid-script fcg fcgi fpl
FcgidIPCDir /var/run/mod_fcgid
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
# MR -- the same as fastcgi also running suphp
#LoadModule suphp_module modules/mod_suphp.so
#suPHP_Engine On
#PHP_Fix_Pathinfo_Enable 1
### MR -- read /usr/local/lxlabs/kloxo/file/apache/conf.d/fcgid.conf.original for full description ###
LoadModule fcgid_module modules/mod_fcgid.so
AddHandler fcgid-script fcg fcgi fpl
FcgidIPCDir /var/run/mod_fcgid
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
MaxRequestsPerProcess 1000
MaxProcessCount 10
IPCCommTimeout 120
IdleTimeout 120
# MR -- the same as fastcgi also running suphp
#LoadModule suphp_module modules/mod_suphp.so
#suPHP_Engine On
#PHP_Fix_Pathinfo_Enable 1
If RAM 1GB set 'MaxProcessCount 10' until 'MaxProcessCount 20' (depend on primary apps). If RAM 8 set 'MaxProcessCount 80' until 'MaxProcessCount 160' (depend on primary apps).
3. copy '/home/apache/etc/conf.d/custom.fcgid.conf' '/etc/httpd/conf.d/fcgid.conf'
4. After that, run 'sh /script/restart-services'.
-
now
mod_fcgid: read data timeout in 120 seconds
mod_fcgid: can't apply process slot for /home/httpd/domain.com/php5.fcgi
-
Try disable timeout with:
#IPCCommTimeout 120
#IdleTimeout 120
-
still mod_fcgid: can't apply process slot for error.
-
Try 'chmod -R 755 /var/log/httpd'
-
1) Connection timed out: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
2) mod_fcgid: read data timeout in 40 seconds