Hello,
This happened to me twice.
OpenBSD 7.3 with syspatches.
I have a pair of carp/pfsync/pf/relayd firewall-load balancers with many
redirects (only) on them.
I wanted to do maintenance of some hosts bellow load balancers.
After a while relayd crashed on Master firewall only.
This happened to me again the last time I did it, again only on the Master.
Error message:
pfe: check_table: cannot get table stats: No such file or directory
Some of the redirects are for dovecot director.
I use parent to skip same tests happening twice.
table <dir> { dir1 retry 2, dir2 retry 2 }
table <dir_> { dir1 parent 9 retry 2, dir2 parent 10 retry 2 }
table <smtp> { imap1 retry 2, imap2 retry 2 }
the first redirect (dir-imap) uses <dir> table and rest of redirects use <dir_>
I did not disable redirects, only hosts.
/var/log/daemon:
# relayctl host dis imap1
# relayctl host dis dir1
Jun 30 01:40:02 ll1 relayd[61766]: table imap-smtp: 0 added, 1 deleted, 0
changed, 0 killed
Jun 30 01:40:05 ll1 relayd[61766]: table dir-imap: 0 added, 1 deleted, 0
changed, 0 killed
Jun 30 01:40:05 ll1 relayd[61766]: table dir-pop: 0 added, 1 deleted, 0
changed, 0 killed
Jun 30 01:40:05 ll1 relayd[61766]: table dir-lmtp: 0 added, 1 deleted, 0
changed, 0 killed
Jun 30 01:40:05 ll1 relayd[61766]: table dir-sieve: 0 added, 1 deleted, 0
changed, 0 killed
# relayctl host dis imap2
# relayctl host dis dir2
Jun 30 01:45:59 ll1 relayd[52103]: incremented the demote state of group
'0relay'
Jun 30 01:46:01 ll1 relayd[52103]: incremented the demote state of group
'0relay'
Jun 30 01:46:01 ll1 relayd[52103]: incremented the demote state of group
'0relay'
Jun 30 01:46:01 ll1 relayd[52103]: incremented the demote state of group
'0relay'
Jun 30 01:46:01 ll1 relayd[52103]: incremented the demote state of group
'0relay'
same logs on Backup firewall so far, but after a minute or so:
Jun 30 01:47:46 ll1 relayd[61766]: pfe: check_table: cannot get table stats: No
such file or directory
Jun 30 01:47:46 ll1 relayd[94434]: ca exiting, pid 94434
Jun 30 01:47:46 ll1 relayd[83189]: ca exiting, pid 83189
Jun 30 01:47:46 ll1 relayd[9023]: ca exiting, pid 9023
Jun 30 01:47:46 ll1 relayd[89820]: ca exiting, pid 89820
Jun 30 01:47:46 ll1 relayd[94676]: ca exiting, pid 94676
Jun 30 01:47:46 ll1 relayd[1820]: hce exiting, pid 1820
Jun 30 01:47:46 ll1 relayd[52103]: lost child: pid 61766 exited abnormally
Jun 30 01:47:46 ll1 relayd[5784]: relay exiting, pid 5784
Jun 30 01:47:46 ll1 relayd[13717]: relay exiting, pid 13717
Jun 30 01:47:46 ll1 relayd[56752]: relay exiting, pid 56752
Jun 30 01:47:46 ll1 relayd[66385]: relay exiting, pid 66385
Jun 30 01:47:46 ll1 relayd[15228]: relay exiting, pid 15228
Jun 30 01:47:46 ll1 relayd[52103]: decremented the demote state of group
'0relay'
Jun 30 01:47:46 ll1 relayd[52103]: parent terminating, pid 52103
/var/log/messages:
Jun 30 01:47:46 ll1 relayd[61766]: pfe: check_table: cannot get table stats: No
such file or directory
Jun 30 01:47:46 ll1 relayd[52103]: lost child: pid 61766 exited abnormally
Giannis