{"action":"created","issue":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/394","labels_url":"https://api.github.com/repos/vstakhov/rspamd/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/vstakhov/rspamd/issues/394/comments","events_url":"https://api.github.com/repos/vstakhov/rspamd/issues/394/events","html_url":"https://github.com/vstakhov/rspamd/issues/394","id":110206279,"number":394,"title":"rspamd exits on signal 11","user":{"login":"rmx-it","id":11737548,"avatar_url":"https://avatars.githubusercontent.com/u/11737548?v=3","gravatar_id":"","url":"https://api.github.com/users/rmx-it","html_url":"https://github.com/rmx-it","followers_url":"https://api.github.com/users/rmx-it/followers","following_url":"https://api.github.com/users/rmx-it/following{/other_user}","gists_url":"https://api.github.com/users/rmx-it/gists{/gist_id}","starred_url":"https://api.github.com/users/rmx-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmx-it/subscriptions","organizations_url":"https://api.github.com/users/rmx-it/orgs","repos_url":"https://api.github.com/users/rmx-it/repos","events_url":"https://api.github.com/users/rmx-it/events{/privacy}","received_events_url":"https://api.github.com/users/rmx-it/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-07T11:38:04Z","updated_at":"2015-10-07T12:06:12Z","closed_at":null,"body":"Hi,\r\nafter upgrading to rspamd 1.0.4 under FreeBSD 10.2 I get tons of:\r\n...\r\nOct  7 11:39:59 mail kernel: pid 58410 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:41:27 mail kernel: pid 58580 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:43:07 mail kernel: pid 58673 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:43:14 mail kernel: pid 58697 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:49:32 mail kernel: pid 58683 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:50:09 mail kernel: pid 58699 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:50:30 mail kernel: pid 58784 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:53:54 mail kernel: pid 58787 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:58:12 mail kernel: pid 58773 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 11:59:22 mail kernel: pid 58813 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 12:18:37 mail kernel: pid 58873 (rspamd-1.0.4), uid 65534: exited on signal 11\r\nOct  7 12:59:25 mail kernel: pid 58864 (rspamd-1.0.4), uid 65534: exited on signal 11\r\n...\r\n\r\nI'm using postfix <-> rmilter <-> rspamd...\r\n\r\nTimely it could relate to the followin maillog entries (slightly scrambled):\r\n...\r\n12:59:25\r\nOct  7 12:59:25 mail postfix/smtpd[59355]: ...\r\nOct  7 12:59:25 mail postfix/smtpd[59347]: connect from unknown[...]\r\nOct  7 12:59:25 mail postfix/cleanup[59401]: 013913058: message-id=<...>\r\nOct  7 12:59:25 mail rmilter[845]: mlfi_eom: 013913058: tempfile=/tmp/msg.vOx7CkJl, size=3356\r\nOct  7 12:59:25 mail rmilter[845]: clamscan: scan 0.043852, localhost, /tmp/msg.vOx7CkJl\r\nOct  7 12:59:25 mail rmilter[845]: rate_check: address is whitelisted, skipping checks\r\nOct  7 12:59:25 mail postfix/qmgr[18404]: 013913058: from=<...>, size=3530, nrcpt=1 (queue active)\r\nOct  7 12:59:25 mail dovecot: lmtp(59403): Connect from local\r\nOct  7 12:59:25 mail dovecot: lmtp(...): /...: msgid=<1...>: saved mail to INBOX\r\nOct  7 12:59:25 mail postfix/lmtp[59402]: 013913058: to=<...>, relay=...[/var/run/dovecot/lmtp], delay=0.45,\r\n delays=0.39/0.01/0.02/0.02, dsn=2.0.0, status=sent (250 2.0.0 <...> /.../g Saved)\r\nOct  7 12:59:25 mail dovecot: lmtp(59403): Disconnect from local: Successful quit\r\nOct  7 12:59:25 mail postfix/qmgr[18404]: 013913058: removed\r\nOct  7 12:59:25 mail postfix/smtpd[59355]: disconnect from ...[...]\r\n\r\n13:24:22\r\nOct  7 13:24:22 mail rmilter[845]: mlfi_eom: C696C3062: tempfile=/tmp/msg.O54T95rP, size=4745\r\nOct  7 13:24:22 mail rmilter[845]: clamscan: scan 0.033476, localhost, /tmp/msg.O54T95rP\r\nOct  7 13:24:22 mail rmilter[845]: rate_check: address is whitelisted, skipping checks\r\nOct  7 13:24:22 mail postfix/qmgr[18404]: C696C3062: from=<...>, size=4926, nrcpt=1 (queue active)\r\nOct  7 13:24:22 mail dovecot: lmtp(59670): Connect from local\r\nOct  7 13:24:22 mail dovecot: lmtp(...): .../g: msgid=<...>: saved mail to INBOX\r\nOct  7 13:24:22 mail postfix/lmtp[59669]: C696C3062: to=<...>, relay=...[/var/run/dovecot/lmtp], delay=0.7,\r\ndelays=0.65/0.01/0.02/0.02, dsn=2.0.0, status=sent (250 2.0.0 <...> .../g Saved)\r\nOct  7 13:24:22 mail dovecot: lmtp(59670): Disconnect from local: Successful quit\r\nOct  7 13:24:22 mail postfix/qmgr[18404]: C696C3062: removed\r\nOct  7 13:24:22 mail postfix/smtpd[59667]: disconnect from ...[...]\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/27227369-rspamd-exits-on-signal-11?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/146177065","html_url":"https://github.com/vstakhov/rspamd/issues/394#issuecomment-146177065","issue_url":"https://api.github.com/repos/vstakhov/rspamd/issues/394","id":146177065,"user":{"login":"vstakhov","id":487344,"avatar_url":"https://avatars.githubusercontent.com/u/487344?v=3","gravatar_id":"","url":"https://api.github.com/users/vstakhov","html_url":"https://github.com/vstakhov","followers_url":"https://api.github.com/users/vstakhov/followers","following_url":"https://api.github.com/users/vstakhov/following{/other_user}","gists_url":"https://api.github.com/users/vstakhov/gists{/gist_id}","starred_url":"https://api.github.com/users/vstakhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vstakhov/subscriptions","organizations_url":"https://api.github.com/users/vstakhov/orgs","repos_url":"https://api.github.com/users/vstakhov/repos","events_url":"https://api.github.com/users/vstakhov/events{/privacy}","received_events_url":"https://api.github.com/users/vstakhov/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T12:06:12Z","updated_at":"2015-10-07T12:06:12Z","body":"No ideas, can you obtain at least one core file? You need to setup the following sysctl's:\r\n\r\n~~~\r\nkern.corefile: /tmp/%N.core\r\nkern.coredump: 1\r\nkern.sugid_coredump: 1\r\n~~~\r\n\r\nSet `ulimit -c unlimited`, restart rspamd and then check /tmp/rspamd.core: \r\n\r\n~~~\r\n# gdb /usr/local/bin/rspamd -c /tmp/core\r\n...\r\n(gdb) bt full\r\n~~~\r\n\r\nAnd show me the results."}}