Is there a log where I can see what actions queueprocd is taking?
Is there a log where I can see what actions queueprocd is taking?
Check out the logs under
/var/cpanel/updatelogs/
I don't believe those logs contain information about queueprocd actions. Based on the contents of the log files I found there, those logs appear to detail output from the last upcp cron.
The task queue is in /var/cpanel/taskqueue. Any task that queueprocd has queued will appear in one of the yaml files there.
Kenneth
Product Manager
cPanel, Inc.
Thanks cpanelkenneth. Is there any information on what exactly I'm looking at?
/var/cpanel/taskqueue/servers_queue.yaml
/var/cpanel/taskqueue/servers_sched.yamlCode:--- TaskQueue --- 3 --- def_child_to: 3600 def_task_to: 60 max_running: 1 max_task_to: 300 nextid: 2 processing_queue: [] waiting_queue: []
I'm guessing the empty brackets means that there are currently no waiting processes in queue. But I'd appreciate some details on the variables used.Code:--- TaskScheduler --- 2 --- nextid: 1 waiting_queue: []
Also, does queueprocd still only handle restarts required while saving Tweak Settings? Or does it now handle restarts for other actions?
Is there a way to turn off queueprocd altogether?
Anything waiting to be processed would be in the waiting_queue section.
The variables that end in _to are timeout values.
More thorough documentation can be obtained via the following perldoc commands:
The yaml files are not intended for editing.Code:perldoc Cpanel::TaskQueue perldoc Cpanel::TaskQueue::Task perldoc Cpanel::TaskQueue::Processor
It is not recommended to disable queueprocd. It will be used more and more in the product. However for those that dislike it you can currently do the following to disable the service:
In cPanel 11.25.0 I believe queuprocd handles:Code:touch /etc/queueprocddisable
1. Apache restarts triggered by saving Tweak Settings
2. Calls to process stats/logs which are triggered by removing domains
Kenneth
Product Manager
cPanel, Inc.