  Decoding Mutex (EFWM) States? 
 The Question is:
 
I have a process going into a MUTEX state and need help determining the cause.  \
The EFWM value is:
EFWM = -2115953792   Hex = 81E11B80  Octal = 20170215600
 
Following are other Process Quotas:
  WSQUOTA = 32768   Hex = 00008000  Octal = 00000100000
  WSSIZE = 16384   Hex = 00004000  Octal = 00000040000
  PPGCNT = 7616   Hex = 00001DC0  Octal = 00000016700
  GPGCNT = 2592   Hex = 00000A20  Octal = 00000005040
  WSEXTENT = 544288   Hex = 00084E20  Octal = 00002047040
  BYTLM = 97696   Hex = 00017DA0  Octal = 00000276640
  TQELM = 10   Hex = 0000000A  Octal = 00000000012
  TQCNT = 0   Hex = 00000000  Octal = 00000000000
  STATE = "MWAIT"
  EFWM = -2115953792   Hex = 81E11B80  Octal = 20170215600
 
Following is the ANALYZE/SYSTEM informaton for this process:
Process index: 0101   Name: 325T_XMQ     Extended PID: 20400501
---------------------------------------------------------------
Process status:          00040001  RES,PHDRES
        status2:         00000001  QUANTUM_RESCHED
 
PCB address              81E11840    JIB address              81E11B80
PHD address              8D89A000    Swapfile disk address    00000000
KTB vector address       81E11B2C    HWPCB address            8D89A080
Callback vector address  00000000    Termination mailbox          0000
Master internal PID      00010101    Subprocess count                0
Creator extended PID     00000000    Creator internal PID     00000000
Previous CPU Id          00000002    Current CPU Id           00000002
Previous ASNSEQ  000000000036DD79    Previous ASN     0000000000000013
Initial process priority        4    Delete pending count            0
# open files allowed left      86    Direct I/O count/limit        100/100
UIC                [00325,000325]    Buffered I/O count/limit      100/100
Abs time of last event   055DF49C    BUFIO byte count/limit      97696/97696
ASTs remaining                200    # of threads                    1
Swapped copy of LEFC0    00000000    Timer entries allowed left      0
Swapped copy of LEFC1    00000000    Active page table count         0
Global cluster 2 pointer 81C7C680    Process WS page count         476
 
    Press RETURN for more.
SDA&gt;
 
Process index: 0101   Name: 325T_XMQ     Extended PID: 20400501
---------------------------------------------------------------
Global cluster 3 pointer 81CACFC0    Global WS page count          162
 
Extended PID: 20400501     Thread index: 0000
---------------------------------------------
Current capabilities:    System: 0000000C  QUORUM,RUN
                         User:   00000000
Permanent capabilities:  System: 0000000C  QUORUM,RUN
                         User:   00000000
Current affinities:      00000000
Permanent affinities:    00000000
Thread status:           00040001
       status2:          00000001
 
KTB address              00000000    HWPCB address            8D89A080
PKTA address             7FFEFF98    Callback vector address  00000000
Internal PID             00010101    Callback error           00000000
Extended PID             20400501    Current CPU id           00000002
State                       MUTEX    Flags                    00000000
Base priority                   4    Current priority                5
Waiting EF cluster              0    Event flag wait mask     81E11B80
CPU since last quantum       000C    Mutex count                     0
ASTs active                  NONE
 
SDA&gt;
SDA&gt; FORMAT JIB
FFFFFFFF.81E11B80   JIB$L_MTLFL                     81E11B80    JIB
FFFFFFFF.81E11B84   JIB$L_MTLBL                     81E11B80    JIB
FFFFFFFF.81E11B88   JIB$W_SIZE                          00C0
FFFFFFFF.81E11B8A   JIB$B_TYPE                        2F
FFFFFFFF.81E11B8B   JIB$B_DAYTYPES                  00
FFFFFFFF.81E11B8C   JIB$T_USERNAME                        53
FFFFFFFF.81E11B8D                                   545359
FFFFFFFF.81E11B90                                   20204D45
FFFFFFFF.81E11B94                                   20202020
FFFFFFFF.81E11B98   JIB$T_ACCOUNT                         3C
FFFFFFFF.81E11B99                                   617473
FFFFFFFF.81E11B9C                                   203E7472
FFFFFFFF.81E11BA0   JIB$L_BYTCNT                    00017DA0
FFFFFFFF.81E11BA4   JIB$L_BYTLM                     00017DA0
FFFFFFFF.81E11BA8   JIB$L_PBYTCNT                   00000000
FFFFFFFF.81E11BAC   JIB$L_PBYTLIM                   00000000
FFFFFFFF.81E11BB0   JIB$L_FILCNT                    00000056
FFFFFFFF.81E11BB4   JIB$L_FILLM                     00000064
FFFFFFFF.81E11BB8   JIB$L_TQCNT                     00000000
FFFFFFFF.81E11BBC   JIB$L_TQLM                      0000000A
FFFFFFFF.81E11BC0   JIB$L_PGFLQUOTA                 00000800
FFFFFFFF.81E11BC4   JIB$L_PGFLCNT                   00000554
FFFFFFFF.81E11BC8   JIB$L_CPULIM                    00000000
FFFFFFFF.81E11BCC   JIB$L_PRCCNT                    00000000
FFFFFFFF.81E11BD0   JIB$L_PRCLIM                    0000000A
FFFFFFFF.81E11BD4   JIB$W_SHRFCNT                       0000
FFFFFFFF.81E11BD6   JIB$W_SHRFLIM                   0000
FFFFFFFF.81E11BD8   JIB$L_ENQCNT                    00000103
FFFFFFFF.81E11BDC   JIB$L_ENQLM                     0000012C
FFFFFFFF.81E11BE0   JIB$W_MAXJOBS                       0000
FFFFFFFF.81E11BE2   JIB$W_MAXDETACH                 0000
FFFFFFFF.81E11BE4   JIB$L_MPID                      00010101
FFFFFFFF.81E11BE8   JIB$L_JLNAMFL                   00000000
FFFFFFFF.81E11BEC   JIB$L_JLNAMBL                   00000000
FFFFFFFF.81E11BF0   JIB$L_PDAYHOURS                 00000000
FFFFFFFF.81E11BF4   JIB$L_ODAYHOURS                 00000000
FFFFFFFF.81E11BF8   JIB$L_JOBTYPE                   00000000
FFFFFFFF.81E11BFC   JIB$L_FLAGS                     00000002
FFFFFFFF.81E11C00   JIB$L_ORG_BYTLM                 000186A0
FFFFFFFF.81E11C04   JIB$L_ORG_PBYTLM                00000000
FFFFFFFF.81E11C08   JIB$L_JTQUOTA                   00000000
                    JIB$C_LENGTH
 
Is it BYTLM, TQELM, or something else?
Thanks,
 
 The Answer is :
FFFFFFFF.81E11BFC   JIB$L_FLAGS                     00000002
 
FFFFFFFF.81E11BB8   JIB$L_TQCNT                     00000000
FFFFFFFF.81E11BBC   JIB$L_TQLM                      0000000A
 
QED, TQCNT is depleted.
 
If the process needs to have more than 10 outstanding TQEs then increase
the limit, otherwise you're looking for a leak.
 Answer written or last revised on  31-OCT-2002 
