ruby-on-rails – Resque和New relic
发布时间:2020-12-16 19:02:03 所属栏目:百科 来源:网络整理
导读:我开始在New Relic和resque中遇到奇怪的错误 INFO : Starting Agent shutdownERROR : undefined method `write' for nil:NilClass: Unable to send data to parent process,please see https://newrelic.com/docs/ruby/resque-instrumentation for more info
我开始在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挂钩,因为已经修复了resque链接并且newrelic_rpm gem指令不会被其他gem覆盖. 如果这些修复不起作用,您可能希望在newrelic.config中使用turn on audit logging.您只需要在短时间内(例如5分钟)启用它,因为它可能会对您的应用程序的性能产生负面影响.您可以将此附加到newrelic问题请求和/或可能通过自己读取文件来找出问题所在. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |