[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

131.0. "PPL routine hang" by KERNEL::BIRKINSHAW (Press Enter to Exit) Mon Feb 03 1997 12:30

VMS 6.2

A customer has ported his application to alpha and
is seeing intermittent hangs which affect other 
processes in his application.  The hang occurs in 
ppl$create_application. Subsequent attempts to call
this routine hang too. I don't have much to go on
other than the following information suppplied by 
the customer. My basic question is what is the 
significance of the ppl$num_app lock which appears
to be the culprit in locking up the other proceses.
See the bottom of the log for the other processes
that are locked out.


Process index: 0033   Name:    Extended PID: 38000833
-----------------------------------------------------
Process status:        00040001  RES,PHDRES
Required capabilities: 0000000C  QUORUM,RUN

PCB address              84AC89C0    JIB address              84AC8C40
PHD address              9A180000    Swapfile disk address    00000000
Master internal PID      00010033    Subprocess count                1
Internal PID             00010033    Creator internal PID     00000000
Extended PID             38000833    Creator extended PID     00000000
State                       HIB      Termination mailbox          0043
Previous CPU Id          00000004    Current CPU Id           00000004
Previous ASNSEQ  00000000000030F9    Previous ASN     0000000000000048
Current priority                9    # of threads     0000000000000000
Initial process priority        4    Delete pending count         0
Base priority                   4    AST's active                 NONE
UIC                [00001,000004]    AST's remaining               248
Mutex count                     0    Buffered I/O count/limit     1000/1000
Waiting EF cluster              0    Direct I/O count/limit       1000/1000
Abs time of last event   02795BB4    BUFIO byte count/limit     597760/597760
Event flag wait mask     7FFFFFFF    # open files allowed left   23992
Swapped copy of LEFC0    00000000    Timer entries allowed left     17
Swapped copy of LEFC1    00000000    Active page table count         0
Global cluster 2 pointer 84C04700    Process WS page count         119
Global cluster 3 pointer 846E2C80    Global WS page count           68
SDA> 
SDA> sh proc/lock
Lock data:

Lock id:  02001325   PID:     00010033   Flags:   VALBLK                  
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  8475B140   BLKAST:  00000000	                                  
PRIORTY:      0000                                                        

Granted at      PW   00000000-FFFFFFFF

Resource:      5F4D554E 244C5050    PPL$NUM_  Status:  ASYNC                   
 Length   11   00000000 00505041    APP.....                                   
 User mode     00000000 00000000    ........                                   
 Group   001   00000000 00000000    ........                                   

Process copy of lock 2500D4A1 on system 000100BE




    Press RETURN for more.
SDA> 

Process index: 0033   Name:    Extended PID: 38000833
-----------------------------------------------------
Lock data:

Lock id:  7400117B   PID:     00010033   Flags:   VALBLK  CONVERT NOQUEUE 
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  84ABB500   BLKAST:  00000000	                                  
PRIORTY:      0000                                                        

Granted at      CR   00000000-FFFFFFFF

Resource:      5F505041 244C5050    PPL$APP_  Status:                          
 Length   17   33383030 3038335F    _3800083                                   
 User mode     00000000 00000033    3.......                                   
 Group   001   00000000 00000000    ........                                   

Local copy  




    Press RETURN for more.
SDA> 

Process index: 0033   Name:    Extended PID: 38000833
-----------------------------------------------------
Lock data:

Lock id:  2A00C8C7   PID:     00010033   Flags:   VALBLK  CONVERT         
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  851D82C0   BLKAST:  00000000	                                  
PRIORTY:      0000                                                        

Granted at      NL   00000000-FFFFFFFF

Resource:      454D414E 244C5050    PPL$NAME  Status:                          
 Length   18   30303030 30305F5F    __000000                                   
 User mode     00000000 00003030    00......                                   
 Group   001   00000000 00000000    ........                                   

Local copy  




    Press RETURN for more.
SDA> 

Process index: 0033   Name:    Extended PID: 38000833
-----------------------------------------------------
Lock data:

Lock id:  1300EBB7   PID:     00010033   Flags:   VALBLK  CONVERT         
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  8526FCC0   BLKAST:  00000000	                                  
PRIORTY:      0000                                                        

Granted at      NL   00000000-FFFFFFFF

Resource:      5F504F54 244C5050    PPL$TOP_  Status:                          
 Length   26   30303030 3030305F    _0000000                                   
 User mode     30303030 30305F30    0_000000                                   
 Group   001   00000000 00003030    00......                                   

Local copy  




    Press RETURN for more.
SDA> 

Process index: 0033   Name:    Extended PID: 38000833
-----------------------------------------------------
Lock data:

Lock id:  7B002078   PID:     00010033   Flags:   NODLCKB                 
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  84DAE0C0   BLKAST:  00073CB0	                                  
PRIORTY:      0000                                                        

Granted at      PR   00000000-FFFFFFFF

Resource:      4C4C4554 244C5050    PPL$TELL  Status:                          
 Length   19   30303030 3030305F    _0000000                                   
 User mode     00000000 00305F30    0_0.....                                   
 Group   001   00000000 00000000    ........                                   

Local copy  




    Press RETURN for more.
SDA> 

Process index: 0033   Name:    Extended PID: 38000833
-----------------------------------------------------
Lock data:

Lock id:  2100EBBD   PID:     00010033   Flags:   VALBLK  CONVERT NODLCKB 
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  85C814C0   BLKAST:  00000000	                                  
PRIORTY:      0000                                                        

Granted at      EX   00000000-FFFFFFFF

Resource:      56494C41 244C5050    PPL$ALIV  Status:                          
 Length   20   30303030 30305F45    E_000000                                   
 User mode     00000000 305F3030    00_0....                                   
 Group   001   00000000 00000000    ........                                   

Local copy
 

!!!! Here are the other processes waiting for the num_appl lock.

.SDA> sh proc/lock/ind=34
 

Process index: 0034   Name:    Extended PID: 38000834
-----------------------------------------------------
Lock data:

Lock id:  0600464F   PID:     00010034   Flags:   VALBLK                  
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  8561E980   BLKAST:  00000000	                                  
PRIORTY:      0000   RQSEQNM:     0047                                     

Waiting for     PW   00000000-FFFFFFFF

Resource:      5F4D554E 244C5050    PPL$NUM_  Status:  ASYNC                   
 Length   11   00000000 00505041    APP.....                                   
 User mode     00000000 00000000    ........                                   
 Group   001   00000000 00000000    ........                                   

Process copy of lock 7E010203 on system 000100BE

SDA> 

.SDA> sh proc/lock/ind=35

Process index: 0035   Name:    Extended PID: 38000835
-----------------------------------------------------
Lock data:

Lock id:  2D0038CF   PID:     00010035   Flags:   VALBLK                  
Par. id:  00000000   SUBLCKs:        0                                    
LKB:	  8528BA00   BLKAST:  00000000	                                  
PRIORTY:      0000   RQSEQNM:     003C                                     

Waiting for     PW   00000000-FFFFFFFF

Resource:      5F4D554E 244C5050    PPL$NUM_  Status:  ASYNC                   
 Length   11   00000000 00505041    APP.....                                   
 User mode     00000000 00000000    ........                                   
 Group   001   00000000 00000000    ........                                   

Process copy of lock 530101F8 on system 000100BE



T.RTitleUserPersonal
Name
DateLines
131.1PPL has been retired...LOWFAT::DIETERTue Feb 04 1997 09:3416
PPL (both VAX and Alpha) was retired as of V7.1.  For at least the 
past year, a business decision has been in effect such that no problems
have been fixed in PPL.  There are known problems in the Alpha version 
of PPL such that it does not work at all.  

As part of retiring this product, the source code is available to the 
general public (that is, both internally and externally) for continued 
use and modification.  Savesets are available from:

	BULOVA::DISK$SYSKITS:[PUBLIC]*PPL*.*

Any further questions should be directed at Rick Raymond (STAR::RRAYMOND) 
and CC Ron STAR::HIGGINS and myself (@ STAR::DIETER).

Mary
131.2AUSS::GARSONDECcharity Program OfficeTue Feb 04 1997 20:525
    re .1
    
    Is there a replacement product?
    
    Is there some reason why the product is no longer needed?
131.3QUARK::LIONELFree advice is worth every centTue Feb 04 1997 20:573
    DECthreads is the replacement.
    
    			Steve
131.464947::DIETERWed Feb 05 1997 09:4911
Yes, as Steve mentioned, DECthreads is the replacement.  Be aware
however that there is not a 1-1 functionality mapping from PPL to 
DECthreads, so they will probably need to change their code/algorithms 
a bit when converting to DECthreads.  

Or, as I mentioned in my previous reply, they are welcome to the
Alpha source code for PPL to do with as they wish (that is, fix the
bugs and maintain for their own use for all eternity).

Mary