The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
860 views

Apache 2.2, worker mpm, mod_fcgid and PHP: Can't apply process slot

We're having an issue on an apache server where every 15 to 20 minutes it stops serving PHP requests entirely. On occasions it will return a 503 error, other times it will recover enough to serve the ...
0
votes
2answers
887 views

PHP with suexec/fcgid

httpd.conf file: LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script .php FCGIWrapper /usr/local/php5 .php # manual MaxRequestsPerProcess 1000 FcgidMaxProcesses 200 ...
-2
votes
0answers
32 views

Apache 2.4 with mod_fcgid, getenv() not working in PHP

I recently installed mod_fcgid version 2.3.9 module to work with my Apache24 installation. Rightaway, I observed that my PHP code that depended on getenv() broke, because it was returning NULL for ...
0
votes
1answer
4k views

Connection reset by peer: mod_fcgid: error reading data from FastCGI server Issues

Help is greatly needed for our server. We are experiencing random "Connection reset by peer: mod_fcgid: error reading data from FastCGI server" errors which cause a 500 internal server error. If the ...
1
vote
1answer
374 views

trac: “Internal server error (500)” with mod_fcgid and mod_suexec

I try to setup Trac on a shared server with shell access, SW is Trac 1.0.1, Python 2.6.6, Apache 2.2.15 with mod_fcgid and mod_suexec. I've set it up following the instructions from the wiki of my ...
1
vote
0answers
81 views

End of script output before headers: php5

I've inherited the sysadmin role on a server that's running a wordpress website on top of Apache 2.4/Debian. It almost works, but it is issuing "500 internal server error" from time to time. In my ...
0
votes
1answer
10 views

Can't enable fcgi on apache virtualhost

I have configured apache with fcgi module, but it doesn't work as phpinfo displays Server API as Apache 2.0 Handler <VirtualHost *:81> ServerName site3.ru ServerAlias www.site3.ru ...
1
vote
3answers
827 views

How do I remove the ServerSignature added by mod_fcgid?

I'm running Mod_Security and I'm using the SecServerSignature to customize the Server header that Apache returns. This part works fine, however I'm also running mod_fcgid which appends ...
1
vote
1answer
932 views

php set_time_limit not working with mod_fcgid?

It seems set_time_limit function call has no effect when php is running with mod_fcgid (the default in webmin). Can someone tell me how to make it work?
-1
votes
2answers
2k views

500 errors when switching to fcgi in cPanel WHM [closed]

I am trying to switch to fcgi from DSO on a CentOS 5.7 x64 server. I did this within cPanel as suggested by the cPanel documentation. Immediately, I start to get 500 internal server errors when ...
1
vote
0answers
195 views

File permission problems with Apache, FastCGI, and Prestashop

I am running a Prestashop installation on CentOS 6.5 and Apache 2.2.15. A while back I updated Apache and lost the ability to upload product images via Prestashop backoffice along with other problems, ...
2
votes
2answers
1k views

500 error after mod_fcgid error

I have this error on my sever: [Mon Feb 27 09:56:03 2012] [error] mod_fcgid: process /var/www/php-fcgi-scripts/web111/.php-fcgi-starter(7847) exit(communication error), get unexpected ...
1
vote
3answers
396 views

Wordpress (nginx cache + Apache + fcgid) pegging all 8 CPUs

I have a WordPress multi-user site that pegs all of my CPUs at more than 90% usage: top - 12:02:58 up 55 days, 5:25, 10 users, load average: 20.51, 15.66, 14.90 Tasks: 294 total, 24 ...
0
votes
1answer
158 views

php with fcgid not working anymore after upgrade to wheezy

I have some issues with a server that I have recently upgraded from Debian Squeeze to Debian Wheezy. When I call a php-page only the php-source-code of the page is beeing show but not interpretated ...
0
votes
1answer
1k views

How can I use SetEnv with mod_fcgid to pass virtualhost specific options to my PHP application? (apache2)

I'm running into some trouble figuring out how I should handle something under FastCGI that worked pretty easily under mod_php. Before I was using SetEnv to pass options from my VirtualHost directive ...
3
votes
1answer
646 views

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 ...
3
votes
2answers
299 views

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" ...
0
votes
0answers
242 views

Debian's apache configuration. fcgid or proxy fastcgi + php fpm

I'm trying to figure out, what would be better solution. I have a server with arout 10 vhosts. Now, its configured like in this tutorial: ...
0
votes
0answers
142 views

Finding if the current open processes reaches FcgidMaxProcesses ? (bottleneck)

To make it short : I fail to find if I'm not hitting the FcgidMaxProcesses limit as a bottleneck. Longer version following I have a server Debian Wheezy, two Raid-1 SSDs for system and two ...
4
votes
2answers
3k views

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 ...
0
votes
2answers
5k views

Apache: graceful kill fail, sending SIGKILL. How much is too much?

On Apache/2.2.15, is it normal to have one or two "[warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL" per day? After all it's a warning, not an error. Thanks
0
votes
2answers
1k views

Internal Server Error and process graceful kill fail

