Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    192

    Default queueprocd log

    Is there a log where I can see what actions queueprocd is taking?

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    Check out the logs under

    /var/cpanel/updatelogs/

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    192

    Default

    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.

  4. #4
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    192

    Default

    Thanks cpanelkenneth. Is there any information on what exactly I'm looking at?

    /var/cpanel/taskqueue/servers_queue.yaml
    Code:
    --- TaskQueue
    --- 3
    ---
    def_child_to: 3600
    def_task_to: 60
    max_running: 1
    max_task_to: 300
    nextid: 2
    processing_queue: []
    
    waiting_queue: []
    /var/cpanel/taskqueue/servers_sched.yaml
    Code:
    --- TaskScheduler
    --- 2
    ---
    nextid: 1
    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.

    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?

  6. #6
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by rking View Post
    Thanks cpanelkenneth. Is there any information on what exactly I'm looking at?

    /var/cpanel/taskqueue/servers_queue.yaml
    Code:
    --- TaskQueue
    --- 3
    ---
    def_child_to: 3600
    def_task_to: 60
    max_running: 1
    max_task_to: 300
    nextid: 2
    processing_queue: []
    
    waiting_queue: []
    /var/cpanel/taskqueue/servers_sched.yaml
    Code:
    --- TaskScheduler
    --- 2
    ---
    nextid: 1
    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.

    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:

    Code:
    perldoc Cpanel::TaskQueue
    perldoc Cpanel::TaskQueue::Task
    perldoc Cpanel::TaskQueue::Processor
    The yaml files are not intended for editing.

    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:

    Code:
    touch /etc/queueprocddisable
    In cPanel 11.25.0 I believe queuprocd handles:

    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.

Similar Threads & Tags
Similar threads

  1. queueprocd failed
    By cpiya in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 01-19-2012, 09:41 AM
  2. queueprocd failed
    By ipvhost in forum New User Questions
    Replies: 5
    Last Post: 04-05-2011, 11:10 AM
  3. queueprocd down
    By mswebguru in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-16-2011, 06:12 AM
  4. what's queueprocd?
    By nobodyk in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 09-02-2010, 09:08 AM
  5. queueprocd
    By TrevorG in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-30-2009, 10:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube