Date: Fri, 01 Nov 2024 12:31:39 -0400 From: "Dan Langille" <dan@langille.org> To: "John Levine" <johnl@iecc.com>, "RW via freebsd-questions" <freebsd-questions@freebsd.org> Cc: dale@dalescott.net Subject: Re: dma: could not pick up queue file Message-ID: <e8f0f723-3aea-4f89-8f8f-f40def956d3c@app.fastmail.com> In-Reply-To: <382f9b53-0d5e-0fd3-5d9f-9d1a8954dd5b@iecc.com> References: <685d00e3-bacb-45cd-a166-40c6a484347e@app.fastmail.com> <22042f18-4cbb-4f62-841b-fef4a7262899@app.fastmail.com> <1c49d4a22aefd22541a526d387912eb3@dalescott.net> <20241031225337.288E8A4F1F81@ary.qy> <c3f2a459-5d9a-4ddf-acaf-9677bc252c5e@app.fastmail.com> <382f9b53-0d5e-0fd3-5d9f-9d1a8954dd5b@iecc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 1, 2024, at 9:23 AM, John R. Levine wrote: > On Fri, 1 Nov 2024, Dan Langille wrote: >> This event occurred today. These logs are slightly amended to obscure host names and email and IP addresses. >> >> Nov 1 00:00:10 wikis newsyslog[46335]: logfile turned over >> Nov 1 03:05:42 wikis dma[46d60][90243]: new mail from user=root uid=26 envelope_from=<root@wikis.[redacted]> >> Nov 1 03:05:42 wikis dma[dma][90258]: could not pick up queue file: `/var/spool/dma/Q46d60.432a50848050'/`/var/spool/dma/M46d60.432a50848050': No such file or directory >> Nov 1 03:05:42 wikis dma[46d60][90243]: mail to=<dan@example.org> queued as 46d60.432a50848050 >> Nov 1 03:05:42 wikis dma[46d60.432a50848050][90243]: <dan@example.org> trying delivery >> Nov 1 03:05:42 wikis dma[46d60.432a50848050][90269]: using smarthost (tallboy.[redacted]:25) >> Nov 1 03:05:42 wikis dma[46d60.432a50848050][90269]: trying remote delivery to tallboy.[redacted] [10.0.0.1] pref 0 >> Nov 1 03:05:42 wikis dma[46d60.432a50848050][90269]: <dan@example.org> delivery successful >> Nov 1 03:46:21 wikis dma[46d47][96425]: new mail from user=root uid=26 envelope_from=<root@wikis.[redacted]> > > Look again. The failure was PID 90258 which I assume is the daemon, not > 90243 which is the program sending the message. This suggests it is > indeed a harmless race condition. > > In my experience, the initial delivery always succeeds and it never > queues, so running the queue daemon once a day just in case should be > plenty. Is this queue daemon sitting around waiting to do something? Where did it come from? [16:30 wikis dvl ~] % sudo ps auwwx | grep dma dvl 66535 0.0 0.1 12808 2376 1 S+J 16:30 0:00.00 grep dma It's not there. So where did it come from? -- Dan Langille dan@langille.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e8f0f723-3aea-4f89-8f8f-f40def956d3c>