Interpreting file names in the Storage directory in Microsoft Message Queue Server and in Microsoft Message Queuing (174307)
The information in this article applies to:
- Microsoft Message Queue Server (MSMQ) 1.0
- Microsoft Message Queuing 2.0
- Microsoft Message Queuing 3.0
This article was previously published under Q174307 INTRODUCTION This article describes the files in the Msmq\Storage and
Msmq\Storage\Lqs directories.
This information is useful, for
example, if you want to manually inspect the properties of a private queue or
determine the disk space being used for the storage of messages. MORE INFORMATIONFiles in the Msmq\Storage directory File names with an .mq extension represent memory-mapped files in
which messages are stored. The .mq file name extension will be
prefixed with a letter representing the type of messages it is tracking:
r - Express messages (Note that express messages are normally held
in RAM, not disk. This file is used when there is no more available RAM.)
p - Persistent (recoverable) messages j - Journal
messages l - Indexing bitmap for interpreting the journal or
recoverable files. Note An .mq file does not identify or map to a unique queue. Messages
from multiple queues may be held in one .mq file, or messages from a single
queue may span multiple .mq files. A single message cannot span multiple files
(hence the 4 MB limit in size). The QMLog file is a history of
transactional message processing. When the log is full, the oldest log data is
overwritten as new entries are made. To allow this continuous,
cyclic writing to the QMLog, the state of receiving ordered messages and the
state of all active transactions is periodically saved to the following files
(respectively):
MQInSeqs.lg1
MQInSeqs.lg2
MQTrans.lg1
MQTrans.lg2
The .lg1 and .lg2 files are written to in an alternating pattern,
to ensure that one of the pair will persist if the other is damaged during a
write. Files in the Msmq\Storage\Lqs directory Files in this directory are text files that describe properties
of the local queues. They are accessed as an .ini file. File names
formatted nnnnnnnn.hhhhhhhh represent private queues. The nnnnnnnn portion is
the queue number (included in the direct format name for the queue). The
hhhhhhhh extension is a hash of the path name used for quick lookup.
File names formatted aaaaaaaabbbbccccddddeeeeeeeeeeee.hhhhhhhh represent local
public queues. The 32 character portion of the file name to the left of the
period is the GUID of the queue. The hhhhhhhh extension is again a hash of the
path name.
Modification Type: | Major | Last Reviewed: | 2/8/2006 |
---|
Keywords: | kbenv kbinfo KB174307 |
---|
|