Questions tagged [spawn-fcgi]
24 questions
5
votes
1 answer
Nginx & fcgiwrap, logging perl errors to error log
This is similar to this question, which got no responses:
How to debug CGI over fcgiwrap/nginx
How do I get perl errors to be automatically placed in the nginx error log? Right now, when there is any perl error, the following message goes in the…
Bintz
- 365
- 1
- 2
- 10
5
votes
1 answer
Unable to set php_value in .htaccess file
I am trying to set up NewRelic on my Apache2/PHP server, and have it report different applications per vhost. To do this, the php value newrelic.appname must be changed. It is defined by default in /etc/php.d/newrelic.ini however to do per vhost…
doublesharp
- 207
- 1
- 3
- 12
4
votes
4 answers
FastCGI launcher
I need to serve some FCGI scripts (via WSAPI, but that is irrelevant) from nginx.
Currently I'm using spawn_fcgi to do this. This is the only solution I've found.
I need to know my other options. Are there any other ways to run FastCGI under nginx?
Alexander Gladysh
- 2,343
- 7
- 30
- 47
3
votes
5 answers
3
votes
3 answers
spawn-fcgi/ fast CGi php crashes without traces in logs, on Gentoo
I recently moved from apache to a Nginx/fastcgi solution, I had it running on a Fedora system and had no problems, but, since i moved all to Gentoo , the Spawn-fCGI / fastcgi php daemon dies, and i can't find out any errors reports on…
PartySoft
- 217
- 1
- 7
- 11
2
votes
1 answer
Is there a way to enable a log file to spawn-fcgi and fcgiwrap?
I'm trying to setup Bugzilla. I'm getting a 403 error. There are no error messages in the nginx error log file. I'm pretty sure that the 403 message is being sent from upstream. I say that because I can create a 403 error in the nginx error log…
101010
- 355
- 7
- 19
2
votes
1 answer
Configuration of git-http-backend with Nginx (returning PROPFIND 405)
I'm trying to configure git-http-backend over nginx and having some troubles.
The actual result is that I'm getting a 405 error for the PROPFIND request:
192.168.1.45 - - [22/Feb/2015:16:50:46 +0100] "GET…
snafu
- 41
- 1
- 5
2
votes
1 answer
How can I debug spawn-fcgi?
I'm trying to set up Munin 2.0.9 on Ubuntu with Nginx, so I'm launching munin-cgi-graph with the following command:
spawn-fcgi -s /var/run/munin/fastcgi-graph.sock -U www-data -u www-data -g www-data /usr/lib/cgi-bin/munin-cgi-graph
I get…
Chris B.
- 337
- 1
- 8
- 17
2
votes
2 answers
PHP hits 100% CPU and eats RAM at the same time Monday to Friday
We run a learning platform for primary schools here in the UK and it's all been running extremely well. However at around 4PM Monday to Friday we see the same issue arise -- 1-2 PHP threads will spike to 100% CPU and gradually start eating up RAM…
Daniel Samuels
- 131
- 5
2
votes
1 answer
Can't bind spawn-fcgi to address
Following some nice instructions I am almost through setting up PHP to run on nginx. However, every time I try to start spawn-fcgi I get an error message
demo@desktop:/usr/bin$ sudo /etc/init.d/php-fastcgi start
spawn-fcgi: bind failed: Cannot…
Xeoncross
- 4,269
- 12
- 42
- 55
1
vote
3 answers
PHP FastCGI SAPI: Reloading PHP Configuration
I am using PHP FastCGI SAPI on my web hosting environment to run PHP applications. To spawn FCGI processes I use spawn-fcgi helper program. My problem is whenever I make a change to php.ini file, I have to kill and respawn each FastCGI server for…
Emre Yazici
- 567
- 6
- 12
1
vote
3 answers
PHP fast cgi (used in conjunction with NGINX) freeze on suspend
I set up a very small local network for web development. The webserver is a stack of
MySql 5.1.37
NGINX 0.8.19
PHP 5.2.10 with w/ Suhosin-Patch 0.9.7 and Xdebug v2.0.4
The server itself runs ubuntu karmic 9.10.
In order to provide PHP to NGINX I…
mac
- 500
- 1
- 5
- 15
1
vote
1 answer
502 Bad Gateway - Nginx, spawn-fcgi, WordPress
I host several sites on a CentOS VPS, and all was working fine until one of the WordPress sites on the server started returning a 502 Bad Gateway error. Other sites work fine. The WordPress site will load if I rename the BuddyPress plugin directory,…
doublesharp
- 207
- 1
- 3
- 12
1
vote
1 answer
spawn-fcgi + multiwatch + nginx + ruby: workers don't respond
I've made a website with Ruby and FastCGI, and it works great under Apache.
I'd like to switch to nginx, but I can't get it working.
The website is made of two processes: one takes care of AJAX calls, the other takes care of the rest.
So far I…
Pikrass
- 111
- 4
1
vote
1 answer
upstream prematurely closed connection while reading response header from upstream, client
I'm using nginx and spawnf-cgi with apc and memcache enabled.I'm getting 502 bad gate way on browser and this error on error log.
2013/01/07 06:55:46 [error] 90799#0: *53 upstream prematurely closed connection while reading response header from…
Harikrishnan
- 1,057
- 2
- 14
- 31