网站服务器端Nginx出问题了,求诊断。

2013-09-02 17:07:37 +08:00
 kenneth
网站的架构是Tornado+Storm+Nginx

如何排查出问题在哪里?

我已经把nginx的参数都加大了,还是一会就又报504的错误
fastcgi_connect_timeout 1800s;
fastcgi_send_timeout 1800s;
fastcgi_read_timeout 1800s;

瓶颈可能在哪里?mysql吗?
还是代码中有溢出?

求方法诊断系统瓶颈在哪里?

2013/09/02 17:01:00 [error] 13062#0: *5324 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 173.255.223.14, server: mvmap.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "www.mvmap.com"
2330 次点击
所在节点    程序员
2 条回复
cloudzhou
2013-09-02 17:12:48 +08:00
信息太少,不过很明显 upstream timed out 也就是上游出现 timeout,看看 python容器 的error
BOYPT
2013-09-02 17:58:04 +08:00
timed out是你的后端挂了,怎么设nginx都没用的。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/81072

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX