{"action":"created","issue":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/97","repository_url":"https://api.github.com/repos/vstakhov/rspamd","labels_url":"https://api.github.com/repos/vstakhov/rspamd/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/vstakhov/rspamd/issues/97/comments","events_url":"https://api.github.com/repos/vstakhov/rspamd/issues/97/events","html_url":"https://github.com/vstakhov/rspamd/issues/97","id":43321198,"number":97,"title":"rspamd exits on signal 11 when catch HUP","user":{"login":"moisseev","id":2275981,"avatar_url":"https://avatars.githubusercontent.com/u/2275981?v=3","gravatar_id":"","url":"https://api.github.com/users/moisseev","html_url":"https://github.com/moisseev","followers_url":"https://api.github.com/users/moisseev/followers","following_url":"https://api.github.com/users/moisseev/following{/other_user}","gists_url":"https://api.github.com/users/moisseev/gists{/gist_id}","starred_url":"https://api.github.com/users/moisseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moisseev/subscriptions","organizations_url":"https://api.github.com/users/moisseev/orgs","repos_url":"https://api.github.com/users/moisseev/repos","events_url":"https://api.github.com/users/moisseev/events{/privacy}","received_events_url":"https://api.github.com/users/moisseev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-09-20T22:20:45Z","updated_at":"2016-04-21T08:48:55Z","closed_at":"2016-04-21T08:48:55Z","body":"Rspamd exits on signal 11 on `service rspamd reload` or when logrotate is run.\r\n\r\n```\r\n# uname -rsm\r\nFreeBSD 8.4-RELEASE-p10 i386\r\n\r\n# pkg info -E rspamd\r\nrspamd-0.7.0_1\r\n```\r\n\r\nmessages\r\n```\r\nSep 21 02:00:45 mx kernel: pid 87137 (rspamd-0.7.0), uid 65534: exited on signal 11\r\n```\r\n\r\n\r\nrspamd.log\r\n```\r\n2014-09-21 02:00:45 #87136(main) print_signals_info: got signal: 'Hangup: 1'; received from pid: 77692; uid: 0\r\n2014-09-21 02:00:45 #87136(main) reopen_log_priv: log file reopened\r\n2014-09-21 02:00:45 #87136(main) main: rspamd 0.7.0 is restarting\r\n2014-09-21 02:00:45 #87136(main) kill_old_workers: send signal to worker 87138\r\n2014-09-21 02:00:45 #87136(main) kill_old_workers: send signal to worker 87139\r\n2014-09-21 02:00:45 #87136(main) kill_old_workers: send signal to worker 87140\r\n2014-09-21 02:00:45 #87139(normal) worker_sigusr2_handler: worker's shutdown is pending in 10 sec\r\n2014-09-21 02:00:45 #87138(controller) worker_sigusr2_handler: worker's shutdown is pending in 10 sec\r\n2014-09-21 02:00:45 #87140(normal) worker_sigusr2_handler: worker's shutdown is pending in 10 sec\r\n2014-09-21 02:00:45 #87137(main) rspamd_rcl_statfile_handler: statfile BAYES_HAM has no explicit 'spam' setting, trying to guess by symbol\r\n2014-09-21 02:00:45 #87137(main) rspamd_rcl_statfile_handler: guessed that statfile with symbol \r\nBAYES_HAM is ham\r\n2014-09-21 02:00:45 #87137(main) rspamd_rcl_statfile_handler: statfile BAYES_SPAM has no explicit 'spam' setting, trying to guess by symbol\r\n2014-09-21 02:00:45 #87137(main) rspamd_rcl_statfile_handler: guessed that statfile with symbol BAYES_SPAM is spam\r\n```\r\n\r\n\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4512819-rspamd-exits-on-signal-11-when-catch-hup?utm_campaign=plugin&utm_content=tracker%2F320726&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F320726&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/comments/212816965","html_url":"https://github.com/vstakhov/rspamd/issues/97#issuecomment-212816965","issue_url":"https://api.github.com/repos/vstakhov/rspamd/issues/97","id":212816965,"user":{"login":"moisseev","id":2275981,"avatar_url":"https://avatars.githubusercontent.com/u/2275981?v=3","gravatar_id":"","url":"https://api.github.com/users/moisseev","html_url":"https://github.com/moisseev","followers_url":"https://api.github.com/users/moisseev/followers","following_url":"https://api.github.com/users/moisseev/following{/other_user}","gists_url":"https://api.github.com/users/moisseev/gists{/gist_id}","starred_url":"https://api.github.com/users/moisseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moisseev/subscriptions","organizations_url":"https://api.github.com/users/moisseev/orgs","repos_url":"https://api.github.com/users/moisseev/repos","events_url":"https://api.github.com/users/moisseev/events{/privacy}","received_events_url":"https://api.github.com/users/moisseev/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T08:48:55Z","updated_at":"2016-04-21T08:48:55Z","body":"The `reload` command has been removed from rc script at last. Thanks!"}}