{"action":"created","issue":{"url":"https://api.github.com/repos/Graylog2/gelf-rb/issues/29","repository_url":"https://api.github.com/repos/Graylog2/gelf-rb","labels_url":"https://api.github.com/repos/Graylog2/gelf-rb/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/gelf-rb/issues/29/comments","events_url":"https://api.github.com/repos/Graylog2/gelf-rb/issues/29/events","html_url":"https://github.com/Graylog2/gelf-rb/issues/29","id":60634633,"number":29,"title":"Errno::EPERM: Operation not permitted - sendto(2)","user":{"login":"MGPalmer","id":300129,"avatar_url":"https://avatars.githubusercontent.com/u/300129?v=3","gravatar_id":"","url":"https://api.github.com/users/MGPalmer","html_url":"https://github.com/MGPalmer","followers_url":"https://api.github.com/users/MGPalmer/followers","following_url":"https://api.github.com/users/MGPalmer/following{/other_user}","gists_url":"https://api.github.com/users/MGPalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/MGPalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGPalmer/subscriptions","organizations_url":"https://api.github.com/users/MGPalmer/orgs","repos_url":"https://api.github.com/users/MGPalmer/repos","events_url":"https://api.github.com/users/MGPalmer/events{/privacy}","received_events_url":"https://api.github.com/users/MGPalmer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-11T10:01:15Z","updated_at":"2016-03-27T09:34:52Z","closed_at":"2016-03-26T17:13:49Z","body":"I'm getting this exception occasionally on our staging and production systems.\r\n\r\nFull backtrace:\r\n\r\n```\r\ngelf-1.4.0/lib/gelf/ruby_sender.rb:16→ send\r\ngelf-1.4.0/lib/gelf/ruby_sender.rb:16→ block in send_datagrams\r\ngelf-1.4.0/lib/gelf/ruby_sender.rb:15→ each\r\ngelf-1.4.0/lib/gelf/ruby_sender.rb:15→ send_datagrams\r\ngelf-1.4.0/lib/gelf/notifier.rb:143→ notify_with_level!\r\ngelf-1.4.0/lib/gelf/notifier.rb:131→ notify_with_level\r\ngelf-1.4.0/lib/gelf/logger.rb:40→ add\r\ngelf-1.4.0/lib/gelf/logger.rb:48→ info\r\n[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bundler/gems/mssngr-common-fc49a59faa0a/lib/mssngr/base/lib/daemons/taskd.rb:49→ out\r\n[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bundler/gems/mssngr-common-fc49a59faa0a/lib/mssngr/base/lib/daemons/taskd.rb:85→ block (2 levels) in <top (required)>\r\nforeverb-0.3.2/lib/forever/job.rb:12→ call\r\nforeverb-0.3.2/lib/forever/job.rb:12→ call\r\nforeverb-0.3.2/lib/forever/base.rb:378→ safe_call\r\nforeverb-0.3.2/lib/forever/base.rb:370→ job_call\r\nforeverb-0.3.2/lib/forever/base.rb:117→ block (3 levels) in initialize\r\n```\r\n\r\n\r\nThis is with gelf 1.4.0 and Rails 3.2.21\r\n\r\nThe error seems to occur not from the normal Rails HTTP operations but only from within two types of service processes (both of which load the full Rails environment, though). One is a delayed_job worker and the other is a foreverb task daemon. The former is forking the main process (I'm loading the gelf logger after the fork, though), and the latter is using threads - could that be connected ?\r\n\r\nAny help would be much appreciated, I can't find any definite info on what the low-level error means :/\r\n"},"comment":{"url":"https://api.github.com/repos/Graylog2/gelf-rb/issues/comments/202024456","html_url":"https://github.com/Graylog2/gelf-rb/issues/29#issuecomment-202024456","issue_url":"https://api.github.com/repos/Graylog2/gelf-rb/issues/29","id":202024456,"user":{"login":"MGPalmer","id":300129,"avatar_url":"https://avatars.githubusercontent.com/u/300129?v=3","gravatar_id":"","url":"https://api.github.com/users/MGPalmer","html_url":"https://github.com/MGPalmer","followers_url":"https://api.github.com/users/MGPalmer/followers","following_url":"https://api.github.com/users/MGPalmer/following{/other_user}","gists_url":"https://api.github.com/users/MGPalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/MGPalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGPalmer/subscriptions","organizations_url":"https://api.github.com/users/MGPalmer/orgs","repos_url":"https://api.github.com/users/MGPalmer/repos","events_url":"https://api.github.com/users/MGPalmer/events{/privacy}","received_events_url":"https://api.github.com/users/MGPalmer/received_events","type":"User","site_admin":false},"created_at":"2016-03-27T09:34:52Z","updated_at":"2016-03-27T09:34:52Z","body":"\\o/"}}