Thanks.But I'm still stuck. I'm still not able to fix this random error. It's not specific to any one of the report, it's very random. if I reload the same report, it can show the result immediately.
[Mon Jan 12 16:18:24 2015] [warn] [client 218.102.4.205] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://dreamware.com.hk/ischool/DBR/index.php?m=4
[Mon Jan 12 16:18:24 2015] [error] [client 218.102.4.205] Premature end of script headers: report.php, referer: http://dreamware.com.hk/ischool/DBR/index.php?m=4
Is there any config on DBR I can try?
Here is the fcgid.conf, I tried to change the number but still can't fix the issue.
Great thanks for any advices, thank you.
Chadwick
pwd
/etc/httpd/conf.d
[root@dreamware.com.hk conf.d]$cat fcgid.conf
# This is the Apache server configuration file for providing FastCGI support
# via mod_fcgid
#
# Documentation is available at http://fastcgi.coremail.cn/doc.htm
LoadModule fcgid_module modules/mod_fcgid.so
<IfModule mod_fcgid.c>
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
</IfModule>
FcgidIPCDir /var/run/mod_fcgid/sock
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
FcgidIdleTimeout 100
FcgidProcessLifeTime 100
FcgidMaxProcesses 200
FcgidMaxProcessesPerClass 80
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 30
# FcgidIOTimeout 45
FcgidIOTimeout 360
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 50
#
FcgidBusyTimeout 3600
FcgidMaxRequestsPerProcess 10000
</IfModule>