Re: dma: could not pick up queue file
- Reply: Dan Langille: "Re: dma: could not pick up queue file"
- In reply to: Dale Scott : "Re: dma: could not pick up queue file"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Oct 2024 22:53:36 UTC
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.