Questions tagged [spawn-fcgi]
The spawn-fcgi tag has no usage guidance.
24
questions
0
votes
1
answer
12
views
How to restart spawn-fcgi which is returning Socket is already in use?
I have done ps -aux | grep spawn-fcgi found the pid and killed it by kill -9 pid but still when i rerun spawn-fcgi,it still returns Socket is already in use.
I am using spawn-fcgi for a qgis server ...
0
votes
1
answer
1k
views
FastCGI NGINX permission denied error
Having trouble understanding how to correctly use FastCGI processes with NGINX. Unlike Apache, NGINX does not automatically spawn FCGI processes. So I first apt-get fcgiwrap spawn-fcgi.
I spawned a ...
2
votes
1
answer
4k
views
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 ...
-2
votes
1
answer
1k
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; ## ...
2
votes
1
answer
3k
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 +...
1
vote
1
answer
5k
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
1
answer
88
views
What tools available for Ubuntu are best suited for starting a FastCGI application, monitoring, and restarting if it stops? [closed]
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 (http://manpages.ubuntu.com/manpages/precise/...
5
votes
1
answer
2k
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
1
answer
779
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 calls,...
5
votes
1
answer
11k
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
1
answer
4k
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
1
answer
3k
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
2
answers
1k
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
2
answers
2k
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
1
answer
893
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 -- /usr/...
1
vote
2
answers
3k
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
5
answers
7k
views
restart spawn-fcgi
how can i restart spawn-fcgi on nginx server?
0
votes
1
answer
2k
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
3
answers
2k
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
1
answer
4k
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 /etc/init.d/php-...
3
votes
3
answers
6k
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
3
answers
5k
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
3
answers
1k
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 ubuntu ...
4
votes
4
answers
656
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. ...