{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/3601","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/3601/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/3601/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/3601/events","html_url":"https://github.com/influxdata/telegraf/issues/3601","id":282975226,"number":3601,"title":"Restart Telegraf from services.msc will fail occasionnaly","user":{"login":"xkilian","id":1302719,"avatar_url":"https://avatars3.githubusercontent.com/u/1302719?v=4","gravatar_id":"","url":"https://api.github.com/users/xkilian","html_url":"https://github.com/xkilian","followers_url":"https://api.github.com/users/xkilian/followers","following_url":"https://api.github.com/users/xkilian/following{/other_user}","gists_url":"https://api.github.com/users/xkilian/gists{/gist_id}","starred_url":"https://api.github.com/users/xkilian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xkilian/subscriptions","organizations_url":"https://api.github.com/users/xkilian/orgs","repos_url":"https://api.github.com/users/xkilian/repos","events_url":"https://api.github.com/users/xkilian/events{/privacy}","received_events_url":"https://api.github.com/users/xkilian/received_events","type":"User","site_admin":false},"labels":[{"id":194687826,"url":"https://api.github.com/repos/influxdata/telegraf/labels/bug","name":"bug","color":"ff8564","default":true},{"id":390108606,"url":"https://api.github.com/repos/influxdata/telegraf/labels/platform/windows","name":"platform/windows","color":"4591ed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2017-12-18T18:20:30Z","updated_at":"2018-03-21T19:19:16Z","closed_at":null,"author_association":"NONE","body":"## Bug report\r\nWhen Telegraf has been running for a period of time greater than an hour (might be less), restarting the service will time out. \r\nStop is ok\r\nStart fails with an error 1053 ERROR_SERVICE_REQUEST_TIMEOUT \r\n(Timeout is 30000 ms for total time for Stop and Start)\r\n\r\n### Relevant telegraf.conf:\r\nwin_services\r\nwin_ping\r\nstandard windows system monitoring (disk, diskio, cpu, mem, net, processes)\r\n\r\n### System info:\r\n\r\nWindows 2008 R2\r\n\r\n### Steps to reproduce:\r\n\r\n1. Start Telegraph\r\n2. In Services.msc Restart the service\r\n\r\nIf Telegraf has been recently restarted, the service will restart succesfully.\r\n\r\n### Expected behavior:\r\n\r\nRestart does not timeout.\r\n\r\n### Actual behavior:\r\n\r\nTelegraf does not start.\r\n\r\n### Additional info:\r\n\r\nHappens with Telegraf 1.4.x, 1.5 latest nightly.\r\nEvent log only contains two error messages stating that the start did not complete. due to a imeout.\r\n\r\n### Use case: [Why is this important (helps with prioritizing requests)]\r\n\r\nTelegraf service resiliency.\r\nI would expect I am not alone, as this happens on most if not all servers."},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/375064745","html_url":"https://github.com/influxdata/telegraf/issues/3601#issuecomment-375064745","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/3601","id":375064745,"user":{"login":"256QAM","id":18684001,"avatar_url":"https://avatars3.githubusercontent.com/u/18684001?v=4","gravatar_id":"","url":"https://api.github.com/users/256QAM","html_url":"https://github.com/256QAM","followers_url":"https://api.github.com/users/256QAM/followers","following_url":"https://api.github.com/users/256QAM/following{/other_user}","gists_url":"https://api.github.com/users/256QAM/gists{/gist_id}","starred_url":"https://api.github.com/users/256QAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/256QAM/subscriptions","organizations_url":"https://api.github.com/users/256QAM/orgs","repos_url":"https://api.github.com/users/256QAM/repos","events_url":"https://api.github.com/users/256QAM/events{/privacy}","received_events_url":"https://api.github.com/users/256QAM/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T19:19:16Z","updated_at":"2018-03-21T19:19:16Z","author_association":"NONE","body":"@xkilian are you comfortable compiling telegraf yourself? We rolled back the gopsutil version in GODEPS to what it was pre-1.4.4 and recompiled with the latest commit at the time (1.6~)- so far no issues across all environments "}}
{"actor":{"display_login":"256QAM"}}