Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 16:33:42

Author Topic: http error (fcgid problem)  (Read 3823 times)

0 Members and 1 Guest are viewing this topic.

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
http error (fcgid problem)
« 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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: http error
« Reply #1 on: 2013-03-08, 10:09:29 »
Try:

1. copy '/home/apache/etc/conf.d/fcgid.conf' to '/home/apache/etc/conf.d/custom.fcgid.conf'

2. modified custom file where:
Code: [Select]
### 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

Code: [Select]
### 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'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: http error (fcgid problem)
« Reply #2 on: 2013-03-08, 13:29:20 »
now

mod_fcgid: read data timeout in 120 seconds

mod_fcgid: can't apply process slot for /home/httpd/domain.com/php5.fcgi
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: http error (fcgid problem)
« Reply #3 on: 2013-03-08, 14:09:28 »
Try disable timeout with:
Code: [Select]
#IPCCommTimeout 120
#IdleTimeout 120
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: http error (fcgid problem)
« Reply #4 on: 2013-03-08, 14:38:43 »
still mod_fcgid: can't apply process slot for error.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: http error (fcgid problem)
« Reply #5 on: 2013-03-08, 15:47:10 »
Try 'chmod -R 755 /var/log/httpd'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: http error (fcgid problem)
« Reply #6 on: 2013-03-08, 17:42:12 »
1) Connection timed out: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

2) mod_fcgid: read data timeout in 40 seconds
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.048 seconds with 19 queries.

web stats analysis