Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

queueprocd log

Discussion in 'General Discussion' started by acenetryan, Dec 25, 2009.

  1. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    168
    Is there a log where I can see what actions queueprocd is taking?
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    Check out the logs under

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    168
    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. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    The task queue is in /var/cpanel/taskqueue. Any task that queueprocd has queued will appear in one of the yaml files there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    168
    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. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice