BIRD Crashes

Ondrej Zajicek santiago at crfreenet.org
Fri Aug 19 01:48:59 CEST 2022


On Thu, Aug 18, 2022 at 04:57:44PM +0100, Ian Chilton wrote:
> Hi,
> 
> After looking in to this, I did:
> 
> ulimit -S -c unlimited
> and installed the systemd-coredump package.
> 
> ...which was supposed to dump a core file if a process crashed. I tested this by killing a sleep command from the shell with kill -s 6 and it worked.

Hi

This does not work, because ulimit does not set system-wide limits, but
limits of the current shell (and it subprocesses). That is why it worked
for sleep command.

But if you run BIRD from systemd, then systemctl command to start/restart
BIRD just say systemd to start it as a child of init (systemd), not as a
child of the current shell. So it will not inherit ulimit of the current
shell. You likely need something like modifying BIRD unit to change
ulimit.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list