Register    Login    Forum    Search    FAQ    Contact Us  Your donations are greatly appreciated! Donate  Chat Room

Board index » THE NET NATION LOUNGE » [ THE NET LOUNGE ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: ATTN: .Net Systems Engineers
 Post Posted: Sun Jan 13, 2013 1:45 pm 
*PLATINUM SUPPORTER*
*PLATINUM SUPPORTER*
User avatar
Offline

Joined: Thu Apr 30, 2009 9:29 am
Posts: 5582
Location: Not Umatilla, Oregon
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

He is hold back the legion of boom - skater18000


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Sun Jan 13, 2013 4:15 pm 
* Natural Rubbing Action *
User avatar
Offline

Joined: Sat Mar 03, 2007 9:23 am
Posts: 17580
Location: The beautiful PNW
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Understood,
-99% of this post's readers

_________________
World Champion Seattle Seahawks football. It's an addiction, and there is no cure.


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Sun Jan 13, 2013 4:31 pm 
*PLATINUM SUPPORTER*
*PLATINUM SUPPORTER*
User avatar
Offline

Joined: Thu Apr 30, 2009 9:29 am
Posts: 5582
Location: Not Umatilla, Oregon
Seahawk Sailor wrote:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Understood,
-99% of this post's readers


Not sure what you just said. It's all Greek to me.

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

He is hold back the legion of boom - skater18000


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Sun Jan 13, 2013 5:30 pm 
* Natural Rubbing Action *
User avatar
Offline

Joined: Sat Mar 03, 2007 9:23 am
Posts: 17580
Location: The beautiful PNW
SmokinHawk wrote:
Not sure what you just said. It's all Greek to me.


Bingo!

(but it's actually Latin)

_________________
World Champion Seattle Seahawks football. It's an addiction, and there is no cure.


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Sun Jan 13, 2013 6:51 pm 
*PLATINUM SUPPORTER*
*PLATINUM SUPPORTER*
User avatar
Offline

Joined: Thu Apr 30, 2009 9:29 am
Posts: 5582
Location: Not Umatilla, Oregon
Seahawk Sailor wrote:
SmokinHawk wrote:
Not sure what you just said. It's all Greek to me.


Bingo!

(but it's actually Latin)


I know. Was trying to make a funny. ;)

_________________
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

He is hold back the legion of boom - skater18000


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Mon Jan 14, 2013 12:02 pm 
* NET Radish *
User avatar
Offline

Joined: Tue Feb 27, 2007 8:18 pm
Posts: 18002
Location: Spokane, Wa.
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.

_________________
Image
The SuperB owl ladys have left the building with our thanks.


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Mon Jan 14, 2013 12:17 pm 
* NET Developer *
User avatar
Offline

Joined: Wed Dec 31, 1969 4:00 pm
Posts: 3589
Location: Battle Ground, WA
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.


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Mon Jan 14, 2013 1:27 pm 
* NET Starfish *
User avatar
Offline

Joined: Sun Jun 14, 2009 6:29 am
Posts: 10217
Location: Helm's Deep
Seahawk Sailor wrote:
SmokinHawk wrote:
Not sure what you just said. It's all Greek to me.


Bingo!

(but it's actually Latin)


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.

_________________
Rzzzzz...


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Mon Jan 14, 2013 1:56 pm 
*PLATINUM SUPPORTER*
*PLATINUM SUPPORTER*
User avatar
Offline

Joined: Thu Apr 30, 2009 9:29 am
Posts: 5582
Location: Not Umatilla, Oregon
Anguish wrote:
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

He is hold back the legion of boom - skater18000


Top 
 Profile  
 
 Post subject: Re: ATTN: .Net Systems Engineers
 Post Posted: Thu Jan 17, 2013 4:05 pm 
NET Veteran
User avatar
Offline

Joined: Sat Jun 30, 2012 11:12 pm
Posts: 1121
Location: The Rain Forest
Latin has always been Greek to me... even when I was an Altar Boy.
Yes, Rocket was a little angel.

_________________
"We walked our (pedestrian) ass to the Super Bowl"
Angry Doug
"We're looking for grit"
Pete Carroll
"We got grit. That's it."
Earl Thomas.


Top 
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

Board index » THE NET NATION LOUNGE » [ THE NET LOUNGE ]


Who is online

Users browsing this forum: No registered users and 9 guests

 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Seahawks.NET is an independent fan site and not associated with the Seattle Seahawks or the NFL (National Football League).
All content within this Seahawks fan page is provided by, and for, Seattle Seahawks fans. Copyright © Seahawks.NET.