{"action":"created","issue":{"url":"https://api.github.com/repos/fluent/fluentd/issues/1129","repository_url":"https://api.github.com/repos/fluent/fluentd","labels_url":"https://api.github.com/repos/fluent/fluentd/issues/1129/labels{/name}","comments_url":"https://api.github.com/repos/fluent/fluentd/issues/1129/comments","events_url":"https://api.github.com/repos/fluent/fluentd/issues/1129/events","html_url":"https://github.com/fluent/fluentd/issues/1129","id":168063074,"number":1129,"title":"in_forward RuntimeError after logrotate","user":{"login":"Yanson","id":6860163,"avatar_url":"https://avatars.githubusercontent.com/u/6860163?v=3","gravatar_id":"","url":"https://api.github.com/users/Yanson","html_url":"https://github.com/Yanson","followers_url":"https://api.github.com/users/Yanson/followers","following_url":"https://api.github.com/users/Yanson/following{/other_user}","gists_url":"https://api.github.com/users/Yanson/gists{/gist_id}","starred_url":"https://api.github.com/users/Yanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yanson/subscriptions","organizations_url":"https://api.github.com/users/Yanson/orgs","repos_url":"https://api.github.com/users/Yanson/repos","events_url":"https://api.github.com/users/Yanson/events{/privacy}","received_events_url":"https://api.github.com/users/Yanson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fluent/fluentd/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"repeatedly","id":16928,"avatar_url":"https://avatars.githubusercontent.com/u/16928?v=3","gravatar_id":"","url":"https://api.github.com/users/repeatedly","html_url":"https://github.com/repeatedly","followers_url":"https://api.github.com/users/repeatedly/followers","following_url":"https://api.github.com/users/repeatedly/following{/other_user}","gists_url":"https://api.github.com/users/repeatedly/gists{/gist_id}","starred_url":"https://api.github.com/users/repeatedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repeatedly/subscriptions","organizations_url":"https://api.github.com/users/repeatedly/orgs","repos_url":"https://api.github.com/users/repeatedly/repos","events_url":"https://api.github.com/users/repeatedly/events{/privacy}","received_events_url":"https://api.github.com/users/repeatedly/received_events","type":"User","site_admin":false},"assignees":[{"login":"repeatedly","id":16928,"avatar_url":"https://avatars.githubusercontent.com/u/16928?v=3","gravatar_id":"","url":"https://api.github.com/users/repeatedly","html_url":"https://github.com/repeatedly","followers_url":"https://api.github.com/users/repeatedly/followers","following_url":"https://api.github.com/users/repeatedly/following{/other_user}","gists_url":"https://api.github.com/users/repeatedly/gists{/gist_id}","starred_url":"https://api.github.com/users/repeatedly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repeatedly/subscriptions","organizations_url":"https://api.github.com/users/repeatedly/orgs","repos_url":"https://api.github.com/users/repeatedly/repos","events_url":"https://api.github.com/users/repeatedly/events{/privacy}","received_events_url":"https://api.github.com/users/repeatedly/received_events","type":"User","site_admin":false}],"milestone":null,"comments":23,"created_at":"2016-07-28T10:26:42Z","updated_at":"2016-09-01T10:32:23Z","closed_at":null,"body":"After upgrading to td-agent 2.3.2-0 (fluentd **0.12.26**) I am seeing some servers crash each morning.\r\n\r\nIt appears to happen after the logroate each day.\r\n\r\n```\r\n$ cat /etc/logrotate.d/td-agent\r\n/var/log/td-agent/td-agent.log {\r\n  daily\r\n  rotate 30\r\n  compress\r\n  delaycompress\r\n  notifempty\r\n  create 640 td-agent td-agent\r\n  sharedscripts\r\n  postrotate\r\n    pid=/var/run/td-agent/td-agent.pid\r\n    test -s $pid && kill -USR1 \"$(cat $pid)\"\r\n  endscript\r\n}\r\n```\r\n\r\n```\r\n$ sudo grep SIGUSR1 /var/log/td-agent/td-agent.log.1\r\n2016-07-28 06:29:05 +0000 [debug]: fluent/supervisor.rb:408:block in install_supervisor_signal_handlers: fluentd supervisor process get SIGUSR1\r\n2016-07-28 06:29:05 +0000 [debug]: fluent/supervisor.rb:552:block in install_main_process_signal_handlers: fluentd main process get SIGUSR1\r\n```\r\n\r\n```\r\n$ sudo grep RuntimeError /var/log/td-agent/td-agent.log\r\n2016-07-28 06:29:56 +0000 [error]: plugin/in_forward.rb:107:rescue in run: unexpected error error=#<RuntimeError: can't add a new key into hash during iteration> error_class=RuntimeError\r\n```\r\n\r\nNote, there is no stack trace associated with the error.\r\n\r\nNothing special about the forward config:\r\n```\r\n<source>\r\n  type forward\r\n</source>\r\n```\r\n\r\nI have not been able to reproduce this by sending `USR1` myself."},"comment":{"url":"https://api.github.com/repos/fluent/fluentd/issues/comments/244040339","html_url":"https://github.com/fluent/fluentd/issues/1129#issuecomment-244040339","issue_url":"https://api.github.com/repos/fluent/fluentd/issues/1129","id":244040339,"user":{"login":"Yanson","id":6860163,"avatar_url":"https://avatars.githubusercontent.com/u/6860163?v=3","gravatar_id":"","url":"https://api.github.com/users/Yanson","html_url":"https://github.com/Yanson","followers_url":"https://api.github.com/users/Yanson/followers","following_url":"https://api.github.com/users/Yanson/following{/other_user}","gists_url":"https://api.github.com/users/Yanson/gists{/gist_id}","starred_url":"https://api.github.com/users/Yanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yanson/subscriptions","organizations_url":"https://api.github.com/users/Yanson/orgs","repos_url":"https://api.github.com/users/Yanson/repos","events_url":"https://api.github.com/users/Yanson/events{/privacy}","received_events_url":"https://api.github.com/users/Yanson/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T10:32:22Z","updated_at":"2016-09-01T10:32:22Z","body":"Sorry. This updated patch hasn't helped."}}
{"actor":{"display_login":"Yanson"}}