MSMQ Performance degrades over time & MSMQ LQS folder is 100s of MB.
Symptoms
MSMQ Performance degrades over a period of time. The MSMQ LQS folder is 100s of MB in Size. You have to delete
the Queue queue and recreated them to make this work.
Cause
There is some problem with the security descriptor as a result MSMQ keeps writing it over and and over again to the files in LQS folder.
This results in the file size growing large and the performance of the service goes down.
Resolution
The simple workaround to this problem is to set the queue security at the time of creation. When we create a
new queue, disable inheritance from parent and then give permissions to the appropriate account.