Re: dma: could not pick up queue file
- In reply to: Dan Langille: "Re: dma: could not pick up queue file"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Nov 2024 17:32:00 UTC
On Sun, Nov 10, 2024, at 7:37 AM, Dan Langille wrote: > On Tue, Nov 5, 2024, at 3:35 PM, Daniel Tameling wrote: >> On Sun, Nov 03, 2024 at 08:58:21AM -0500, Dan Langille wrote: >>> >>> Based on that, I'll add this to /etc/periodic.conf: >>> >>> # disable queuerun_enable to avoid conflict with dma >>> daily_queuerun_enable="NO" >>> >>> That comment is just to remind me what it's for. >>> >>> Now it's just a matter of time. If there are no more incidents, I say you've solved it. Let's give it a few weeks. >>> >>> Thank you. Good job. :) >> >> Thanks. If something is running automatically that isn't started by >> cron, periodic is always a good candidate. >> >> Btw.: there still is a dma port and its pkg-message says: >> >> And you can disable some sendmail specific daily maintenance routines in your >> /etc/periodic.conf file: >> >> daily_clean_hoststat_enable="NO" >> daily_status_mail_rejects_enable="NO" >> daily_status_include_submit_mailq="NO" >> daily_submit_queuerun="NO" > > That is a good find. Perhaps that should be added to the FreeBSD man > page / docs for dma. For those following along at home, this is a good > way to get more involved with the FreeBSD project. > > I'll talk more about those below. > >> The last one almost looks like what you set. The man page says: >> >> daily_queuerun_enable >> (bool) Set to "YES" if you want to manually run the mail queue >> at least once a day. >> >> daily_submit_queuerun >> (bool) Set to "YES" if you also want to manually run the submit >> mail queue at least once a day when daily_queuerun_enable is >> set to "YES". >> >> So it looks like you found the parent of daily_submit_queuerun. >> Hopefully that fixes the issue. > > I came to the mailing list to report upon progress. > > Over the past 7 days, there has been one incident. That was on a host > which did not have any remediation - it did not have > daily_queuerun_enable="NO" set. > > Note that the error message in question was slightly different from > originally reported. The timing (around 0300 UTC, which is the time > daily periodic scripts are run) is right. > > Nov 10 03:01:37 dev-pgeu dma[55d33.377910848050][79105]: could not > acquire queue file: No such file or directory > > The original was: > > Oct 18 03:01:00 x8dtu-pg01 dma[dma][92883]: could not pick up queue > file: > `/var/spool/dma/Q5993d.326f7fa48050'/`/var/spool/dma/M5993d.326f7fa48050': > No such file or directory > > I have since added the four directives you mention to that host and > I'll spread that around to other hosts as well. > > Thank you. The problem has not occurred since this change. -- Dan Langille dan@langille.org