Internal Server Error is registered in browser, in apache error log file I can only see the following warn thrown in same time: [warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL ...
1
vote
2answers
10k views

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: ...
0
votes
0answers
123 views

Interpreting mod_fcgid in log file

I am getting a 500 error occasionally, and it is becoming more frequent. Looking in the apache error log, I find the following. Can someone point me in the right direction as to discovering the cause ...
0
votes
2answers
162 views

“Server too busy” after moving to fcgid

I was previously using mod_fastcgi and had issues as described here with configurations getting ignored. After moving to mod_fcgid, I've seen a whole new issue which is causing issues for all sites ...
2
votes
1answer
220 views

Apache: orphaned fcgi php processes

We have a webserver with apache 2.2.14, PHP 5.3.2. PHP is executed using mod_fcgid (see bottom). Everything works fine but sometimes, and we still have to figure out what triggers this, when php ...
1
vote
1answer
735 views

Apache2 + mod_fcgid + php stopped working after upgrade from Debian squeeze to wheezy

I've updated my server from Debian squeeze to Debian wheezy. On this server are several apache2 vhost which running php via mod_fcgid (I'm also using mod_suexec but this shouldn't be the problem). ...
1
vote
3answers
4k views

libapache2-mod-php5 uninstalled after update impossible to put back

I use Webmin to administrate my Ubuntu 12.04 x86_64 machine. Yesterday, as often, I got notified of updates and installed them. During the installation process, libapache2-mod-php5 has been ...
0
votes
0answers
100 views

Apache, FCGI, and Java setup

I have a Java program that I'm trying to access through my Apache 2.4.7 webserver locally. At first I had it set up as a reverse proxy using mod_proxy_fcgi whereby I would have to start the webserver ...
1
vote
1answer
83 views

apache2 with mod_fcgid randomly hangs

I have had this config running on ubuntu 11.10 for more than one year. I had to move the service to a larger server, so I made a complete copy of the os disk with clonezilla and restored it to the new ...
3
votes
3answers
5k views

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 ...
0
votes
1answer
706 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 Here's how I found out what was going on: $ sudo service ...
1
vote
4answers
2k views

PHP crashing (seg-fault) under mod_fcgi, apache

I've been programming a site using: Zend Framework 1.11.5 (complete MVC) PHP 5.3.6 Apache 2.2.19 CentOS 5.6 i686 virtuozzo on vps cPanel WHM 11.30.1 (build 4) Mysql 5.1.56-log Mysqli API 5.1.56 ...
3
votes
1answer
543 views

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 ...
0
votes
1answer
189 views

Apache FastCGI for PHP—increase resources

I would like to install a php based webapp on my server but during the install I get a »500 Internal Error«. On my search through the web I could figure out that this happens because the setup of my ...
0
votes
1answer
194 views

Several Server Errors (No database connect, can't create TCP/IP socket etc

My server stops taking requests on my website today. It works for some time, but then the server just stops working and throws several errors: 500 Internal Server Error Warning: mysql_connect(): ...
1
vote
1answer
6k views

Setting up Apache 2.2 + FastCGI + SuExec + PHP-FPM on Centos 6

I'm trying to follow this very detailed instruction here, I simply changed from www-data user to apache user, and is using /var/www/hosts/sitename/public_html instead of /home/user/public_html ...
1
vote
1answer
1k views

How to setup Apache 2.2 (prefork) with mod_fcgid to test a C++ application?

I have written my first fastcgi application (C/C++), and I need to test it to ensure that it is behaving the way I expect it to. I have searched for examples on setting up Apache 2.2. with mod_fcgid, ...
0
votes
2answers
591 views

FCGI and upload_tmp_dir PHP directive are not working correctly

I run PHP as FCGI! I'm setting upload_tmp_dir option as value /home/domain.com/tmp. When executed phpinfo() for double-check it's confirmed that the settings above are correct. Nevertheless, when ...
0
votes
2answers
263 views

PHP extension is not loading when running fcgid

I need to use the libpuzzle extension for PHP, and so far I failed to make it run with fcgid. I have installed it (manually, unfortunately, because of the dependency issues) and added the ...
0
votes
1answer
167 views

mod_fcgid error - unable to connect to server

Sometimes when there's higher traffic on my website, the server randomly stops doing anything and sends 500/503 errors for a few seconds or even minutes. The Error log shows the following message ...
0
votes
1answer
37 views

PHP and FCGID goes away for alsmot 1 minute every hour

I'm running an apache2 server on Debian 7 Php files are handled by fcgi. After a migration of server all is working fine. But alsmost every hour the serveur doesnt answer to http requests (http ...
0
votes
2answers
968 views

mod_fcgid: No space left on device

I'm having a problem where apache2 won't start at all on my VPS, and it outputs this error: [Mon May 09 07:00:38 2011] [emerg] (28)No space left on device: mod_fcgid: Can't create shared memory for ...
2
votes
1answer
1k views

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 ...
3
votes
1answer
4k views

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 ...
0
votes
1answer
311 views

Setting an Fcgid Directive produces an Invalid Command error

I'm trying to set the MaxRequestInMem, MaxRequestsPerProcess and MaxRequestLen but it keeps on saying that it's an Invalid command 'MaxRequestInMem', perhaps misspelled or defined by a module not ...
4
votes
1answer
801 views

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 ...
1
vote
1answer
706 views

mod_fcgid error after upgrading from PHP5.3 to 5.4

I just made an upgrade from PHP 5.3 to 5.4 via dotdeb.org sources. After that, I get errors on vhosts with active FastCGI-Application. [Mon May 20 21:05:15 2013] [warn] [client xxx.xxx.xxx.xxx] ...
1
vote
3answers
484 views

Large File Uploads Consume Disproportionate Amount of Memory

Thinking about this more, the question really is: why is Apache putting an in-progress upload in memory instead of on disk? I should be able to upload a file that's larger than the total memory ...
1
vote
1answer
146 views

When getting “Premature end of script headers” in Apache error log, is it possible to also log the GET arguments sent to the script?

I have a single PHP script on a fairly high traffic server that is throwing off a lot of errors of this sort: (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server ...