首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >NewRelic::Agent::ForceRestartException

NewRelic::Agent::ForceRestartException
EN

Stack Overflow用户
提问于 2013-11-27 02:25:25
回答 1查看 971关注 0票数 1

newrelic_agent.log中的这些错误表示什么?我如何解决这些错误?我最近在newrelic.yml中做了一些小改动,并重新启动了服务器。恢复更改无济于事。

代码语言:javascript
复制
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Starting the New Relic agent in "production" environment.
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : To prevent agent startup add a NEWRELIC_ENABLE=false environment variable or modify the "production" section of your newrelic.yml
.
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Reading configuration from config/newrelic.yml
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Enabling the Request Sampler.
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Enabling the Request Sampler.
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Environment: production
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Dispatcher: passenger
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Application: production
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Connecting workers after forking.
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Installing DelayedJob instrumentation [part 1/2]
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Installing deferred Rack instrumentation
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Installing Net instrumentation
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Installing ActiveRecord instrumentation
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Installing Rails 3 Controller instrumentation
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Installing Rails 3.1/3.2 view instrumentation
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Installing Rails3 Error instrumentation
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : Finished instrumentation
[11/26/13 10:08:17 -0800 prod-web02 (4558)] INFO : NewRelic::Agent::Samplers::DelayedJobSampler not available: No DJ worker present
[11/26/13 10:08:18 -0800 prod-web02 (4558)] INFO : Doing deferred dependency-detection before Rack startup
[11/26/13 10:08:20 -0800 prod-web02 (4581)] INFO : Reporting to: https://rpm.newrelic.com/accounts/XXX/applications/XXX
[11/26/13 10:08:20 -0800 prod-web02 (4591)] INFO : Reporting to: https://rpm.newrelic.com/accounts/XXX/applications/XXX
[11/26/13 10:08:20 -0800 prod-web02 (4602)] INFO : Reporting to: https://rpm.newrelic.com/accounts/XXX/applications/XXX
[11/26/13 10:08:20 -0800 prod-web02 (4614)] INFO : Reporting to: https://rpm.newrelic.com/accounts/XXX/applications/XXX
**[11/26/13 10:08:26 -0800 prod-web02 (7931)] INFO : Failed to send timeslice data, trying again later. Error:
[11/26/13 10:08:26 -0800 prod-web02 (7931)] INFO : NewRelic::Agent::ForceRestartException: ***Restart agent on stale config (account) method=metric_data launch=2013-11-20 02:07:17 config=2013-11-26 00:00:00
[11/26/13 10:08:57 -0800 prod-web02 (4661)] INFO : Reporting to: https://rpm.newrelic.com/accounts/XXX/applications/XXX
[11/26/13 10:09:26 -0800 prod-web02 (7931)] INFO : Failed to send timeslice data, trying again later. Error:
[11/26/13 10:09:26 -0800 prod-web02 (7931)] INFO : NewRelic::Agent::ForceRestartException: ***Restart agent on stale config (account) method=metric_data launch=2013-11-20 02:07:17 config=2013-11-26 00:00:00**
EN

回答 1

Stack Overflow用户

发布于 2013-11-27 06:45:34

当用户的进程仍在使用旧的配置设置时,用户将看到此消息(NewRelic::Agent::ForceRestartException: **Restart agent on stale config (account))。如果您重新启动该进程,它应该能够找到更新的配置设置,并且此消息应该不再出现。如果您希望New Relic更深入地查看您的日志和情况,最好在support.newrelic.com上提交支持票证。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20225000

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档