I am on Bionic (18.04.4) and I see that my jobs are stuck in the queue and never run!
[root@myhost2: log]# atq
3267 Tue Jun 16 03:34:00 2020 = root
697 Mon Jun 15 19:36:00 2020 = root
3268 Tue Jun 16 03:34:00 2020 = root
3265 Tue Jun 16 03:31:00 2020 = root
7566 Tue Jun 16 22:17:00 2020 a root
7563 Tue Jun 16 22:16:00 2020 a root
697 Mon Jun 15 19:36:00 2020 a root
[root@myhost2: log]# service atd status
* atd.service - Deferred execution scheduler
Loaded: loaded (/lib/systemd/system/atd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-06-16 14:03:35 PDT; 8h ago
Docs: man:atd(8)
Main PID: 731 (atd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/atd.service
`-731 /usr/sbin/atd -f
Jun 16 22:20:21 myhost2 atd[19018]: File a002b90194efbc is in wrong format - aborting
Jun 16 22:20:21 myhost2 atd[19019]: File a002b90194efbc is in wrong format - aborting
Jun 16 22:20:21 myhost2 atd[19020]: File a002b90194efbc is in wrong format - aborting
Jun 16 22:20:21 myhost2 atd[19021]: File a002b90194efbc is in wrong format - aborting
The file being pointed to (a002b90194efbc
) is empty!
If I delete the files in spool and reboot it becomes ok, but not sure when it might go back to the same bad state!
How do I make sure to never get into this stuck state!? Or, if stuck, any way to auto recover?
-- Thanks
0 Answers