Rspamd seems to crash constantly

Started by seed, April 01, 2021, 07:05:33 PM

Previous topic - Next topic
It looks like RSPAMD is constantly crashing (see attached screenshot)
in the rspamd logs i find this:

2021-04-01 19:00:15 #64225(normal) <68ef39>; main; rspamd_worker_set_limits: use system max file descriptors limit: 917KiB cur and 917KiB max
2021-04-01 19:00:15 #64225(normal) <68ef39>; main; rspamd_worker_set_limits: use system max core size limit: 7.99EiB cur and 7.99EiB max
2021-04-01 19:00:15 #64225(normal) <68ef39>; main; rspamd_handle_child_fork: starting normal process 64225 (1); listen on: /var/run/rspamd/normal.sock mode=0666 owner=rspamd
2021-04-01 19:00:15 #64225(normal) glib; rspamd_glib_printerr_function: **\x0AERROR:/usr/obj/usr/ports/mail/rspamd/work/rspamd-2.7/src/libserver/dns.c:441:rspamd_dns_server_init: assertion failed: (serv != NULL)\x0A
2021-04-01 19:00:15 #64225(normal) rspamd_crash_sig_handler: caught fatal signal 6(Abort trap), pid: 64225, trace:
2021-04-01 19:00:15 #64225(normal) rspamd_crash_sig_handler: please see Rspamd FAQ to learn how to dump core files and how to fill a bug report
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_fork_worker: prepare to fork process normal (0); listen on: /var/run/rspamd/normal.sock mode=0666 owner=rspamd
2021-04-01 19:00:15 #31782(rspamd_proxy) <68ef39>; main; rspamd_worker_set_limits: use system max file descriptors limit: 917KiB cur and 917KiB max
2021-04-01 19:00:15 #31782(rspamd_proxy) <68ef39>; main; rspamd_worker_set_limits: use system max core size limit: 7.99EiB cur and 7.99EiB max
2021-04-01 19:00:15 #31782(rspamd_proxy) <68ef39>; main; rspamd_handle_child_fork: starting rspamd_proxy process 31782 (0); listen on: /var/run/rspamd/milter.sock mode=0666 owner=rspamd
2021-04-01 19:00:15 #31782(rspamd_proxy) glib; rspamd_glib_printerr_function: **\x0AERROR:/usr/obj/usr/ports/mail/rspamd/work/rspamd-2.7/src/libserver/dns.c:441:rspamd_dns_server_init: assertion failed: (serv != NULL)\x0A
2021-04-01 19:00:15 #31782(rspamd_proxy) rspamd_crash_sig_handler: caught fatal signal 6(Abort trap), pid: 31782, trace:
2021-04-01 19:00:15 #31782(rspamd_proxy) rspamd_crash_sig_handler: please see Rspamd FAQ to learn how to dump core files and how to fill a bug report
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_control_broadcast_cmd: cannot write command 9(408) to the worker 31782(rspamd_proxy), fd: 16: Connection reset by peer
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_control_broadcast_cmd: cannot write command 9(408) to the worker 83360(normal), fd: 4: Connection reset by peer
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_check_termination_clause: normal process 64225 terminated abnormally with exit code 0 by signal: Abort trap but NOT created core file (throttled=no); core file limits: 9223372036854775807 current, 9223372036854775807 max
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_cld_handler: respawn process normal in lieu of terminated process with pid 64225
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_control_broadcast_cmd: cannot write command 9(408) to the worker 31782(rspamd_proxy), fd: 16: Destination address required
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_check_termination_clause: normal process 83360 terminated abnormally with exit code 0 by signal: Abort trap but NOT created core file (throttled=no); core file limits: 9223372036854775807 current, 9223372036854775807 max
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_cld_handler: respawn process normal in lieu of terminated process with pid 83360
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_fork_worker: prepare to fork process normal (2); listen on: /var/run/rspamd/normal.sock mode=0666 owner=rspamd
2021-04-01 19:00:15 #18990(normal) <68ef39>; main; rspamd_worker_set_limits: use system max file descriptors limit: 917KiB cur and 917KiB max
2021-04-01 19:00:15 #18990(normal) <68ef39>; main; rspamd_worker_set_limits: use system max core size limit: 7.99EiB cur and 7.99EiB max
2021-04-01 19:00:15 #18990(normal) <68ef39>; main; rspamd_handle_child_fork: starting normal process 18990 (0); listen on: /var/run/rspamd/normal.sock mode=0666 owner=rspamd
2021-04-01 19:00:15 #18990(normal) glib; rspamd_glib_printerr_function: **\x0AERROR:/usr/obj/usr/ports/mail/rspamd/work/rspamd-2.7/src/libserver/dns.c:441:rspamd_dns_server_init: assertion failed: (serv != NULL)\x0A
2021-04-01 19:00:15 #18990(normal) rspamd_crash_sig_handler: caught fatal signal 6(Abort trap), pid: 18990, trace:
2021-04-01 19:00:15 #18990(normal) rspamd_crash_sig_handler: please see Rspamd FAQ to learn how to dump core files and how to fill a bug report
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_fork_worker: prepare to fork process controller (0); listen on: localhost:11334
2021-04-01 19:00:15 #6906(normal) <68ef39>; main; rspamd_worker_set_limits: use system max file descriptors limit: 917KiB cur and 917KiB max
2021-04-01 19:00:15 #6906(normal) <68ef39>; main; rspamd_worker_set_limits: use system max core size limit: 7.99EiB cur and 7.99EiB max
2021-04-01 19:00:15 #6906(normal) <68ef39>; main; rspamd_handle_child_fork: starting normal process 6906 (2); listen on: /var/run/rspamd/normal.sock mode=0666 owner=rspamd
2021-04-01 19:00:15 #6906(normal) glib; rspamd_glib_printerr_function: **\x0AERROR:/usr/obj/usr/ports/mail/rspamd/work/rspamd-2.7/src/libserver/dns.c:441:rspamd_dns_server_init: assertion failed: (serv != NULL)\x0A
2021-04-01 19:00:15 #6906(normal) rspamd_crash_sig_handler: caught fatal signal 6(Abort trap), pid: 6906, trace:
2021-04-01 19:00:15 #6906(normal) rspamd_crash_sig_handler: please see Rspamd FAQ to learn how to dump core files and how to fill a bug report
2021-04-01 19:00:15 #29117(main) rspamd_srv_handler: cannot read from worker's srv pipe: Connection reset by peer
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_control_broadcast_cmd: cannot write command 9(408) to the worker 31782(rspamd_proxy), fd: 16: Destination address required
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_control_broadcast_cmd: cannot write command 9(408) to the worker 6906(normal), fd: 4: Connection reset by peer
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_check_termination_clause: normal process 18990 terminated abnormally with exit code 0 by signal: Abort trap but NOT created core file (throttled=no); core file limits: 9223372036854775807 current, 9223372036854775807 max
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_cld_handler: respawn process normal in lieu of terminated process with pid 18990
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_control_broadcast_cmd: cannot write command 9(408) to the worker 6906(normal), fd: 4: Destination address required
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_check_termination_clause: rspamd_proxy process 31782 terminated abnormally with exit code 0 by signal: Abort trap but NOT created core file (throttled=no); core file limits: 9223372036854775807 current, 9223372036854775807 max
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_cld_handler: respawn process rspamd_proxy in lieu of terminated process with pid 31782
2021-04-01 19:00:15 #29117(main) rspamd_srv_handler: cannot read from worker's srv pipe: Connection reset by peer
2021-04-01 19:00:15 #16884(controller) <68ef39>; main; rspamd_worker_set_limits: use system max file descriptors limit: 917KiB cur and 917KiB max
2021-04-01 19:00:15 #16884(controller) <68ef39>; main; rspamd_worker_set_limits: use system max core size limit: 7.99EiB cur and 7.99EiB max
2021-04-01 19:00:15 #16884(controller) <68ef39>; main; rspamd_handle_child_fork: starting controller process 16884 (0); listen on: localhost:11334
2021-04-01 19:00:15 #16884(controller) <66tmdk>; controller; rspamd_controller_password_sane: your normal password is not encrypted, we strongly recommend to replace it with the encrypted one
2021-04-01 19:00:15 #16884(controller) <66tmdk>; controller; rspamd_controller_password_sane: enable password is not set, so you should filter controller availability by using of firewall or `secure_ip` option
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_check_termination_clause: normal process 6906 terminated abnormally with exit code 0 by signal: Abort trap but NOT created core file (throttled=no); core file limits: 9223372036854775807 current, 9223372036854775807 max
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_cld_handler: respawn process normal in lieu of terminated process with pid 6906
2021-04-01 19:00:15 #16884(controller) glib; rspamd_glib_printerr_function: **\x0AERROR:/usr/obj/usr/ports/mail/rspamd/work/rspamd-2.7/src/libserver/dns.c:441:rspamd_dns_server_init: assertion failed: (serv != NULL)\x0A
2021-04-01 19:00:15 #16884(controller) rspamd_crash_sig_handler: caught fatal signal 6(Abort trap), pid: 16884, trace:
2021-04-01 19:00:15 #16884(controller) rspamd_crash_sig_handler: please see Rspamd FAQ to learn how to dump core files and how to fill a bug report
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_check_termination_clause: controller process 16884 terminated abnormally with exit code 0 by signal: Abort trap but NOT created core file (throttled=no); core file limits: 9223372036854775807 current, 9223372036854775807 max
2021-04-01 19:00:15 #29117(main) <68ef39>; main; rspamd_cld_handler: respawn process controller in lieu of terminated process with pid 16884


System info:

OPNsense 21.1.4-amd64
FreeBSD 12.1-RELEASE-p15-HBSD
OpenSSL 1.1.1k 25 Mar 2021
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use