<?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: Network file copy hangs in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358683#M93380</link>
    <description>&amp;gt;&amp;gt; Can you please explain me how find &lt;PID-OF-HUNG-JOB&gt; ?? With "show queue/all" I don't see any pid, only entry nr!!!&lt;BR /&gt;&lt;BR /&gt;Use $ SHOW SYSTEM /BATCH&lt;BR /&gt;That will allow you to see all batch processes with their PID and Process Names.&lt;BR /&gt;&lt;BR /&gt;If you did not do anything special, then the batch jobs process names will be BATCH_&lt;ENTRY&gt;.&lt;BR /&gt;&lt;BR /&gt;This can be used in ANAL/SYS... SET PROC BATCH_12345&lt;BR /&gt;&lt;BR /&gt;But before you go digging that deep, and look for something that perhaps is broken, why not assume you are simply doing something wrong.&lt;BR /&gt;&lt;BR /&gt;Let's see that SCRIPT!&lt;BR /&gt;Is there a WAIT or SYNC command in there?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; For the first 3 o 4 times copy is ok, THEN COPY HANGS&lt;BR /&gt;&lt;BR /&gt;Since the jobs remain executing you are likely to run into the JOB_LIMIT for the batch queu being used.&lt;BR /&gt;Check with $SHOW QUE &lt;QUEUE_NAME&gt; /FULL&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;/QUEUE_NAME&gt;&lt;/ENTRY&gt;&lt;/PID-OF-HUNG-JOB&gt;</description>
    <pubDate>Sat, 14 Feb 2009 16:59:26 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2009-02-14T16:59:26Z</dc:date>
    <item>
      <title>Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358676#M93373</link>
      <description>&lt;BR /&gt;Good morning all,&lt;BR /&gt;I'm going crazy with a OpenVMS network copy problem.&lt;BR /&gt;&lt;BR /&gt;I need to copy files via network between Alpha Server ES40 and Itanium RX3600. Both machine has OpenVMS as Operation System (ES40 = Version 7 and Itanium version 8). &lt;BR /&gt;&lt;BR /&gt;Systems are properly connected through Catalyst 3750 and they have no problem on network settings.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The fact:&lt;BR /&gt;ES40 gets file from RX3600, then If I try to MANUALLY copy/get 1 file using FTP or DECNET I have no problem. I'm using following command on ES40 (BIWIXX):&lt;BR /&gt;&lt;BR /&gt;copy SMWIXX::SYS$LOGIN:FILE.DAT SYS$LOGIN:FILE.DAT /LOG&lt;BR /&gt;&lt;BR /&gt;IT WORKS!!!!&lt;BR /&gt;&lt;BR /&gt;So, since I need to copy these files every 5 minutes, I created a script with above command. The script is very simple. Submit itself each 5 minutes and copy the file.&lt;BR /&gt;&lt;BR /&gt;For the first 3 o 4 times copy is ok, THEN COPY HANGS!!!!! Also the script remain in EXECUTING, and the only way is kill it manually.&lt;BR /&gt;&lt;BR /&gt;I tried also using FTP copy like "COPY /FTP....." same problem...&lt;BR /&gt;&lt;BR /&gt;Please help!&lt;BR /&gt;Thanks&lt;BR /&gt;   &lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2009 09:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358676#M93373</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2009-02-14T09:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358677#M93374</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;  welcome to the itrc openvms forum.&lt;BR /&gt;&lt;BR /&gt;you say the copy hangs , have you done a show process/cont/id=nnnn what does it show ?&lt;BR /&gt;a simple script - could you post this up&lt;BR /&gt;when this happens are network communications between the systems normal - try continuous ping or dtsend in decnet from both ends.&lt;BR /&gt;what else uses 'sys$login:file.dat' that you have to copy this file every 5 minutes is that process accessing/updating the file ?&lt;BR /&gt;have you tried a set proc/dump=now/id=nnnn&lt;BR /&gt;and done an anal/proc on it ?&lt;BR /&gt;what exact versions of vms and tcpip services are you using and patch levels ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2009 09:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358677#M93374</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-02-14T09:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358678#M93375</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;look at the 'hung' batch job with SDA:&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; SET PROC/ID=&lt;PID-OF-HUNG-JOB&gt;&lt;BR /&gt;SDA&amp;gt; SHOW PROC/CHAN&lt;BR /&gt;... any 'busy' devices ?&lt;BR /&gt;SDA&amp;gt; SHOW PROC/LOCK&lt;BR /&gt;... any 'waiting' lock ?&lt;BR /&gt;SDA&amp;gt; EXIT&lt;BR /&gt;&lt;BR /&gt;What is the state of the process ?&lt;BR /&gt;&lt;BR /&gt;$ SHOW SYS/PROC=&lt;NAME-OF-HANGING-JOB&gt;&lt;BR /&gt;&lt;BR /&gt;Does $ MC LANCP SHOW DEV/INT show any problems on the LAN interfaces on each node ? Are speed/duplex settings o.k. ?&lt;BR /&gt;&lt;BR /&gt;From your description, the problem affects both DECnet and TCPIP, so it must either be a problem in the lower layers (LAN) or higher up (XQP, disk, quotas ?).&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/NAME-OF-HANGING-JOB&gt;&lt;/PID-OF-HUNG-JOB&gt;</description>
      <pubDate>Sat, 14 Feb 2009 10:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358678#M93375</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-02-14T10:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358679#M93376</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;Welcome to the ITRC OpenVMS Forum!&lt;BR /&gt;&lt;BR /&gt;It may be counter-intuitive, but this is likely an example of "Just because it works, does not mean that it is not broken".&lt;BR /&gt;&lt;BR /&gt;As has been noted by Mark and Volker, many software settings can cause "hangs". In my personal experience, I have often seen this caused by a mis-configured network, particularly issues with mis-matches between half/full duplex settings. These cause packets to be unseen and thus dropped, resulting in long timeouts.&lt;BR /&gt;&lt;BR /&gt;This problem can be very variable depending upon load. It is not uncommon for some tests to work, and others to fail, which is quite confusing.&lt;BR /&gt;&lt;BR /&gt;For a start, check each piece of equipment in the path and ensure that it is set to FULL duplex. Other than sheer analysis, WireShark or another LAN analyzer is often my tool of choice to understand where/when the packet is being dropped.&lt;BR /&gt;&lt;BR /&gt;On the software side, start by checking the SYLOGIN.COM and LOGIN.COM files. Login processing that is inappropriate for network file copies can also cause problems.&lt;BR /&gt;&lt;BR /&gt;As usual, more informatiion than "hung" is needed to diagnose.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Sat, 14 Feb 2009 12:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358679#M93376</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-02-14T12:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358680#M93377</link>
      <description>&lt;BR /&gt;Thanks to all for a very precious tricks.&lt;BR /&gt;Now I can analyze better the problem, and then report here the result and more information as soon as possible.&lt;BR /&gt;&lt;BR /&gt;Again Thanks! &lt;BR /&gt;Gianluca Rossi&lt;BR /&gt;Italy/Milan&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2009 15:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358680#M93377</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2009-02-14T15:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358681#M93378</link>
      <description>Q: you say the copy hangs , have you done a show process/cont/id=nnnn what does it show ?&lt;BR /&gt;&lt;BR /&gt;A: I don't have pid (nnnn), since copy command hangs when script is in queue, and this is the result:&lt;BR /&gt;  Entry  Jobname         Username             Status&lt;BR /&gt;  -----  -------         --------             ------&lt;BR /&gt;    311  GET_LOGSRV_NEW  SMSC                 Executing&lt;BR /&gt;    314  GET_LOGSRV_NEW  SMSC                 Executing&lt;BR /&gt;    317  GET_LOGSRV_NEW  SMSC                 Executing&lt;BR /&gt;&lt;BR /&gt;Scripts in queue remain in Executing and if I check the related log file I see last command as COPY.....&lt;BR /&gt;Script is very simple, just submit itself every 5 minutes and perform a copy operation.&lt;BR /&gt;&lt;BR /&gt;When the copy hangs no matter for remote file, it will be copied by next script execution. THE ONLY PROBLEM is the multiple instance in executing.&lt;BR /&gt;Is there a way to automatically kill it?? Otherwise I need to manually kill every times!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Q: when this happens are network communications between the systems normal - try continuous ping or dtsend in decnet from both ends.&lt;BR /&gt;A: Yes, network comunication is ok. I'm currently and remotely connected to both machines:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Q: have you tried a set proc/dump=now/id=nnnn and done an anal/proc on it ?&lt;BR /&gt;A: Again, I don't have a pid to analyze. Is there a way to find it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Q: what exact versions of vms and tcpip services are you using and patch levels ?&lt;BR /&gt;&lt;BR /&gt;OpenVMS V7.3-1 = ES40&lt;BR /&gt;TCP VER: Compaq TCP/IP Services for OpenVMS Alpha Version V5.3 - ECO 2&lt;BR /&gt;&lt;BR /&gt;OpenVMS V8.3-1H1 = RX3600&lt;BR /&gt;TCP VER: HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.6 - ECO 2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Q: Does $ MC LANCP SHOW DEV/INT show any problems on the LAN interfaces on each node ? Are speed/duplex settings o.k. ?&lt;BR /&gt;A: Yes, speed is ok. &lt;BR /&gt;The only issue should be:&lt;BR /&gt;ES40 = SPEED100 FULL DUPLEX  &amp;lt;-&amp;gt; SPPED100 FULL DUPLEX Catalyst3750 SPEED1000 FULL DUPLEX &amp;lt;-&amp;gt; SPEED1000 FULL DUPLEX RX3600&lt;BR /&gt;&lt;BR /&gt;Is it clear????&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; SET PROC/ID=&lt;PID-OF-HUNG-JOB&gt;&lt;BR /&gt;SDA&amp;gt; SHOW PROC/CHAN&lt;BR /&gt;... any 'busy' devices ?&lt;BR /&gt;SDA&amp;gt; SHOW PROC/LOCK&lt;BR /&gt;... any 'waiting' lock ?&lt;BR /&gt;SDA&amp;gt; EXIT&lt;BR /&gt;&lt;BR /&gt;Can you please explain me how find &lt;PID-OF-HUNG-JOB&gt; ?? With "show queue/all" I don't see any pid, only entry nr!!!&lt;/PID-OF-HUNG-JOB&gt;&lt;/PID-OF-HUNG-JOB&gt;</description>
      <pubDate>Sat, 14 Feb 2009 16:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358681#M93378</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2009-02-14T16:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358682#M93379</link>
      <description>Gianluca,&lt;BR /&gt;&lt;BR /&gt;use $ SHOW SYS/BATCH to find the currently executing batch jobs in your system. The process name may contain the batch entry number, e.g. BATCH_311. This will give you the Process-ID of your batch-jobs and also show you the state.&lt;BR /&gt;&lt;BR /&gt;With a little bit of DCL programming (F$GETQUI), you could find the 'other' GET_LOGSRV_NEW batch jobs in the queue and DELETE them.&lt;BR /&gt;&lt;BR /&gt;$ MC LANCP SHOW DEV/INT will show the recent messages issued by the LAN driver at the bottom of the display. If there are no 'possible duplex mismatch' errors, the speed settings should be o.k.&lt;BR /&gt;&lt;BR /&gt;Now that you know ho to obtain the process-ids, you can answer the other questions as well...&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 14 Feb 2009 16:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358682#M93379</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-02-14T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358683#M93380</link>
      <description>&amp;gt;&amp;gt; Can you please explain me how find &lt;PID-OF-HUNG-JOB&gt; ?? With "show queue/all" I don't see any pid, only entry nr!!!&lt;BR /&gt;&lt;BR /&gt;Use $ SHOW SYSTEM /BATCH&lt;BR /&gt;That will allow you to see all batch processes with their PID and Process Names.&lt;BR /&gt;&lt;BR /&gt;If you did not do anything special, then the batch jobs process names will be BATCH_&lt;ENTRY&gt;.&lt;BR /&gt;&lt;BR /&gt;This can be used in ANAL/SYS... SET PROC BATCH_12345&lt;BR /&gt;&lt;BR /&gt;But before you go digging that deep, and look for something that perhaps is broken, why not assume you are simply doing something wrong.&lt;BR /&gt;&lt;BR /&gt;Let's see that SCRIPT!&lt;BR /&gt;Is there a WAIT or SYNC command in there?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; For the first 3 o 4 times copy is ok, THEN COPY HANGS&lt;BR /&gt;&lt;BR /&gt;Since the jobs remain executing you are likely to run into the JOB_LIMIT for the batch queu being used.&lt;BR /&gt;Check with $SHOW QUE &lt;QUEUE_NAME&gt; /FULL&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;/QUEUE_NAME&gt;&lt;/ENTRY&gt;&lt;/PID-OF-HUNG-JOB&gt;</description>
      <pubDate>Sat, 14 Feb 2009 16:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358683#M93380</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-02-14T16:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358684#M93381</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt; the log file will only show more when the job has has filled up it's buffer and flushed it down to the log file or it completes.&lt;BR /&gt;do need to see the script though, it looks like you do the resubmit before the copy has completed ?&lt;BR /&gt;you have'nt said what creates/writes to this file.dat&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2009 18:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358684#M93381</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-02-14T18:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358685#M93382</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;also on the system you are getting the file from could you do a&lt;BR /&gt;  $ sh dev/files 'disk_where_file_is'&lt;BR /&gt; to see whether anything is accessing that file ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2009 18:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358685#M93382</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-02-14T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358686#M93383</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;How about you replace your copy to an other node with a copy to the NULL devlce (NL:) and see if the script itself work huh?&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2009 19:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358686#M93383</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-02-14T19:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Network file copy hangs</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358687#M93384</link>
      <description>&lt;BR /&gt;Ok definitely issue solved, let me explain what's the problem. ES40 is a two node's cluster (NODE1 + NODE2). Copy Command hangs only when issued on NODE2. Scripts hangs only when start on NODE2_BATCH.&lt;BR /&gt;&lt;BR /&gt;Since script was submitted on SYS$BATCH, system starts it alternately on NODE1_BATCH (OK) and NODE2_BATCH (NOT OK).&lt;BR /&gt;&lt;BR /&gt;So I checked NODE2 Ethernet interface's  configuration and.... bang! Interface was set to SPEED 100 HALF DUPLEX!&lt;BR /&gt;&lt;BR /&gt;That's why sometimes copy was ok and sometimes copy hangs!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*** LET ME THANKS ALL PEOPLE THAT DRIVE ME TO THE SOLUTION LEARNING A LOT OF COMMANDS *** &lt;BR /&gt;10 points to all people that reply me and explain how to solve the issue!</description>
      <pubDate>Sun, 15 Feb 2009 09:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/network-file-copy-hangs/m-p/4358687#M93384</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2009-02-15T09:26:14Z</dc:date>
    </item>
  </channel>
</rss>

