newrelic_agent.log中的这些错误表示什么以及如何解决这些错误?我最近在newrelic.yml上做了一些小改动并重新启动了服务器。恢复更改无济于事。
[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**
答案 0 :(得分:1)
用户将在其进程仍在使用旧配置设置时看到此消息(NewRelic::Agent::ForceRestartException: **Restart agent on stale config (account)
)。如果您重新启动该过程,它应该能够找到更新的配置设置,此消息应该停止显示。如果您希望New Relic更深入地了解您的日志和情况,最好在support.newrelic.com上提交支持请求。