Questions tagged [mod-fcgid]

124 questions
9
votes
2 answers

1GB VPS - Apache Worker MPM - FCGID - Max concurrent connections - RAM CAP

I have spent a week or two researching and setting up my server to run Apache with the Worker MPM and FCID. I am trying to optimize it to allow for the most concurrent connections possible. It has been a nightmare to find good info on the Worker…
7
votes
4 answers

mod_fcgi in virtualmin: graceful kill fail, sending SIGKILL?

Yesterday around 1am, our server ground to a crawl. This doesn't happen often, but I'm trying to get to the bottom of it. There is no unusual traffic volume, no unusual processes running, just all of the sudden the server started killing fcgid…
mgjk
  • 854
  • 3
  • 9
  • 19
6
votes
4 answers

How to change suexec root directory from "/var/www" to "/home"?

Hi I've installed suexec using on ubuntu 12.04: apt-get install apache2 apache2-suexec libapache2-mod-fcgid php5-cgi However when I run the following command: sudo /usr/lib/apache2/suexec -V I get the following info: -D AP_DOC_ROOT="/var/www" -D…
Oudin
  • 331
  • 2
  • 5
  • 10
6
votes
2 answers

A single php-fastcgi process blocks all other PHP requests

I've recently switched to a FastCGI setup for PHP (Apache2-worker and mod_fcgid). However, when a single PHP script is very busy, it seems to block all other PHP requests. What would be wrong with my configuration? My main reason for using mod_fcgid…
vdboor
  • 3,630
  • 3
  • 30
  • 32
5
votes
2 answers

mod_fcgid: read data timeout errors

I moved to an unmanaged server that uses fcgid (before I was using mod_php), and in the error logs I see tons of such errors: [Mon Apr 23 21:17:12 2012] [warn] [client 66.249.68.233] mod_fcgid: read data timeout in 31 seconds [Mon Apr 23 21:17:12…
giorgio79
  • 1,747
  • 9
  • 25
  • 36
4
votes
2 answers

mod_fcgid: can't apply process slot after software upgrade

I'm on a shared hosting plan with a Wiki and a Bulletin Board installation. After upgrading the Wiki to the latest release my users are not able to upload files with the integrated "media manager" anymore. Server logs show: mod_fcgid: can't apply…
duenni
  • 2,939
  • 1
  • 22
  • 38
4
votes
1 answer

How to find out the current setting for FcgidMaxProcesses on Apache?

While asking this question, I feel that it may be dumb - but I have no idea at the moment... How to find out the current setting for FcgidMaxProcesses on Apache? Background I experienced the following error: mod_fcgid: can't apply process slot for…
BurninLeo
  • 860
  • 2
  • 11
  • 28
4
votes
1 answer

Apache mass virtual hosting & suexec & fcgid

I followed Falco's tutorial and everything now works as expected for 2 users (e.g. john and alice) with their relevant directories (/var/www/john and /var/ww/alice). Now, I want to go to the next level: instead of defining different vhosts at…
centurian
  • 401
  • 3
  • 7
4
votes
2 answers

How to stop a random ramp in FCGI Processes Killing the server

So got the below earlier to day... Around that time the logs show a ramp in processes(600) and associated memory (1.2g), cpu usage load average (80) untill the server gave out. Server had to be hard reset by host as there was no ssh or plesk panel…
Andy Main
  • 41
  • 1
  • 3
4
votes
1 answer

How do I run a PHP web application as a particular user and group on CentOS 5 with Apache?

I'm aware there are various different ways to do this but I'm not sure that the "best" way would be for my particular situation: Each site should have its own user account (site user) Virtual Hosts point to a directory within the site user's home…
prodigitalson
  • 213
  • 3
  • 9
4
votes
1 answer

Premature end of script headers, mod_fcgi

I have PHP website running under mod_fcgi in apache2. Problem is that in some cases i get (probability is something like 1/400): Premature end of script headers: controller.php and Internal Server Error It seems like it's not problem of code that's…
martu
  • 41
  • 3
3
votes
0 answers

fcgid automatic reload script

I'm a Debian's user and I'm learning mod_fcgid for apache2.4. I want to use it for coding a python script. When I change my script, I have to reload Apache. I have seen that mod_fastcgi has an option +autoUpdate but not in mod_fcgid. How can I do…
romain
  • 31
  • 2
3
votes
1 answer

Configuration trouble: PHP through mod_fcgid on CentOS 5.3

I've been Googling and researching the topic for quite a while but found only one thorough guide... That don't work. I want to run PHP through mod_fcgid on Apache2 - CentOS 5.3. With my current configuration I get 500 Internal Server Error on…
Christoffer
  • 257
  • 4
  • 11
3
votes
1 answer

mod_fcgid process doesn't respawn

I have a Python script running on my server as a FastCGI using Apache2 and mod_fcgid. I let it spawn up to five processes. But I soon get messages like these in the Apache logs: [Wed Sep 02 23:16:34 2009] [warn] (103)Software caused connection…
aaronsw
  • 211
  • 1
  • 3
  • 4
3
votes
1 answer

Getting PHP to work with SPDY?

I recently switched my site over to using HTTPS in all the URL's. (My post here) I am running Apache with PHP on Ubuntu 12.0.4 I was told that I should install the Apache module for SPDY since I am using SSL / HTTPS so I followed the directions on…
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
1
2 3
8 9