<?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: Login with a high priority in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529089#M68010</link>
    <description>Wim,&lt;BR /&gt;&lt;BR /&gt;Can you modify your priorty in the UAF (to 16) then drop it&lt;BR /&gt;manually once you login? The login process starts out with&lt;BR /&gt;a higher priority then drops it to the UAF value later in&lt;BR /&gt;the login process.&lt;BR /&gt;At least this way you should always be able to login in a&lt;BR /&gt;reasonable time then investigate the other high priority&lt;BR /&gt;process.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Apr 2005 02:44:00 GMT</pubDate>
    <dc:creator>David B Sneddon</dc:creator>
    <dc:date>2005-04-21T02:44:00Z</dc:date>
    <item>
      <title>Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529086#M68007</link>
      <description>Sometimes, I encounter looping processes on a node. When I try to login, it takes minutes to complete. Yesterday I had the problem with DDP of DSM and after login, stop/id didn't result in a stop of the process. I had to reboot.&lt;BR /&gt;&lt;BR /&gt;Is there an (undocumented) feature to allow high priority login (t.i. with a process priority of e.g. 16) ? And I don't mean changing the sysuaf prio.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 21 Apr 2005 01:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529086#M68007</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-21T01:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529087#M68008</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;how about AMDS/Availability manager - no login required to stop looping processes or just lower their priority or suspend them.&lt;BR /&gt;&lt;BR /&gt;And force a crash, so you could analyse the reason for the loop ;-)&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Apr 2005 02:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529087#M68008</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-04-21T02:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529088#M68009</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;Yes it's a solution but :&lt;BR /&gt;1) AMDS could not lower the priority because the processes wasn't listening&lt;BR /&gt;2) I like to investigate before I crash the system&lt;BR /&gt;&lt;BR /&gt;No, I would like a high pri login.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 21 Apr 2005 02:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529088#M68009</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-21T02:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529089#M68010</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;Can you modify your priorty in the UAF (to 16) then drop it&lt;BR /&gt;manually once you login? The login process starts out with&lt;BR /&gt;a higher priority then drops it to the UAF value later in&lt;BR /&gt;the login process.&lt;BR /&gt;At least this way you should always be able to login in a&lt;BR /&gt;reasonable time then investigate the other high priority&lt;BR /&gt;process.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 02:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529089#M68010</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-04-21T02:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529090#M68011</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;What we use over here is what we call the "noodrem" (emergency break in English).&lt;BR /&gt;We define a dedicated LAT service on each node bound to a LAT port.&lt;BR /&gt;We then start a detached process (with prio 20) that listens on the LAT port.&lt;BR /&gt;Whenever someone tries to connect to the service, the process prompts for a password and if valid lets the user in, and goes into dialogue with her/him, executing whatever DCL command is given.&lt;BR /&gt;&lt;BR /&gt;Using this mechanism we were able to intervene even on systems that had CPU eating (application) processes at prio 15.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Thu, 21 Apr 2005 02:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529090#M68011</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-04-21T02:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529091#M68012</link>
      <description>David&lt;BR /&gt;&lt;BR /&gt;I thought of that. But what about detached processes that don't execute login.com ?&lt;BR /&gt;I also dont't want to be in high prio during login unless I need it.&lt;BR /&gt;&lt;BR /&gt;No. Now you can do username/cli/disk/table/new_pass (help login). I hoped on something like /prio= to be undocumented.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 21 Apr 2005 02:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529091#M68012</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-21T02:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529092#M68013</link>
      <description>Very nice Kris. No problem with LATACP only running at 12 ?&lt;BR /&gt;Another solution could be that a system parameter indicated the priority of a console login. Of course this would be no solution for work stations.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 21 Apr 2005 02:58:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529092#M68013</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-21T02:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529093#M68014</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;Maybe I have misunderstood your problem?&lt;BR /&gt;You encounter a need to login because of a looping process.&lt;BR /&gt;You attempt an interactive login but it takes too long&lt;BR /&gt;because of this looping process.&lt;BR /&gt;You want to be able to login quickly to investigate the&lt;BR /&gt;looping process.&lt;BR /&gt;If you have "special" username for this purpose with a priority&lt;BR /&gt;of 16 in the UAF then you will be able to do this.&lt;BR /&gt;I don't understand the reference to detached processes and&lt;BR /&gt;the use of login.com&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 02:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529093#M68014</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-04-21T02:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529094#M68015</link>
      <description>Elevating base priority in SYSUAF won't help. It's the login process that is started on unsolicited input that needs to get high priority. That constitutes a problem, if I deduct from what I hope recall correctly:&lt;BR /&gt;Since a new process is considered to reside in state COMO (outswapped), SWAPPER is involved in creating the process - and SWAPPER runs in prio 16....&lt;BR /&gt;Nor would it help much if the runaway process runs on even higher priority. You would face the same problem, if not worse, since SWAPPER wouldn't even be able to swap the process in!&lt;BR /&gt;&lt;BR /&gt;The _only_ solution would be a redesign of the whole login process, bypassing swapper. I don't think THAT is a reasonable solution.&lt;BR /&gt;&lt;BR /&gt;As an alternative, you _could_ think of a (high priority), memory resident listener process you could connect to, that allows you to do the things you need to do (login, for instance).&lt;BR /&gt;&lt;BR /&gt;Willem&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 03:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529094#M68015</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-04-21T03:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529095#M68016</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;LOGINOUT is started using a base priority of DEFPRI (SYSGEN parameter) - hardcoded.&lt;BR /&gt;&lt;BR /&gt;You could suppress execution of your LOGIN.COM using /NOCOMMAND (i.e. enter Username: wim/NOCOMMAND) - saving some time.&lt;BR /&gt;&lt;BR /&gt;Or have an 'emergency' account with higher base prio in SYSUAF.&lt;BR /&gt;&lt;BR /&gt;Maybe consider to play with Loginout callouts ?&lt;BR /&gt;&lt;BR /&gt;If AMDS can't reduce the priority of the looping process, then nothing else can. As indicated by STOP/ID failing to stop your looping process as well.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Apr 2005 03:03:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529095#M68016</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-04-21T03:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529096#M68017</link>
      <description>I use AMDS to lower the process priotiy to 0 then I login normally and investigate. On one system I worked on the console used to be left logged on as a user with a elevated base priority - the console was in a locked room.&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 03:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529096#M68017</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-04-21T03:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529097#M68018</link>
      <description>I try to always have a decterm logged in with a set proc/prio=high issued.</description>
      <pubDate>Thu, 21 Apr 2005 03:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529097#M68018</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2005-04-21T03:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529098#M68019</link>
      <description>Just noticed : rlogin doesn't use the prio out of the sysuaf.&lt;BR /&gt;And with DCL it is difficult to generate a real cpu loop that makes login slow.&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 05:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529098#M68019</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-21T05:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529099#M68020</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;rlogin doesn't use the prio out of the sysuaf.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;What observation makes you say this ?&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;And with DCL it is difficult to generate a real cpu loop that makes login slow&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Just set the base priority of your DCL loop process at real-time prioriy (16 or higher), this will prevent any process getting scheduled at a lower prio. Make sure you do this on a test system and then try to reduce the prio with AMDS.&lt;BR /&gt;&lt;BR /&gt;WARNING: a looping process at prio 16 or higher will prevent ALL other processes from getting scheduled. It will effectively make your system appear 'hung', driver activity, cluster-connections etc. continue to work. As should AMDS !&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Apr 2005 06:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529099#M68020</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-04-21T06:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529100#M68021</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;I did a show proc after login. All sessions via decnet and lat have 20. rlogin only 4.&lt;BR /&gt;&lt;BR /&gt;I tried jobs at prio 18 with a search command in a loop. After 15 batch jobs it was still not as slow as I was looking for. &lt;BR /&gt;&lt;BR /&gt;But I left it running for some time and eventually it was very slow. But before that, I could do logins without any problem (taking 30 sec = 3 minuts).&lt;BR /&gt;&lt;BR /&gt;There was no big difference in login time between a user with base prio 20 and 4 (in sysuaf).&lt;BR /&gt;&lt;BR /&gt;I tested on an alpha 500 with VMS 7.3 and 8.2.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 21 Apr 2005 06:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529100#M68021</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-21T06:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529101#M68022</link>
      <description>If you want a DCL example...&lt;BR /&gt;&lt;BR /&gt;In a decterm session&lt;BR /&gt;$ create cpuhog.com&lt;BR /&gt;$loop: goto loop&lt;BR /&gt;^Z&lt;BR /&gt;$ set process/priority=12&lt;BR /&gt;$ @cpuhog&lt;BR /&gt;&lt;BR /&gt;This will slow it down&lt;BR /&gt;(I have tried this. To exit just ^C)&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 21 Apr 2005 06:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529101#M68022</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-04-21T06:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529102#M68023</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;so RLOGIN does not seem to go through SYSUAF.&lt;BR /&gt;&lt;BR /&gt;If you use SEARCH to produce a 'loop', your process will do enough IOs and wait at LEF to get other processes a chance to run. If you would just program a DCL loop like:&lt;BR /&gt;&lt;BR /&gt;$ loop:&lt;BR /&gt;$ GOTO loop&lt;BR /&gt;&lt;BR /&gt;at prio 16 or higher, you would lock out your system. But it would be a good test case for AMDS ;-)&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Apr 2005 06:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529102#M68023</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-04-21T06:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529103#M68024</link>
      <description>a search command in your dcl loop will do I/O and therefore will allow user processes to use the cpu while its waiting for the I/O to complete. Try &lt;BR /&gt;$L1: GOTO L1&lt;BR /&gt;at priority 18</description>
      <pubDate>Thu, 21 Apr 2005 06:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529103#M68024</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-04-21T06:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529104#M68025</link>
      <description>To get a good cpu loop the label and goto need to be on 1 line. And yes, it loops.&lt;BR /&gt;&lt;BR /&gt;Prio=4 process didn't get 1 cycle.&lt;BR /&gt;&lt;BR /&gt;Prio=20 sessions did (of course).&lt;BR /&gt;&lt;BR /&gt;The reset button of the 500 stopped functioning.&lt;BR /&gt;&lt;BR /&gt;AMDS was able to lower the priority.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 21 Apr 2005 06:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529104#M68025</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-21T06:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Login with a high priority</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529105#M68026</link>
      <description>&lt;BR /&gt;btw... low priority processes can significantly reduce the login time for high priority processes if they happen to be holding a bucket lock on sysuaf or rightlist.&lt;BR /&gt;Typically you'd see this with batch jobs calling vmsmail.&lt;BR /&gt;&lt;BR /&gt;Some high priority looping jobs may pre-empt the CPU fom a batch job holding a critical lock giving it no opportunity to release it again, hurting a third process trying to login.&lt;BR /&gt;&lt;BR /&gt;RMS bucket locks are transitory, and will come and go as needed without process control, but it does require cpu cycles to make them go.&lt;BR /&gt;&lt;BR /&gt;Sysgen param pixscan tries to address this, giving low priority jobs an occasional priority boost.&lt;BR /&gt;&lt;BR /&gt;If such lock is slowing you down (but admittedly it does not sound applicable here), then global buffers on sysuaf/rightslist may help because as of 7.3-2 ? those will also enable concurrent reads on buckets!&lt;BR /&gt;&lt;BR /&gt;Maybe I should point out that newadditional benefit in: &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=861351" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=861351&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2005 08:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/login-with-a-high-priority/m-p/3529105#M68026</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-21T08:20:54Z</dc:date>
    </item>
  </channel>
</rss>

