The "Bad Gateway" error you are getting from NginX is caused by concurrency setting mismatches between NginX and whatever you are running on the back-end (Apache with mod-php, or php-fpm?). NginX is reporting this error because the back end is busy and cannot accept any more incoming connections.

Make sure that the NginX config and whatever you are using for back-end PHP processing have the same concurrency settings.

Signed,-Smokin'

Feel free to contact me if you need legal assistance. I have a great lawyer that helped me with an ex who violated my privacy and kept harassing me on MySpace and Facebook. He's very good. And there is legal precedent. - linuxpro

All I know is that the front end and the back end aren't properly tuned for high numbers of concurrent users. The front-end is configured to handle more connections than the back-end, so once it overflows, the "bad gateway" error is churned out.

Feel free to contact me if you need legal assistance. I have a great lawyer that helped me with an ex who violated my privacy and kept harassing me on MySpace and Facebook. He's very good. And there is legal precedent. - linuxpro

Feel free to contact me if you need legal assistance. I have a great lawyer that helped me with an ex who violated my privacy and kept harassing me on MySpace and Facebook. He's very good. And there is legal precedent. - linuxpro

Actually, it's not really latin. It's mostly gibberish. If I'm remembering right, this is the passage they use to test typefaces and spacing and stuff, correct? There's quite a few Latin words in there, but quite a few non-Latin words, too.

The Radish wrote:Rockhawk and Anguish were talking about this problem in the mod forum today. Trying to plan long term what to do about it.

They are planning on making the next move in time for draft day which till now has been the most posters at once.

Over the weekend I saw over 2,800 posters at once just on the forum plus what ever more in the chat room, which is seperate.

Think Sailor saw even more.

Same but different. Smokin was right, a couple config tweaks needed to be made. Unfortunately I was in an aeropuerto in the middle of nowhere Mexico yesterday afternoon.

Webserver tuning can be such a pain in the ass. I host a couple high traffic community sites and use NginX to serve static content while Apache (via mod-php) handles the PHP, which is what I suspect you are doing here (perhaps php-fpm instead of Apache). APC is used to cache php opcodes while memcached is employed to store session data such that multiple web servers can be implemented and subsequently load balanced.

In all of that configuratin', the hardest thing to tune was PHP concurrency settings as setting values too high will cause you to run out of RAM in high load situations (very bad as it causes paging to disk and horrible slowness while disk queues lengthen) while setting it too low will cause server busy or gateway unavailable issues. php-fpm is a lot better than mod-php in terms of memory usage, but can bottleneck as it relies on sockets or TCP for piping data in and out.

If the site is presently hosted on a single server solution, moving up to a multi-server solution will cost a pretty penny (slightly more than double the cost unless "smaller" virtual servers are employed), and will require a lot of mojo to configure properly (multi-master database replication, distributed PHP session data, rsyncing of user data, etc). If you guys want any recommendations or an extra brain to help with some design issues, by all means feel free to ask. I'm a busy guy these days, but I have no problem advising on a solution.

Feel free to contact me if you need legal assistance. I have a great lawyer that helped me with an ex who violated my privacy and kept harassing me on MySpace and Facebook. He's very good. And there is legal precedent. - linuxpro

Latin has always been Greek to me... even when I was an Altar Boy.Yes, Rocket was a little angel.

Journalism is dead, it's been replaced by creative writing aka fake news.Critical thinking is pretty much dead too. I miss the hearsay rule. The concept of "ethic" has been stripped from the Journalism curriculum.