nginx 504网关超时 [英] nginx 504 Gateway Time-out

查看:588
本文介绍了nginx 504网关超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在nginx上运行带有phusion-passenger的rails3.0.7项目. 当我做一个ajax时,大约需要15分钟来处理. 调用ajax 10分钟后,firebug跳出一个错误,提示"504 Gateway Time-out".

I'm running a rails3.0.7 project with phusion-passenger on nginx. While I was doing a ajax which took about 15 mins to process. It jump up an error with firebug which said "504 Gateway Time-out" after 10 mins from calling the ajax.

能不能给我一些有关如何找到问题的想法.

Could someon give me some idea of how I could find the problem.

谢谢,本

  • 操作系统:mac osx 10.6.7
  • 红宝石:安装了rvm的1.9.2p180
  • 宝石:1.6.2
  • 乘客3.0.7
  • 导轨:3.0.7
  • mysql:5.5.10与brew一起安装
  • nginx:1.0.0与Passender一起独立安装

推荐答案

这是nginx超时错误.如果确实要允许超过10分钟的时间来完成任务,请查看以下文章,了解有关需要调整哪些参数以避免超时的一些线索.

That's an nginx timeout error. Look at the following article for some clues as to which parameter you need to adjust to avoid the timeout, if you really want to allow more than 10 minutes to complete the task.

如何防止Nginx导致网关超时

这篇关于nginx 504网关超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