【问题标题】:Passenger stop to write log乘客停下来写日志
【发布时间】:2026-02-25 16:50:01
【问题描述】:
Started GET "/home" for 117.55.68.xxx at 2012-11-05 22:56:06 +0900
Processing by PageController#home as HTML
Parameters: {"id"=>"420"}


Started POST "/login" for 61.211.5.107 at 2012-11-05 23:25:52 +0900
Processing by UsersController#login as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xxxxxxx=", "username"=>"***DELETED***", "password"=>"***DELETED***", "commit"=>"login"}
Rendered users/login.html.haml within layouts/application (6.7ms)
Completed 200 OK in 142ms (Views: 103.5ms | ActiveRecord: 0.0ms)

我正在使用乘客 3.0.11。 我遇到过日志不写的问题。 当未输出“已完成”时会发生这种情况。 不输出“Completed”后,20-40分钟不写日志。

有人知道吗?

【问题讨论】:

标签: ruby-on-rails passenger


【解决方案1】:

这通常发生在您遇到内存问题时。 Ruby 无法写入日志,因为它已耗尽内存。

【讨论】: