- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to fix the base priority for a captive account...
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
тАО11-08-2006 02:30 AM
тАО11-08-2006 02:30 AM
There is a captive account in my VMS box. Once he logs in a process is created in his user name. I want to fix the priority of that process to 4.
Please suggest
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 02:40 AM
тАО11-08-2006 02:40 AM
SolutionUAF> MOD username/PRIO=4
will set the base priority of processes created by this user to 4.
Note that OpenVMS applies priority increments based on certain events (like IO completion). You can not disable this feature on a per-user base.
Are you trying to solve a specific problem ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 03:01 AM
тАО11-08-2006 03:01 AM
Re: How to fix the base priority for a captive account user in VMS
The user was running some report, some how it went to cpu hungry mode & resulted in system lock up. But this happened for the first time. is there any way to get rid off. I found the user name in crash dump( SDA>sho process command).
Am I right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 03:17 AM
тАО11-08-2006 03:17 AM
Re: How to fix the base priority for a captive account user in VMS
So if You want this captive user run at lower priority, put a 3 or 2 for them.
A better solution probably would be to rewrite the captive procedure to force the CPU hungry program to lower priority (submit to batch, then SYNCHRONIZE).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 03:22 AM
тАО11-08-2006 03:22 AM
Re: How to fix the base priority for a captive account user in VMS
"a captive account user" "was running some report"
So, this report is somehow started from a procedure that is activated by some command procedure.
Locate that procedure, and just before starting the malicious report, add
$ SET PROCES/PRIO=0
Now, the report processing will only run when no other process is asking for the CPU.
Usually, the impact on the report processing running time will not be that big, but all other processes WILL notice!
And directly AFTER the reort is finished, reset things by
$ SET PROCES/PRIO=4
Note, that for priority setting HIGHER than specified in SYSUAF the account needs privilege ALTPRI, but LOWER settings and re-setting are always allowed.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 03:22 AM
тАО11-08-2006 03:22 AM
Re: How to fix the base priority for a captive account user in VMS
A process looping at priority 4 should not cause the system to lock up. It may be holding some locks and not releasing them, causing other processes to block.
If you have forced a crash - a very good step enabling you to do further offline troubleshooting - you need to first locate the user's process in the dump.
Start with SDA> SHOW SUMM
If you find a process with this username (and it's the only process running under that user), this process should also be in CUR or COM state - if it's CPU-bound, as a looping process would be.
Set context to that process SDA> SET PROC
Check the accumulated CPU time, there should be a high value:
SDA> SHOW PROC/PHD
... Accumulated CPU time 000000E7
...
Next check, whether this process has any busy channels or is holding any locks:
SDA> SHOW PROC/CHAN
... any channel 'busy' ?
SDA> SHOW PROC/LOCK
... is the first lock (or any other lock) shown in Waiting for... ?
Now check the rest of the processes for unusual status (like RWxxx or such).
Report what you've found (maybe attach the SDA output as a .TXT file) and then we'll consider the next step...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 04:15 AM
тАО11-08-2006 04:15 AM
Re: How to fix the base priority for a captive account user in VMS
Please find the SDA output attached. User name is TELECOMMS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 04:38 AM
тАО11-08-2006 04:38 AM
Re: How to fix the base priority for a captive account user in VMS
What I'm curious about are all those processes in PFW state (Pagefault Wait).
You can find out, how long a process is waiting in it's current wait queue with:
SDA> READ SYS$SYSTEM:SYSDEF
SDA> SET PROC /ID=
SDA> eva ((@exe$gl_abstim_tics)-@(pcb+pcb$l_waitime))
This will give the wait time in 10ms ticks. Try to find a PFW process, which is waiting for a really long time.
What does SDA> EXA EXE$GL_FLAGS report ?
What made you decide to force a crash ? What did you see in the system at that time ? How long did you wait, before you decided to force a crash ?
Crashdump analysis is not trivial. Analyzing a forced crash may be even more complicated. You need to find something, e.g. some 'hanging' operation, from where you start your analysis.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 04:42 AM
тАО11-08-2006 04:42 AM
Re: How to fix the base priority for a captive account user in VMS
Please check whether ERRFMT has any busy channels or waiting locks. Also please check, the waitime for this process.
Does SDA> SHOW DEVICE DI or DK show any non-zero error counts on the disks ?
I guess you do not have the console output available, otherwise this could be helpful as well.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2006 04:47 AM
тАО11-08-2006 04:47 AM
Re: How to fix the base priority for a captive account user in VMS
Possibly anything wrong with the system disk ? Or with the disks containing SYSUAF or queue manager files ?
Volker.