Memory usage for Lighttpd to NGINX
October 03, 2012 12:40PM
I use Lighty (lighttpd) on a small VPS where RAM is tight and multiple domains exist. Trading memory for speed, I opt for CGI only, given that FastCGI will consume more memory for each domain (at least that's what I've been told).

I'm looking into NGINX now, and notice that it doesn't support CGI at all. Does anybody know if the combination of NGINX and PHP-FPM has the same side effect? That is, more memory will be consumed for each domain.
Re: Memory usage for Lighttpd to NGINX
October 09, 2012 10:47AM
Found a tutorial: Nginx + WordPress + fastcgi_cache with conditional purging
Re: Memory usage for Lighttpd to NGINX
October 09, 2012 11:42AM
I've since figured out that the short answer is: yes. With default config, NGINX will use up more memory that lighttpd for a site with multiple domains. However, I've also found that with config tuning, NGINX can be brought down to pretty much the same memory footprint.

Edited 1 time(s). Last edit at 10/09/2012 11:42AM by mtl-eng.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready