Questions relating to nginx, an open source Web server and reverse proxy server

learn more… | top users | synonyms

0
votes
1answer
1k views

nginx testing with ab not working with high number of concurrent connections

I have installed nginx and php-fpm on a 64-bit Ubuntu Server 11.10. The server works fine but I am trying to test the server (using ab) with 10,000 concurrent connections. When I try it I get socket: ...
2
votes
2answers
3k views

PHP-FPM Constantly Restarting Pools - Zombie's Everywhere!

Ok so after a recent incident in which I ran "chown -R root:root" on my entire /var directory on accident (XO.. I know...) I've been dealing with php-fpm issues. I've tried fixing permissions in a ...
2
votes
1answer
699 views

what is the best lightweight monitoring system run under nginx?

I want to monitor my small vps node; presently serving by nginx. I do not want to use apache2; presently considering monitorix, suggest me the best lightweight monitoring system run under nginx ?
0
votes
1answer
7k views

How to install asterisk 1.8 + freepbx 2.9 + nginx + php-fpm?

How I can install freepbx 2.9 with asterisk 1.8 on ubuntu 11.10? The matter is that most tutorials and guidelines on internet are not well written and I get error messages when I do amportal start. ...
4
votes
2answers
2k views

Passenger (mod-rails) can't find libopenssl-ruby

Trying to build an nginx server with Phusion Passenger on Ubuntu 11.10 (hurray for the new version!). Running "passenger-install-nginx-module" outputs the following error: * OpenSSL support for ...
5
votes
1answer
1k views

Crashed my server, how do I find out what happened?

From a remote machine, I ran 100 concurrent requests against my Ubuntu VPS ab -n 100 -c 100 http://... And, as I suspected, the server "crashed". I can still ping it, and it responds very quickly ...
2
votes
3answers
2k views

How do I optimize a nginx reverse proxy? [closed]

I am pretty much a noobie at nginx and i really need some help. I am using nginx as a reverse proxy server to serve primarily as a load balancer. I am using almost only dynamic files. The back end ...
2
votes
1answer
2k views

php5-fpm incomplete install - no config file

I've set up a server with Ubuntu 11.04 and Nginx+PHP-FPM+Varnish+APC+MySQL+Memcached+WordPress. Everything runs pretty nice, but there is a tiny problem with the PHP-FPM service. Install goes OK after ...
2
votes
1answer
2k views

Does nginx use “deferred” as the default for the listen directive?

Many sites recommend using 'deferred' with the listen directive for nginx. Is this necessary on the Ubuntu installation or is "listen 80" sufficient with 'deferred' on by default? listen 80 default ...
3
votes
2answers
2k views

Can I use nginx and GnuTLS together?

I read that nginx works with OpenSSL. But since GnuTLS is the only software that provides TLS 1.2 support, it would be useful to combine that. So, how can I compile nginx with GnuTLS on Ubuntu? =)
2
votes
0answers
297 views

How do I configure nginx to serve ws:// URLs? [closed]

I've currently got nginx running a cluster on thins which serves up my Rails app. My iPhone app sockets framework wants to connect to a URL starting with ws:// I'm pretty new at this but... where ...
0
votes
2answers
3k views

php does not parse using nginx & phpfm

I am setting up a VPS and followed the nginx, PHP, MySQL instructions for WordPress from this tutorial http://tutspundit.com/howto-install-nginx-php-fpm-mysql-php533-wordpress-ubuntu-part-1/ and then ...
3
votes
1answer
3k views

Loading daemon at startup

Is there an elegant way, other than messing with /etc/rc?.d, to control the daemon loading at boot time? My personal concern is stopping Nginx from loading at boot, while setting lighttpd to do load ...
13
votes
2answers
38k views

What file permissions should I set on web root?

I use Ubuntu Server 10.10 and have installed Nginx web server with apt-get install nginx. It creates a default web page at /var/www/nginx-default/ and that directory has the permissions drwxr-xr-x 2 ...
8
votes
1answer
9k views

How to set up PHP with Nginx, APC and PostgreSQL?

I use Ubuntu Server 10.10 and I would like to set up a web server environment with NginX, PHP 5.3.3, PostgreSQL and preferably APC and PHP Suhosin. I have already set up PostgreSQL with apt-get ...