- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Various Process States
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 07:36 AM
тАО07-16-2005 07:36 AM
If processes go to MUTEX state,how to shutdown these processes. As by sutting down application, the processes are not shutting down.So, by VMS shutdown can these processes be shutdown. Pls suggest...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 09:10 AM
тАО07-16-2005 09:10 AM
Re: Various Process States
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 05:19 PM
тАО07-16-2005 05:19 PM
SolutionLEF = Local Event Flag wait
CEF = Common Event Flag wait
It's just an application thing, whether it will use local or common event flags to wait for.
PFW = Page Fault Wait
Waiting for a page to be read in from disk. Wait state should be fairly short-lived, but you may see the process go into this state very often, if it's hard-paging a lot (watch Pagefaults counter)
COM = Computable
Process is ready to run, but (an)other (higher priority) process(es) currently own(s) the CPU(s)
MWAIT = Miscellaneous wait
Shown if the process is in RWxxx state. PCB$L_EFWM contains a RSN$_* wait state integer (small number < 21.)
[OpenVMS] Discussion Of Processes In The RWxxx Scheduling States
http://h18000.www1.hp.com/support/asktima/operating_systems/00914D17-7FE5D380-1C01E7.html
MUTEX = MUTEX wait
Some data structures within the OpenVMS operating system are protected by MUTEXes (Mutual Exclusion Semaphores). If a process is in MUTEX wait, the address of the mutex it's waiting for, is stored in PCB$L_EFWM. You need to find out, which OTHER process is holding (and not releasing) that MUTEX. Processes holding MUTEXes are at prio 16 and have PCB$L_MTXCNT > 0.
[OpenVMS] How to Troubleshoot a Process in MUTEX State:
http://h18000.www1.hp.com/support/asktima/operating_systems/0098351C-C6948BC0-1C0096.html
To look at PCB$L_EFWM and/or PCB$L_MTXCNT with SDA in the running system:
$ ANAL/SYS
SDA> SET PROC/IND=
SDA> SHOW PROC
... Event flag wait mask xxxxxxxx
...
... Mutex count n
...
SDA> READ SYSDEF ! VAX: SYS$SYSTEM:SYSDEF.STB
SDA> EXA PCB+PCB$L_EFWM
SDA> EXA PCB+PCB$L_MTXCNT
Shutting down processes in some of those MWAIT states may not be possible at all (except after detailled analysis and some kernel-mode hacking with DELTA). An OpenVMS reboot will always clear up those hangs ;-)
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2005 12:32 PM
тАО07-17-2005 12:32 PM
Re: Various Process States
From SDA check out JIB+JIB$L_FLAGS
like this:
SDA> READ SYSDEF
SDA> SHOW PROCESS/INDEX=idx
SDA> EX JIB+JIB$L_FLAGS
A value of 2 indicates a TQELM has been depleted. To kill a process in that state, issue a STOP/ID against it. Next time a timer queue entry for any process in the job tree expires, the process will terminate. That may be a significant time, but you can be fairly sure it will happen eventually.
A value of 1 indicates BYTLM depletion. If there are no other processes in the job tree, the process is probably deadlocked against itself. Such a process is unlikely to recover. It IS possible to unblock a process in that state, but it requires a small kernel mode program to be written to boost BYTLM. Not something I'd post here...
Call your local customer support centre for assistance.
Alternatively use Availability Manager to boost quotas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2005 07:17 PM
тАО07-17-2005 07:17 PM
Re: Various Process States
Also in that case PCB$L_EFWM will contain the address of the JIB.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2005 08:17 PM
тАО07-17-2005 08:17 PM
Re: Various Process States
My email id noorulh@calro.cmc.net.in