atd creating processes with low priority

0

I'm queuing up some long-running PHP processes in atd to be run at a later time.

However, when atd fires up the process for the task, it keeps creating the tasks as low priority.

I come back to find my task has been paused by the system half way through to make way for more important processes.

How do I change the priority of the processes that atd creates?

Jamesking56

Posted 2017-06-09T10:05:08.670

Reputation: 103

Have you considerd atd's -l option, which is likely pausing your jobs due to system load? Increase the system load before the jobs are paused, rather than adjusting the job priorities. Most of the time, finding good priorities is not as easy as it seems. – Run CMD – 2017-06-09T10:09:41.250

How do I set this? In centos, it is running as a service. seems to be running as atd -f – Jamesking56 – 2017-06-09T10:11:46.780

I think your question has an answer here: contos - How and where is the at command configured?

– Run CMD – 2017-06-09T10:18:51.627

No answers