<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Suspended process cannot be removed in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872525#M65731</link>
    <description>Volker (or anyone else that knows)&lt;BR /&gt;Is there a modern equivilent to&lt;BR /&gt;   ^P&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; DEP/I 14 C&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; CONT&lt;BR /&gt;    IPC&amp;gt; C $1$MUA0:&lt;BR /&gt;    IPC&amp;gt; ^Z&lt;BR /&gt;&lt;BR /&gt;I know that AMDS can do the same as &lt;BR /&gt;   ^P&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; DEP/I 14 C&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; CONT&lt;BR /&gt;    IPC&amp;gt; Q&lt;BR /&gt;    IPC&amp;gt; ^Z&lt;BR /&gt;and was just wondering.</description>
    <pubDate>Fri, 26 Nov 2004 10:33:41 GMT</pubDate>
    <dc:creator>Ian Miller.</dc:creator>
    <dc:date>2004-11-26T10:33:41Z</dc:date>
    <item>
      <title>Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872517#M65723</link>
      <description>A system manager encountered a problem with a job that cannot removed.&lt;BR /&gt;&lt;BR /&gt;The process has been started in batch, running BACKUP, so allocated and accessed the tape unit. Now it is in LEF state for a long time - and no tape activity has been noticed for this period, where expected. &lt;BR /&gt;&lt;BR /&gt;He tried:&lt;BR /&gt;- STOP/ID: didn't work - the process is still present. &lt;BR /&gt;- STOP/ABORT and then deletion and recreation of the batchqueue didn't work - the process is still present.&lt;BR /&gt;&lt;BR /&gt;SHO PROCESS/ALL tells me the process is suspended, so I cannot find out what image it's running (if any. It must have been backup.exe but I'm not sure whether this has finished). So I turned to SDA, that showed the channel to the tape drive is still busy - see attached SDA output. &lt;BR /&gt;It seems no files opened on DKA0: SHO DEV/FILES of DKA0 shows no files opened by this process.&lt;BR /&gt;&lt;BR /&gt;I also checked whether it is requesting another tape: the Backup command used does not contain a /NOASSSIST qualifier so it would show if so, but REPLY/STATUS does not show such a request.&lt;BR /&gt;Could be backup?&lt;BR /&gt;$ install list backup/full&lt;BR /&gt;&lt;BR /&gt;DISK$DKA0:&lt;SYS0.SYSCOMMON.SYSEXE&gt;.EXE&lt;BR /&gt;   BACKUP;1         &lt;BR /&gt;        Entry access count         = 5&lt;BR /&gt;&lt;BR /&gt;Since the process keeps the tape unit, I need to get rid of it before the next backup job starts. Is there a way to achive that without having to reboot the machine?&lt;BR /&gt;&lt;/SYS0.SYSCOMMON.SYSEXE&gt;</description>
      <pubDate>Fri, 26 Nov 2004 09:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872517#M65723</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-11-26T09:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872518#M65724</link>
      <description>Hi William,&lt;BR /&gt;&lt;BR /&gt;How the tape drive is attached to the system? Probably a restart (power recycle) of the tape drive can resolve this issue.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Fri, 26 Nov 2004 09:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872518#M65724</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2004-11-26T09:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872519#M65725</link>
      <description>the process is marked as delete pending due to the STOP/ID which probably explains the process is suspended message. Lokesh suggestion of power cycle the drive may allow the I/O to be cancelled and the process to end.</description>
      <pubDate>Fri, 26 Nov 2004 09:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872519#M65725</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-26T09:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872520#M65726</link>
      <description>&lt;QUOTE&gt;&lt;BR /&gt;...power cycle the drive may allow the I/O to be cancelled and the process to end...&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;So we did, but it didn't work. Even unloading the tape didn't help.&lt;BR /&gt;&lt;BR /&gt;I checked the device - see attachment. It seems to be kept busy (note that this has been made after power cycle).&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Fri, 26 Nov 2004 10:06:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872520#M65726</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-11-26T10:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872521#M65727</link>
      <description>I see mntverip in the status. I wonder if the mount verify could be encouraged to end. There was a command at the IPC&amp;gt; prompt but I wonder if there is a modern alternative.</description>
      <pubDate>Fri, 26 Nov 2004 10:16:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872521#M65727</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-26T10:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872522#M65728</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;As far as I can see, the process is waiting for a buffered I/O to complete&lt;BR /&gt;(Buffered I/O count/limit      149/150) that will set local event flag number 31&lt;BR /&gt;(Waiting EF cluster              0    Event flag wait mask     7FFFFFFF)&lt;BR /&gt;If you could force that event flag, maybe than the process will be willing to commit suicide. I'll check if I have some dirty program at hand here. Otherwise, it's reboot I'm afraid. Btw, what version of VMS? (or did I miss that?)&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Kris&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 10:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872522#M65728</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2004-11-26T10:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872523#M65729</link>
      <description>the process IRP waiting behind the mount verify IRP. Try setting the dynamic system parameter TAPE_MVTIMEOUT to 1</description>
      <pubDate>Fri, 26 Nov 2004 10:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872523#M65729</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-26T10:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872524#M65730</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;looks like some IO is stuck in the driver someplace. You could try IPC&amp;gt; C MKC600: to cancel mount-verification, but it's risky and I won't have much hope that it will clean up the sitaution.&lt;BR /&gt;&lt;BR /&gt;But isn't there the 'old trick' of changing the SCSI id of the tape and bring it back as a new device this way ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Fri, 26 Nov 2004 10:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872524#M65730</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-11-26T10:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872525#M65731</link>
      <description>Volker (or anyone else that knows)&lt;BR /&gt;Is there a modern equivilent to&lt;BR /&gt;   ^P&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; DEP/I 14 C&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; CONT&lt;BR /&gt;    IPC&amp;gt; C $1$MUA0:&lt;BR /&gt;    IPC&amp;gt; ^Z&lt;BR /&gt;&lt;BR /&gt;I know that AMDS can do the same as &lt;BR /&gt;   ^P&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; DEP/I 14 C&lt;BR /&gt;    &amp;gt;&amp;gt;&amp;gt; CONT&lt;BR /&gt;    IPC&amp;gt; Q&lt;BR /&gt;    IPC&amp;gt; ^Z&lt;BR /&gt;and was just wondering.</description>
      <pubDate>Fri, 26 Nov 2004 10:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872525#M65731</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-26T10:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872526#M65732</link>
      <description>Ian,&lt;BR /&gt;I noticed that as well and it wonders me. Mount Verification In Progress - on a TAPE drive. VMS's sense of humour, I guess.&lt;BR /&gt;Kris,&lt;BR /&gt;VMS 7.3-1, unsure of ECO level (but WAY behind, knowing the site). I would like to see that program - if you you can find it (you know where to reach me)&lt;BR /&gt;&lt;BR /&gt;Anyway:&lt;BR /&gt;It was short notice, I also have to test some other things in startup and sysman wants the backup to be done tonight. So I have  rebooted the box (It's been a busy week...)&lt;BR /&gt;All suggestions and explanations will be kept in mind for the next time, which will, no doubt, be somewhere next week.&lt;BR /&gt;&lt;BR /&gt;Have a good weekend. &lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Fri, 26 Nov 2004 10:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872526#M65732</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-11-26T10:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872527#M65733</link>
      <description>I had a program for VAX/VMS to set local event flags in other processes&lt;BR /&gt;&lt;A href="http://vms.process.com/scripts/fileserv/fileserv.com?ESET" target="_blank"&gt;http://vms.process.com/scripts/fileserv/fileserv.com?ESET&lt;/A&gt;&lt;BR /&gt;but never did update it for AlphaVMS. In the case of an I/O the I/O status block is checked after the event flag is set. If the i/o status block is still set to 0 SS$_PENDING then the process goes back to sleep. &lt;BR /&gt;I think setting TAPE_MVTIMEOUT to 1 can lead to the mount verify ending after a few mins.&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 10:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872527#M65733</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-26T10:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872528#M65734</link>
      <description>Volker, Ian,&lt;BR /&gt;IPC means "console access" doesn't it? Anyway I see in Ian's reply ^P, so yes. &lt;BR /&gt;To change the ID of the tape drive would have been a possibility.&lt;BR /&gt;But in either case, I would need to get into the computerroom. But SYSMGR went home and let me decide what to do (I LIKE THE GUY!).&lt;BR /&gt;&lt;BR /&gt;(Even if he were there, the IPC trick wouldn't work anyway. There is no console on this machine; management is all done using telnet sessions...)</description>
      <pubDate>Fri, 26 Nov 2004 10:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872528#M65734</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-11-26T10:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872529#M65735</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;if you had forced crashed the node instead of a simple reboot, there would have been a chance to look at the dump, but...&lt;BR /&gt;&lt;BR /&gt;Ian, Kris,&lt;BR /&gt;&lt;BR /&gt;just setting the Event Flag would not have been enough. There are also bits in the CCB which need to be adjusted and the JIB and so on...&lt;BR /&gt;&lt;BR /&gt;DECamds does not seem to offer a 'cancel MV' function (on the Fix Options Page). Can't think of any other tool.&lt;BR /&gt;&lt;BR /&gt;Have a nice weekend,&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Fri, 26 Nov 2004 10:58:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872529#M65735</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-11-26T10:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872530#M65736</link>
      <description>Willem,&lt;BR /&gt;mount verification on a tape device - that is not supposed to be funny.&lt;BR /&gt;&lt;BR /&gt;It helps in those cases when one removed a tape media and put in a different one although the former one was logically mounted - works the same way with removable disk media (anybody remember RM03s, RM05s, the RP family and so on?). It is one more use of the mount verification mechanism.</description>
      <pubDate>Fri, 26 Nov 2004 11:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872530#M65736</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-11-26T11:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872531#M65737</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;I am with Uwe here: forcing MV timeout HAS helped us on different occasions (but, IIRC, seems to have been all way back in Vax times, don't know if Alpha is different).&lt;BR /&gt;Also: &lt;BR /&gt;Volker's suggestion of unhooking tape device, and switching Device ID, followed by MC SYSMAN IO A has helped us out more than once, and that definitely WAS alpha. Then simply let the process slumber in limbo till there is some other reason for reboot.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Nov 2004 14:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872531#M65737</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-11-26T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872532#M65738</link>
      <description>I would be interested to know if I think setting TAPE_MVTIMEOUT to 1 causes the end of mount verify sooner in recent versions of VMS as it used to.</description>
      <pubDate>Fri, 26 Nov 2004 16:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872532#M65738</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-26T16:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872533#M65739</link>
      <description>Ian,&lt;BR /&gt;if I recall correctly, this parameter is read when the volume is being mounted - you cannot affect a currently mounted volume just by lowering the parameter.</description>
      <pubDate>Sat, 27 Nov 2004 02:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872533#M65739</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-11-27T02:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872534#M65740</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;a nice question for the weekend ;-)&lt;BR /&gt;&lt;BR /&gt;When mount verification starts on a device, the current absolute time EXE$GL_ABSTIM (in seconds) plus the value of *MVTIMEOUT is stored in the MVIRP (mount verification IRP) at IRP$L_MV_TMO.&lt;BR /&gt;&lt;BR /&gt;So dynamically decreasing TAPE_MVTIMEOUT would NOT help, if the tape already is undergoing mount verification.&lt;BR /&gt;&lt;BR /&gt;Only chance is to locate the MVIRP and put a 0 in IRP$L_MV_TMO - needs a little hacking with DELTA. Locating the MVIRP is easy (see Willem's second attachment).&lt;BR /&gt;&lt;BR /&gt;Canceling mount-verification should be tried with DISM/ABORT or the IPC&amp;gt; C MKcn: command.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Nov 2004 10:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872534#M65740</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-11-27T10:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872535#M65741</link>
      <description>I thought I had read somewhere that altering the value of TAPE_MVTIMEOUT could affect mount-verifies inprogress - I guess not.&lt;BR /&gt;&lt;BR /&gt;If I put 0 into IRP$L_MV_TMO when does this get checked - is there a reguular timed event that checks this?</description>
      <pubDate>Sat, 27 Nov 2004 10:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872535#M65741</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-27T10:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Suspended process cannot be removed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872536#M65742</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;mount verification is tried in a loop (with some little pauses inbetween the IO$_PACKACK calls), until &lt;BR /&gt;&lt;BR /&gt;- it succeeds&lt;BR /&gt;- it's canceled (by DISM/ABORT clearing the VCB$V_MOUNTVER bit)&lt;BR /&gt;- it times out.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 27 Nov 2004 11:36:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/suspended-process-cannot-be-removed/m-p/4872536#M65742</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-11-27T11:36:34Z</dc:date>
    </item>
  </channel>
</rss>

