Portal Home > Knowledgebase > Articles Database > dont think about nginx, it will crash your site!


dont think about nginx, it will crash your site!




Posted by bvc100x, 03-28-2010, 08:59 AM
people! you hear a lot of good comment and review about nginx! it was not totally true! if your server or website running nginx fine, then is ok! most of nginx server is hosting lightweight blog! do not, i mean "DO NOT" try to host nginx under heavyweight website! for example: forum, mysql drive, media/video, search engine, sns and related application! it will crash your website! nginx is lightweight server, it is not suitable for large application! if your website only run a few static css, javascript, html, or simple php/cgi then you can still consider about nginx! you should not believe what i have told u, but you should try yourself or testing in new server!

Posted by Server Management, 03-28-2010, 09:01 AM
My mistake, misred your post. Last edited by Server Management; 03-28-2010 at 09:06 AM.

Posted by SimplyPhx, 03-28-2010, 09:04 AM
i don't think your quite getting what he is referring to http://en.wikipedia.org/wiki/Nginx

Posted by drspliff, 03-28-2010, 09:06 AM
From somebody who uses nginx on some relatively heavy sites I'm of the opinion that you haven't got a clue what you're talking about. What do you mean by crash? Would you like to provide specifics instead of posting unfounded FUD? Last edited by drspliff; 03-28-2010 at 09:10 AM.

Posted by cristibighea, 03-28-2010, 09:08 AM
Never experienced any problems on high or low usage environments. Perhaps you might need to learn how to properly configure it or figure out what is causing it to crash.

Posted by Tristan Perry, 03-28-2010, 09:30 AM
Some pretty major (hence intensive) sites use it without any real troubles. Can you give us more information about the nature of your sites, your environment, nginx config files etc?

Posted by bvc100x, 03-28-2010, 10:10 AM
i have test about a week! i only test php! there are a few major problem: memory management! buffering! caching! mysql processing! nginx can serve 1000 request in 1 sec! but it is only for images/css/javascript! you should try run a mysql script, file processing and other, see what happen! i also test in fastcgi speed and php-fpm! every time i warm people, just no body listen! i already do that, do not blame me after something happen!

Posted by MikeDVB, 03-28-2010, 10:24 AM
I've seen a huge amount of large very busy sites that run on nginx without problems. About the only drawback to Nginx is the initial configuration but beyond that it's been solid in the testing I've done and for the sites that I frequent that use it.

Posted by net, 03-28-2010, 10:48 AM
I didn't test it to run alone but we are using it as a proxy for a very very heavy php/mysql site and it never failed us :-) Moved > Hosting Security and Technology.

Posted by layer0, 03-28-2010, 10:49 AM
bvc100x, It sounds like you just may be configuring nginx incorrectly. It's a very capable web server and if your statements were true it wouldn't be used by some of the largest sites on the net.

Posted by drspliff, 03-28-2010, 11:03 AM
I'm also using php-fpm with nginx and have nothing but compliments for it. You mean you were running php as CGI?

Posted by ServerCabinCRM, 03-28-2010, 12:27 PM
We switched from LiteSpeed to Nginx and have had no problems at all. Apache still handles .htaccess requests and other bits and bobs but it works fine, you must not have configured it correctly.

Posted by Vamsii, 03-28-2010, 12:56 PM
Hello, I am running nginx on a vBulletin forum with 23k members.. I have never faced a problem with it.. I use it with FastCGI..

Posted by rustelekom, 03-28-2010, 01:55 PM
Nginx used on lot of very heavy sites in Russia. Just for example http://yandex.ru - it is number one search engine for Russia (google is second). Also, many anti ddos proxy services use nginx for mitigating apache ddos attack. Nginx only has one problem - it is not well documented as apache And another problem is .htaccess. That's all problem.

Posted by petteyg359, 03-28-2010, 02:12 PM
nginx has nothing to do with MySQL. nginx does not make poorly written PHP run faster. FPM does not make poorly written PHP run faster. FastCGI does not make poorly written PHP run faster.

Posted by jon-f, 03-28-2010, 02:35 PM
Some of the biggest sites on the net use ningx as main webserver. I think you need to read on the net some tutorials, benchmarks, etc to better understand. You cant just use something once, fail and then blame the software

Posted by david3, 04-03-2010, 01:33 AM
I've been using nginx and php-fpm and it's been working great. I keep nginx updated with the latest version (current 0.8.35) and php updated with the latest 5.2.x version (currently 5.2.13).

Posted by deltacrew, 04-03-2010, 01:53 AM
Maybe not the same setup as what you tested, but have been using nginx as reverse proxy for more than a year. Absolutely no issues. Have you (try) checked and optimized nginx?

Posted by rotame, 04-11-2010, 05:17 PM
We used nginx and we are very happy we dont have any problem and we have site with a lot of traffic , maybe any wrong setting failed to you

Posted by Snapfiber, 04-11-2010, 08:41 PM
1 for nginx, no problems with it, rock solid and great for low-resource boxes.

Posted by Joe262, 04-11-2010, 08:50 PM
Do you often find yourself warning others frantically? Do people usually blame *you* when their servers crash?

Posted by izumi777, 04-11-2010, 09:13 PM
I you nginx on production server. It works great and consume very little memory.

Posted by Snapfiber, 04-12-2010, 12:50 AM
...

Posted by Uncorrupted-Michael, 04-12-2010, 12:36 PM
We have clients with nginx + php-fpm powered WordPress blogs that push over 15mbit/sec and serve over 5 million visitors a month from a single VPS. We recently migrated one such client back to apache... ended up getting a very high end dedicated box to make it work and still run into issues. She's going to have to do some major theme hacking to stay with apache. nginx > apache every day of the week.

Posted by UWH-David, 04-14-2010, 03:47 PM
Agreed. It is an odd thing to say nginx will crash heavy sites as nginx serves the purpose of heavy websites and scalability. We use nginx with our heavy website clients and have not had any issues. nginx and lighttpd is being used all over the place and with some very large websites such as YouTube, wikipedia and meebo. It comes down to configuration and optimization like anything. We mostly use it as a reverse proxy front end for Apache and it works brilliantly. It has cut down overhead tremendously (especially with keep-alives in place) on some sites and I have not seen sites load so fast before. Now if your site has very little static files and is extremely heavy on PHP then an optimized Apache setup may arguably serve you better but most heavy sites we encounter have a ridiculous number of static files where nginx really shines and reduces overhead so Apache can have more breathing room to do the heavy workload.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reseller Hosting (Views: 676)
Mod_security Rulesets (Views: 709)


Language: