[Rspamd-Users] Error with Rspamd Proxy and keepalived
Emanuel Gonzalez
emanuel_gonzalez at live.com.ar
Thu Jan 10 10:45:02 UTC 2019
Hello.!! step to explain in detail my infrastructure.
I use the rspamd proxy service on two servers, both communicated through keepalived service, using a floating ip for high service availability.
Randomly rspamd does not detect this floating IP and it shuts off abruptly
I see this error:
2019-01-09 17:05:57 #18511(main) <4ed8ec>; main; rspamd_cld_handler: catch SIGCHLD signal, finding terminated workers
2019-01-09 17:05:57 #18511(main) <4ed8ec>; main; rspamd_cld_handler: rspamd_proxy process 19075 terminated abnormally by signal: Bus error but NOT created core file
2019-01-09 17:05:59 #19076(rspamd_proxy) <4ed8ec>; main; rspamd_fork_worker: starting rspamd_proxy process 19076 (0); listen on: 172.17.2.230:11332
2019-01-09 17:05:59 #19076(rspamd_proxy) <6e6f7y>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 172.17.113.92 from resolv.conf
2019-01-09 17:05:59 #19076(rspamd_proxy) <6e6f7y>; cfg; rspamd_dns_resolv_conf_on_server: parsed nameserver 172.17.0.1 from resolv.conf
2019-01-09 17:05:59 #19076(rspamd_proxy) <2f0dab>; proxy; proxy_accept_socket: accepted http connection from 172.17.110.183 port 48358
2019-01-09 17:05:59 #19076(rspamd_proxy) <7419cd>; proxy; proxy_accept_socket: accepted http connection from 172.17.110.165 port 59498
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_crash_sig_handler: caught fatal signal 7(Bus error), pid: 19076, trace:
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 0: 00007FE1D02F9733: __memcpy_ssse3()+0x983
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 1: 0000000000477013: rspamd_http_message_append_body()+0x73
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 2: 000000000047715E: rspamd_http_message_append_body()+0x1be
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 3: 0000000000CB2AB5: http_parser_execute()+0x1085
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 4: 000000000047BA16: rspamd_http_router_free()+0x4f6
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 5: 00007FE1D42F3A14: event_base_loop()+0x774
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 6: 0000000000454B7B: start_rspamd_proxy()+0x20b
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 7: 00000000004FE106: rspamd_fork_worker()+0x2d6
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 8: 0000000000450F06: lua_check_lua_worker()+0x8a6
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 9: 00007FE1D42F3A14: event_base_loop()+0x774
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 10: 0000000000443694: main()+0xae4
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 11: 00007FE1D01D7C05: __libc_start_main()+0xf5
2019-01-09 17:05:59 #19076(rspamd_proxy) rspamd_print_crash: 12: 000000000044468A: _start()+0x29
2019-01-09 17:05:59 #18511(main) <4ed8ec>; main; rspamd_cld_handler: catch SIGCHLD signal, finding terminated workers
2019-01-09 17:05:59 #18511(main) <4ed8ec>; main; rspamd_cld_handler: rspamd_proxy process 19076 terminated abnormally by signal: Bus error but NOT created core file
worker proxy config
milter = no;
bind_socket = 172.17.2.230:11332; ==> This is the floating IP
upstream {
local {
hosts = "localhost";
default = true;
}
scan {
hosts = "round-robin:172.17.2.106:11333:1,172.17.2.110:11333:1,172.17.2.114:11333:1,172.17.2.113:11333:1";
default = true;
}
}
any ideas.?
More information about the Users
mailing list