502 Proxy Error
julyclyde at gmail.com
Sat Apr 17 13:09:39 MSD 2010
On Sat, Apr 17, 2010 at 5:02 PM, chuj625 <nginx-forum at nginx.us> wrote:
> i build a service with nginx
> When i visit it frequently(serval times per second, may be more frequently), it will delay the request or just give back "502 Proxy Error"
> What shall i do if i do not want it to delay requests or give back 502 error?
To avoid 502 error, you should:check where the bottleneck is firstly.
Do you run php as fastcgi server, and 502 occurs when you access a PHP
page? If so, you would want to increase the size of buffer for fastcgi
communication. And, optimize the php script executive time is also
needed. E.g., optimize the database, in order to decrease the
More information about the nginx