0

我在 Nginx 和 5 个瘦 web 服务器上运行 Rails。一直挂着!!

我收到 500 内部服务器错误。但是,我不明白是什么原因造成的。

My questions are:

1)我怎样才能找出导致问题的原因?我要采取什么步骤?

2)页面是否index8导致问题?(这是一个使用 ajax 调用的数据表 - json)

3) 系统会出现 500 个错误hang吗?还是我只是假设他们是原因?

错误日志:

Started GET "/workorders/index8?sEcho=1&iColumns=10&sColumns=&iDisplayStart=0&iDisplayLength=10&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3=3&mDataProp_4=4&mDataProp_5=5&mDataProp_6=6&mDataProp_7=7&mDataProp_8=8&mDataProp_9=9&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1= &bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&sSearch_6=&bRegex_6=false&bSearchable_6=true&sSearch_7=&bRegex_7=false&bSearchable_7=true&sSearch_8=&bRegex_8=false&bSearchable_8=true&sSearch_9=&bRegex_9=false&bSearchable_9=true&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&bSortable_0=true&bSortable_1=true&bSortable_2=true&bSortable_3=true&bSortable_4=true&bSortable_5=true&bSortable_6=true&bSortable_7=true&bSortable_8=true&bSortable_9=true&_=1378992988374" for 198.50.4.4 at 2013-09-12 07:40:32 - 0600 WorkordersController#index8 处理为 JSON 参数:{"sEcho"=>"1", "iColumns"=>"10", "sColumns"=>"", "iDisplayStart"=>"0", "iDisplayLength"= >“10”、“mDataProp_0”=>“0”、“mDataProp_1”=>“1”、“mDataProp_2”=>“2”、“mDataProp_3”=>“3”、“mDataProp_4”=>“4”, "mDataProp_5"=>"5", "mDataProp_6"=>"6", "mDataProp_7"=>"7", "mDataProp_8"=>"8", "mDataProp_9"=>"9", "sSearch"= >"", "bRegex"=>"false", "sSearch_0"=>"", "bRegex_0"=>"false", "bSearchable_0"=>"true", "sSearch_1"=>"", "bRegex_1" =>“假”、“bSearchable_1”=>“真”、“sSearch_2”=>“”、“bRegex_2”=>“假”、“bSearchable_2”=>“真”、“sSearch_3”=>“”、“ bRegex_3"=>"false", "bSearchable_3"=>"true", "sSearch_4"=>"", "bRegex_4"=>"false", "bSearchable_4"=>"true", "sSearch_5"=>"", "bRegex_5"=>"false", "bSearchable_5"=>"true", "sSearch_6"= >"", "bRegex_6"=>"false", "bSearchable_6"=>"true", "sSearch_7"=>"", "bRegex_7"=>"false", "bSearchable_7"=>"true", "sSearch_8 "=>"", "bRegex_8"=>"false", "bSearchable_8"=>"true", "sSearch_9"=>"", "bRegex_9"=>"false", "bSearchable_9"=>"true", "iSortCol_0"=>"0", "sSortDir_0"=>"asc", "iSortingCols"=>"1", "bSortable_0"=>"true", "bSortable_1"=>"true", "bSortable_2"=>"true", "bSortable_3"=>"true", "bSortable_4"=>" true", "bSortable_5"=>"true", "bSortable_6"=>"true", "bSortable_7"=>"true", "bSortable_8"=>"true", "bSortable_9"=>"true", "_ "=>"1378992988374"} 在 6125 毫秒内完成 500 内部服务器错误bSortable_5"=>"true", "bSortable_6"=>"true", "bSortable_7"=>"true", "bSortable_8"=>"true", "bSortable_9"=>"true", "_"=>" 1378992988374"} 在 6125 毫秒内完成 500 内部服务器错误bSortable_5"=>"true", "bSortable_6"=>"true", "bSortable_7"=>"true", "bSortable_8"=>"true", "bSortable_9"=>"true", "_"=>" 1378992988374"} 在 6125 毫秒内完成 500 内部服务器错误

更新1

我现在在想 500 错误并没有挂起系统。我回顾了日志,看到它在系统没有挂起时显示出来。

所以,我回到第一方。如何确定导致挂起的原因?

(当然,我还有第二个问题——为什么我还是会收到 500 个错误?)

4

0 回答 0