ruby-on-rails - Resque 和 New 遗物

标签 ruby-on-rails ruby heroku resque newrelic

我开始在使用 New Relic 和 resque 时遇到奇怪的错误

INFO : Starting Agent shutdown
ERROR : undefined method `write' for nil:NilClass: Unable to send data to parent process, please see https://newrelic.com/docs/ruby/resque-instrumentation for more information

我已按照说明进行操作 here

我也不再在我的新遗物控制面板中看到任何东西

最佳答案

directions最近已更新。我相信 :report_instance_busy => false 已从 Resque.before_first_fork 移至 Resque.after_fork

或者,如果您能够将 resque 设置为 >= 1.23.1,那么您可以删除显式的 resque Hook ,因为 resque 链接已修复,newrelic_rpm gem 指令不会被其他 gem 覆盖。

如果这些修复不起作用,您可能需要 turn on audit logging在你的 newrelic.config 中。您只希望将其打开一小段时间(比如 5 分钟),因为它可能会对应用程序的性能产生不利影响。您可以将此附加到 newrelic 问题请求和/或可能通过自己阅读文件找出问题所在。

关于ruby-on-rails - Resque 和 New 遗物,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14953713/

相关文章:

ruby-on-rails - Rails 3 中的 onchange remote_function - 有效吗?我怎样才能不引人注目地完成它?

ruby-on-rails - graphql-ruby,日期或日期时间类型

linux - 使用heroku调度程序调度websolr重新索引

python - 使用 Conda 环境(而不是 virtualenv)将 Python (Dash) 应用程序部署到 Heroku

ruby-on-rails - 如何创建 Rails 使用的 Rack 应用程序?

ruby-on-rails - Rails 管理员修改列表/显示 View 以添加新/自定义列

ruby-on-rails - 我们如何定义大整数?

ruby-on-rails - RSPEC 的资源和引用资料

ruby - 有没有办法从正在运行的 ruby​​ 进程中将对象转储到内存中?

google-app-engine - GAE Datastore 与 MongoDB 的价格比较