Score:0

syslog-ng freezes when reloading config changes in log msg size

ng flag

I'm having a weird case of syslog-ng freezing on some reloads and under some conditions.

syslog-ng version is ubuntu 20.04's default 3.25.1. It has to be something related to log_msg_size as this started to happen when it was reconfigured from log_msg_size(16384) to log_msg_size(65536) which, in fact, is its default value.

Once it was reconfigured the daemon was left in state Reloading configuration according to systemd, and stopped login at all. Also, it was not responding to TERM signal having to forcefully kill it. In this state any attempt to reload config got an error warning about an already existing config reloading.

If this was not oddly enough, killing the daemon, starting it with log_msg_size(16384) and then stopping it normally and reconfiguring it again to log_msg_size(65536) makes the reload work correctly until something happens and the reload start to hang the process in the described state.

Any clues of what I could be missing? I've tried to remove the option completely and let it get its own defaults, but it seems that still happens the same.

ng flag
I do not have enough time to investigate the issue and maybe the bug was already solved, but not in ubuntu's default package as it sounds quite similar, but not the same to https://github.com/syslog-ng/syslog-ng/pull/3075 Afaik that patch never reached ubntu's default 3.25.1.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.