searchd shutting down at 12:00am after watchdog error

I’m seeing searchd restart at 7 seconds after midnight every night in my logs, and then it’s promptly shut down by watchdog which reports an “error 4”.

I’m running 3.5.4 on Ubuntu 20.0.4 LTS.

Can anyone help? For now I have a cron job restarting searchd at 12:01am, but I’d like to pinpoint the cause of this.

Here’s an excerpt from the searchd.log.

[Thu Dec 31 00:00:07.470 2020] [317849] watchdog: main process 317850 forked ok
[Thu Dec 31 00:00:07.472 2020] [317850] starting daemon version ‘3.5.4 13f8d08d@
201211 release’ …
[Thu Dec 31 00:00:07.472 2020] [317850] listening on UNIX socket /var/www/person
ae/shared/tmp/sockets/production.sphinx.sock
[Thu Dec 31 00:00:07.546 2020] [317850] WARNING: failed to get MAC address, usin
g random number 1445749771
[Thu Dec 31 00:00:07.548 2020] [317850] accepting connections
[Thu Dec 31 00:00:07.548 2020] [317851] prereading 1 indexes
[Thu Dec 31 00:00:07.548 2020] [317851] prereaded 1 indexes in 0.000 sec
[Thu Dec 31 00:00:07.903 2020] [317849] watchdog: got error 4, Interrupted syste
m call
[Thu Dec 31 00:00:07.904 2020] [317850] caught SIGTERM, shutting down

from the message in log searchd got shut with usual TERM message, ie you or somebody stops daemon service or issues searchd --stop command