Operating System - OpenVMS
1827826 Members
1885 Online
109969 Solutions
New Discussion

Hoe to stop a process with stat RWAST

 
loeser
New Member

Hoe to stop a process with stat RWAST

How to stop a process with stat RWAST ?
Openvms 7.3.2
13 REPLIES 13
Heinz W Genhart
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Hi loeser

In most cases, you will have to reboot your machine .....

Regards

Heinz
Wim Van den Wyngaert
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Ian Miller.
Honored Contributor

Re: Hoe to stop a process with stat RWAST

If the process is in RWAST because it has run out of a quota then increasing the quota (could use AMDS or Availability Manager to do this) may allow the process to continue.

Do you know why the process is in RWAST ?
____________________
Purely Personal Opinion
comarow
Trusted Contributor

Re: Hoe to stop a process with stat RWAST

IF it is a bytelimit problem Availability manager can help.

If you already did a stop proc/id=xxx
then forget it.

While there are hacks to stop the process, usually, the process is not able to complete an I/O, and thus it is a symptom
of some kind of device problem.

Peter Barkas
Regular Advisor

Re: Hoe to stop a process with stat RWAST

If the process is hung by a BG device you can disconnect the device using system command tcpip disconnect device bgxxx. See also tcpip sho dev bgxxxx/fu.
John Gillings
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Probably too late... first rule is DON'T attempt to use STOP/ID against an RWAST process.

If you're not familiar with diagnosing the cause with SDA, log a case with your local customer support centre for assistance.

Some RWASTs are recoverable, BUT if you've already attempted a STOP, you've probably covered over the tracks that would lead to a successful diagnosis.
A crucible of informative mistakes
Arch_Muthiah
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Loeser,

RWAST indicates the wait is expected to be satisfied by the delivery and/or enqueuing of an AST to the process.

Reasons for a pocess endup with RWAST state are...
-- waiting for an I/O to complete on a channel or
-- running out of a process or system quota or
-- waiting for a file system or lock request to complete or
-- waiting for a subprocess to terminate

Processes in the RWAST state can NOT be deleted until the condition they are waiting for is met. If you can not identify what the process is waiting for, you will have to reboot the system to eliminate the process.


Archunan

Regards
Archie
Arch_Muthiah
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Loeser,

you can use these cmnds to get more details about the process in RWAST state.

$ analyze/system
sda> read/executive
sda> read sys$loadable_images:sysdef
sda> sho summary

Archunan
Regards
Archie
Arch_Muthiah
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Loeser,

Using SDA, you can find why the process in in RWAST state.

$ anal/system
sda> read/executive
sda> read sys$loadable_images:sysdef
sda> sho summary

it will display the particular process's index, using that index there is a way to troubleshoot this process.


Archunan
Regards
Archie
Galen Tackett
Valued Contributor

Re: Hoe to stop a process with stat RWAST

Ian Miller's SDA extension PWAIT$SDA can make it a bit easier to tell what a process is waiting for. You might find it useful.

You'll find it on Hunter Goatley's VMS freeware server at this location: http://vms.process.com/scripts/fileserv/fileserv.com?PWAIT_SDA
Ian Miller.
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Thanks for the advert Galen :-)

Apart from the released version on Hunter Goatley's site the latest version and any development versions can be found at

http://www.encompasserve.org/~miller/

I second the wise words of John G - STOP/ID should not be the first reaction to a process in RWAST as it generally does not stop the process but does make determining the cause somewhat more difficult.
____________________
Purely Personal Opinion
Galen Tackett
Valued Contributor

Re: Hoe to stop a process with stat RWAST

My pleasure, Ian :)
Heinz W Genhart
Honored Contributor

Re: Hoe to stop a process with stat RWAST

Hi loeser

from your Forum Profile:


I have assigned points to 0 of 12 responses to my questions.



Maybe you can find some time to do some assigning?

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.
Consider, that every poster took at least the trouble of posting for you!

To easily find your streams with unassigned points, click your own name somewhere.
This will bring up your profile.
Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.

Thanks on behalf of your Forum colleagues.

PS. nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before please do not take offence none is intended!