The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
1answer
55 views

nginx (latest) is not working together with spawn-fcgi

My OS: Debian 7 (latest) x64 My Domain: www.DeadalusHD.com My nginx-vhost: server { listen 80; ## listen for ipv4; this line is default and implied listen [::]:80 default_server ipv6only=on; ## ...
1
vote
1answer
394 views

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

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

What tools available for Ubuntu are best suited for starting a FastCGI application, monitoring, and restarting if it stops?

Note: This is not in regards to PHP; Language is C++ I will be using spawn-fcgi to launch the FastCGI application. I've already found the supervise tool ...
2
votes
0answers
291 views

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

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

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

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

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

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 ...
1
vote
2answers
911 views

Is there any equivalent to php5-cgi for python?

nginx doesn't allow to directly execute external programs, so to run CGIs you need to run an standalone fcgi backend and connect to it with the fastcgi_pass directive. For php it's easy, e.g. using ...
1
vote
1answer
499 views

Multiple spawn-fcgi instances in rc.conf

I need to run two instances of spawn-fcgi on my FreeBSD 8.2 box - one for PHP and one for Python scripts. I can run them manually like this: /usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -- ...
1
vote
2answers
2k views

How to restart php-cgi automatically with spawn-fcgi

I'm running nginx with php as fcgi. It's working just fine, however, php-cgi keeps on exit()ing after serving 500 requests. I tried increasing that value (PHP_FCGI_MAX_REQUESTS), and that worked, but ...
3
votes
5answers
2k views

restart spawn-fcgi

how can i restart spawn-fcgi on nginx server?
0
votes
1answer
728 views

How to spawn-fcgi multiple fcgi processes?

We have nginx installed and would like to spawn-fcgi multiple ".fcgi" files. The programs were written in C. How do we spawn all the files at one go ? Edit This is the scenario : I have 3 ...
0
votes
3answers
791 views

Run a shellscript if nginx encounter an error?

can I config my nginx to run some shell command/script if encounter 5xx error? My spawn-fcgi crashes often, I have a cronjob restart it periodically, but I think the best solution would be if nginx ...
2
votes
1answer
3k views

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

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 ...
1
vote
3answers
2k views

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 ...
1
vote
3answers
887 views

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 ...
4
votes
4answers
533 views

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. ...