Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Delete .mq files in the MSMQ folder

Delete .mq files in the MSMQ folder

Updated November 28, 2018

Overview

This article describes how to clear MSMQ orphaned files if they filled up past the default 1 GB limit.

This issue can occur for many different reasons such as polling related issues, CPU utilization issues, latency to the SQL server, SQL related issues and forces the polling engine to stop polling.

Environment

  • All NPM versions

Steps

  1. To correct this issue, complete the following procedure:
  2. Stop Services
  3. Log in to your SolarWinds server using an account with administrative access.
  4. Click Start > All Programs > SolarWinds Orion > Advanced Features > Orion Service Manager.
  5. Stop all SolarWinds services.  Note: Leave the Orion Service Manager open.
  6. Click Start > Control Panel > Administrative Tools > Services.
  7. Right-click Message Queuing, and then click Stop.    
    1. Note: Leave the Services window open.
  8. Clean out MQ Files in MSMQ Folder

  9. Navigate to C:\Windows\System32\msmq\Storage\   
    1. Note: The default installation volume is C:.
  10. Delete all files with an MQ extension (*.MQ)  
    1. Note: There may be more than 520 files total of 1 GB in size to be deleted from this folder.
  11. In the Services window, right-click Message Queuing, and then click Start.

  12. In the Orion Service Manager, restart all SolarWinds services.

 

 

If MSMQ wont start after following steps above

 

  • If Msmq wont start afterwards it may be possible that extra files got removed during the steps above and these need to be done

 

when starting msmq from services.mmc

 

The Message Queuing service terminated with service-specific error %%-1072823311

 

  1.  Open registry editor and navigate to:
    1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters

    2. locate LogDataCreated parameter and ensure that its value is set to 0.

  2. Try to start Message Queuing service – it should work now.

 

Last modified

Tags

Classifications

Public