The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    18
  2. madaboutlinux

    madaboutlinux Well-Known Member

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

     
  3. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    18
    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,458
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  5. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    18
    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,458
    Likes Received:
    22
    Trophy Points:
    38
    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
     
Loading...

Share This Page