Questions tagged [fastcgi]

FastCGI is an open interface web servers can use to execute applications in a secure and isolated manner.

FastCGI is an open interface web servers can use to run applications as separate isolated processes. It is an enhancement of the original NCSA CGI interface specification, with a range of improvements. The primary improvement over the standard CGI approach offered by FastCGI is performance, hence the name.

FastCGI is supported by a broad range of Web Servers (such as Apache, nginx, lighttpd).

730 questions
2
votes
3 answers

Unknown Apache2 + PHP5 FastCGI 500 error .. caused by search engine bots?

My Ubuntu server is configured with Apache 2.2.8 and PHP 5.2.4-2ubuntu5.18 in FastCGI mode. Everything works well, except I am seeing 500 errors that only seem to come from bots accessing the server.. for example (access.log): x.125.71.104 - -…
Ryan D
  • 21
  • 2
2
votes
1 answer

What does a jagged committed memory graph mean?

We've been attempting to debug load programs on our servers, and along the way we've been looking at some graphs, like this one: (The white spaces are when the server got so hosed we couldn't collect Munin stats.) I was curious to know why…
Edward Z. Yang
  • 406
  • 3
  • 8
2
votes
2 answers

one php5-cgi process uses 100% cpu

I have a dedicated server runs debian 6, nginx 1.07, php 5.3 with php-fpm and percona mysql 5.1. I just set up the server recently and only 1 site runs on it. The problem I encounter is that even I have 10 php fastcgi processes set but 1 php5-cgi…
Alex Chen
  • 283
  • 2
  • 3
  • 10
2
votes
2 answers

How to create a very simple external FastCGI configuration in apache?

I have an externally started FastCGI application that listens on socket '/tmp/foo.sock' and a directory of static files in '/srv/static'. Apache has all needed permissions on the socket and the directories. What I need : All requests starting with…
Thiago Padilha
  • 299
  • 1
  • 5
  • 10
2
votes
3 answers

Munin graphing by CGI

I have Munin working just fine, but any time I try to do cgi graphing - it just stops graphing... no errors in the log, nothing. I've followed the instructions here: http://munin-monitoring.org/wiki/CgiHowto - and it should be working - here's my…
Vaughn Hawk
  • 21
  • 1
  • 2
2
votes
1 answer

lighttpd and mod_proxy with PHP

I am trying to create a rather complex setup using a combination of lighttpd, some custom Ruby proxies, rails/ramaze (running on Thin), and PHP. Currently it is setup like this: A browser issues the request which hits the lighttpd frontend.…
Gary13579
2
votes
0 answers

FastCGI connection refused on port 9000

I have a site running PHP 5.3.2 + PHP-FPM and Nginx 0.7.65 and rebooted the server after changing the root password. The web server starts up fine, but the site doesn't come up and the only clue I have is in the web application's log (from Predis,…
Devin
  • 903
  • 1
  • 8
  • 8
2
votes
1 answer

nginx PHP files 404

I am getting 404 not found on php files with my nginx/php-fastcgi install. I have tried several variations of declaring root in different places but cant find one that works, and I suspect this is something to do with it. Here are my config files,…
2
votes
1 answer

nginx + fastcgi

How to make nginx proxy php to fastcgi evenly on all cores. Top shows usage of only 2 cores when I try to stress test configuration. Cpu0 : 62.6%us, 14.9%sy, 0.0%ni, 18.5%id, 0.3%wa, 0.0%hi, 3.6%si, 0.0%st Cpu1 : 57.1%us, 11.0%sy, 0.0%ni,…
Hrvoje Špoljar
  • 5,245
  • 26
  • 42
2
votes
1 answer

How to combine url rewriting and fastcgi in nginx?

I have trouble to set up a combination of url rewriting and fastcgi for nginx. The application server behind the fastcgi interface expects /myapp/ as base path. And I want to make this accessible under my http://myserver.com/ upstream appfcgi { …
Norbert Hartl
  • 143
  • 1
  • 1
  • 6
2
votes
2 answers

Lighttpd with FastCGI won't create /tmp/fcgi.sock on startup?

I'm running lighttpd-1.4.19 on a debian 5 box and try to run web2py with fastcgi. The problem with that is, that lighttpd does not create the socket file /tmp/fcgi.sock. If I'm creating the file by myself touch /tmp/fcgi.sock lighttpd will start…
Marlon
  • 21
  • 3
2
votes
1 answer

start fastcgi error in nginx

I am getting this error: Starting service:spawn-fcgi: bind failed: Address already in use When running this command: /etc/init.d/phpfcgi start Can someone give me any idea on how to fix it? Here's my cgi script: #!/bin/bash # # Startup script for…
EquinoX
  • 367
  • 3
  • 11
  • 27
2
votes
1 answer

How to properly loadbalance separate fastcgi servers

We are running bigger deployment with multiple servers running Django applications under apache2 and mod_wsgi. We are considering switch to apache2 + fastcgi and moving fcgi processes to separate application server "layer". My question is: how to do…
Almad
  • 151
  • 7
2
votes
0 answers

lighttpd + FastCGI + Mono not working with evhost enabled

I've started the migration of a Windows VPS to linode.com, choosing lighttpd over nginx and apache to host some sites built on asp.net mvc, and I'm stuck with what I think is a "document-root" conflict. I'm running lighttpd 1.4.6, Mono 2.8.2 on…
rodrigoi
  • 21
  • 1
2
votes
3 answers

Problem running PHP on IIS6

I have used the Web Platform Installer 2.0 beta to install php on IIS6. I tried this first on a test server with success. When I did this on the production server and browse to a test php file, I see: The page cannot be found Is there anything I…
Ronnie Overby
  • 681
  • 2
  • 12
  • 24