Forum: NGINX upstream timed out errors

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B757ee4ebd563c502099243cb0db8cb0?d=identicon&s=25 unknown (Guest)
on 2009-06-08 01:02
(Received via mailing list)
in our nginx setup we are seeing a lot of
upstream timed out errors

The app is doing only about half a  million pageviews a day

the app has 8 backends in 3 servers ie 24 backends served from one nginx

the cpu utilization of each backend is at 70% most of the time

Any ideas on how to fix the timeout errors, should we add more backends
thanks
4047860c1dcc8eb044b647ba4ecda617?d=identicon&s=25 merlin corey (Guest)
on 2009-06-08 12:30
(Received via mailing list)
You need to determine where the bottleneck is.  Often, it is the
database layer and lack of caching.
This topic is locked and can not be replied to.