There was a problem loading the comments.

Running the MQ Drain Script

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Original Question

or Issue:

If a bottleneck is occurring in the parallel queue, and the root cause have not been identified. Administrators have the option to run the MQ Drain Script to allocate system resources to process record in the queue.

Environment:

  • Product - FileCloud Server
  • Version - Any
  • Platform - Any
Steps to Reproduce:

 

 

Error or Log Message: a2db7edca18310d9902676ef8743bd2c338276d8ce00b1eeec19fb9f7a9c4ebf2390c1de9d9d0076?t=37c1e3edeab464c2c7e5a6293ae1a4b8

Defect or

Enhancement Number:

 
Cause:  

Resolution or

Workaround:

For Windows:

  • Launch a Command Prompt window
  • Navigate to the PHP directory within the xampp folder, [drive]:\xampp\php
  • Run the commands php.exe c:\xampp\htdocs\resources\tools\mq\php\drainallmq.php

For Linux:

cd /var/www/html/resources/backup/drainallmq.php

 

To check if records from the parallel queue have changed, you may run a command from the Mongo Shell.

  • Navigate to the MongoDB directory, [drive]:\xampp\mongodb\bin
  • Launch the Mongo Shell (mongosh.exe)
  • Login to the Mongo Shell

use tonidoclouddb

db.background_queue_parallel.countDocuments()

Notes:   

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© FileCloud