The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
14 views

Apache-2.4.18 doing graceful restarts at random

First: This is not my server, I am very new to this stuff and I did not set it up. The server is running whm and cpanel. There are about 9 websites hosted on this server. Some of it is magento. It is ...
7
votes
1answer
1k 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
1k 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
1k 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?
0
votes
1answer
48 views

Fix PHP error Invalid argument supplied for foreach() after update PHP & Mysql

I have updated PHP from 5.3 version to PHP 5.6.21 (mod_fcgid) on my CentOs 6.5 vps. The vps holds 4 Prestashop and almost works but cart doesn't work as expected. The php error log contains this ...
0
votes
1answer
24 views

fcgid configuration breaks Apache

I'm trying to include the following block of code on my site in order to run a fast-cgi script: # Create a directory for the iipsrv binary ScriptAlias /fcgi-bin/ "/home/USERNAME/SITENAME/fcgi-bin/" #...
1
vote
0answers
144 views

httpd does not work with mod_fcgid

based on the answer here, centos does not have a mod_fastcgi rpm, but a mod_fcgid could be used for most similar purposes. http://stackoverflow.com/questions/12005137/centos-mod-fastcgi Therefore, I ...
0
votes
0answers
87 views

mod_fcgid: error reading data from FastCGI server

This is my first post here although I often do search and find answers here. This time I've spent a couple of days searching various sites but unfortunately none of the answers in other threads helped ...
2
votes
2answers
486 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
0answers
49 views

FastCGI and tmpfs

I read some articles about using tmpfs for /tmp and PHP sessions directories for better performance, and it sounds interesting. I'm using Centos 6 server with LAMP stack (+FastCGI) and in my fcgid....
1
vote
0answers
34 views

Simultaneously enable gzip and $STR_REPLACE in CGI in apache

I have a code in my CGI script for text replacement (for example replace 'red' with 'blue') $STR_SEARCH='red' $STR_REPLACE='blue' I am using the below code in .htaccess for enable replace function: ...
0
votes
0answers
97 views

Php-Cgi Causing high disk i/o

I have noticed that php-cgi is a top process on my server and its causing very high hard disk utilization, how can i tune php-cgi to utilize less of the hard disk. my server has both apc and ...
0
votes
0answers
177 views

moved to new server - 408 request timeout increase

I just moved a few websites to a new server Apache/2.4.7 - Ubuntu 14.04 SPDY is enabled, I use fcgi_module for PHP as recommended. I don't know if that is relevant, since it is the same configuration ...
2
votes
2answers
3k 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 ...
0
votes
2answers
2k views

Apache mod_fcgid keeps giving error

I have ubuntu server, PHP 5.3.2, Apache/2.2.14. and i have drupal website on this server. whenever i try to upload image using imagemanager drupal module i got the following errors in apache log and ...
-1
votes
2answers
3k views

Increasing FcgidMaxProcesses does not help to solve “mod_fcgid: can't apply process slot” error

I have a dedicated apache server with high resources. RAM - 64GB Cores - 20 with CentOS 6.7 x64 and Image - FCGI statistics with phpinfo I run Magento application with MySQL as database ...
1
vote
0answers
28 views

100% CPU usage with [duplicate]

My server is having a problem with high cpu usage and 503 error occured all the time for a certain domain which is being hosted on my server together with other websites. The other websites on the ...
1
vote
0answers
92 views

apache suexec + php + fcgid does not log errors

Strangely my apache does not log errors anymore ever since I managed to enable fcgid and suexec for php processing. Even simple files with only <? dwakdnawjkdn(); ?> won't create any error, even ...
0
votes
1answer
6k 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 ...
0
votes
1answer
961 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 ...
1
vote
1answer
749 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
3answers
916 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 "mod_fcgid/2.3....
-1
votes
2answers
3k 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
440 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, ...
1
vote
3answers
421 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 running,...
0
votes
1answer
360 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
2k 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
1k 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 ...
4
votes
2answers
1k 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
343 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: http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-...
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
7k 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
5k 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 ...
3
votes
2answers
16k 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
206 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
284 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 ...
1
vote
1answer
1k 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). ...
2
votes
3answers
9k 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
165 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
132 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 ...
5
votes
3answers
10k 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
1k 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
3k 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 ...
4
votes
1answer
716 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
337 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
377 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(): Can'...
2
votes
1answer
12k 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
1k 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 ...