Skip site navigation (1)Skip section navigation (2)
Date:      31 Oct 2024 18:53:36 -0400
From:      "John Levine" <johnl@iecc.com>
To:        freebsd-questions@freebsd.org
Cc:        dale@dalescott.net
Subject:   Re: dma: could not pick up queue file
Message-ID:  <20241031225337.288E8A4F1F81@ary.qy>
In-Reply-To: <1c49d4a22aefd22541a526d387912eb3@dalescott.net>
References:  <685d00e3-bacb-45cd-a166-40c6a484347e@app.fastmail.com> <22042f18-4cbb-4f62-841b-fef4a7262899@app.fastmail.com> <1c49d4a22aefd22541a526d387912eb3@dalescott.net>

next in thread | previous in thread | raw e-mail | index | archive | help
It appears that Dale Scott <dale@dalescott.net> said:
>>> From time to time, this message appears in the logs. I don't know why.
>>> 
>>> 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
>>> 
>>> Why does this occur?

I took a look at the code and I think it's a race condition deleting a queue
file but I can't tell you where.

I use dma on a bunch of client systems and they never queue anything.
The queue file is created and deleted immediately as the mail goes out
to the smarthost. I could imagine that if you periodically run dma -q,
it could see a queue file which is then deleted by the time it tries
to do something with it.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20241031225337.288E8A4F1F81>