<?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: The DIRECTORY command is freezing on a certain directory in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033400#M12793</link>
    <description>Yaron,&lt;BR /&gt;&lt;BR /&gt;if the process hangs executing the DIRECTORY command, does it consume any CPU time or execute any DIRIOs or BUFIOs when viewed with SHOW PROC/CONT ?&lt;BR /&gt;&lt;BR /&gt;You need to look at the process with SDA:&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; SET PROC/ID=&lt;PID-OF-HANGING-PROCESS&gt;&lt;BR /&gt;SDA&amp;gt; SHOW PROC/LOCK&lt;BR /&gt;&lt;BR /&gt;is the first lock shown in WAITING FOR state ? If so, don't continue, you found why the process is stuck. It's waiting for a lock - probably a file system (XQP) lock.&lt;BR /&gt;&lt;BR /&gt;Else do SDA&amp;gt; SHOW PROC/CHAN &lt;BR /&gt;Any busy channel ?&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/PID-OF-HANGING-PROCESS&gt;</description>
    <pubDate>Fri, 06 Jul 2007 10:49:05 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2007-07-06T10:49:05Z</dc:date>
    <item>
      <title>The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033396#M12789</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a problem that when I’m trying to display the content of a certain directory with the DIR command, it either displays 2 files there or freezes. When I say freezes I mean the DIR command is stuck in the middle of execution. If I do, from other session, the SHOW PROC/ID=&amp;lt;&amp;gt;/CONT I see that the process does nothing at all with the &lt;BR /&gt;DSA0:[SYS1.SYSCOMMON.][SYSEXE]DIRECTORY.EXE displayed at the bottom.&lt;BR /&gt;If I try to kill the process with STOP/ID=&amp;lt;&amp;gt; I get no error message, the process however, continues to stay in the operating system but without the DIR command. The SHOW DEV command on the disk shows no problem and I dont see other indications. The machine is VAX with OpenVMS version 7.1. What could possibly be the problem? What else should I check?&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jul 2007 08:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033396#M12789</guid>
      <dc:creator>yaron1</dc:creator>
      <dc:date>2007-07-06T08:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033397#M12790</link>
      <description>&lt;BR /&gt;You could have a broken directory, or it could have be (even less likely) having a strange problem accessing a file header pointed to by the diretory.&lt;BR /&gt;&lt;BR /&gt;Is that DIR command command 'naked' or equated to a DIRECOTRY/something where something is anyting other than /FILE_ID?&lt;BR /&gt;&lt;BR /&gt;In other words, when you issue the DIR on a working directory, does it return just the names and/or file_id (x,y,z) ??&lt;BR /&gt;If it show anything else, then re-try with:&lt;BR /&gt;$DIREXXX/FILE &lt;BR /&gt;&lt;BR /&gt;The next tool to try is $ DUMP/DIREC&lt;BR /&gt;&lt;BR /&gt;And you may want to run $ ANAL/DISK&lt;BR /&gt;&lt;BR /&gt;If the directory is broken, then you may want to check whether DFU can deal with it, or just blow it away and let ANAL/DISK/REPAIR pick up its files and toss them in SYSLOST&lt;BR /&gt;&lt;BR /&gt;Before the delete, with ANAL/DISK, run a /REPAIR to find 'other' problems and currently lost file into SYSLOST.&lt;BR /&gt;Move those (if any) to a fresh dircetory&lt;BR /&gt;&lt;BR /&gt;Now &lt;BR /&gt;$SET FILE/NODIR bad-dir.dir&lt;BR /&gt;$COPY bad-dir.dir otherdisk:bad-dir.save&lt;BR /&gt;$DELETE bad-dir.dir.&lt;BR /&gt;$ANAL/DISK/REPAIR...&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jul 2007 08:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033397#M12790</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-07-06T08:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033398#M12791</link>
      <description>The DIR command is not naked, it is:&lt;BR /&gt;DIRECTORY/SIZE=ALL/DATE&lt;BR /&gt;What is SYSLOST? &lt;BR /&gt;&lt;BR /&gt;Thanks, Yaron.</description>
      <pubDate>Fri, 06 Jul 2007 09:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033398#M12791</guid>
      <dc:creator>yaron1</dc:creator>
      <dc:date>2007-07-06T09:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033399#M12792</link>
      <description>"What is SYSLOST? "&lt;BR /&gt;&lt;BR /&gt;If you do ANALYZE/DISK/REPAIR DSA0:&lt;BR /&gt;and files are found which are not listed in a directory then DSA0:[SYSLOST] would be created  and the files listed there.&lt;BR /&gt;&lt;BR /&gt;I would start with doing a &lt;BR /&gt;&lt;BR /&gt;ANALYZE/DISK DSA0: &lt;BR /&gt;&lt;BR /&gt;and see what it reports.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:52:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033399#M12792</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-07-06T09:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033400#M12793</link>
      <description>Yaron,&lt;BR /&gt;&lt;BR /&gt;if the process hangs executing the DIRECTORY command, does it consume any CPU time or execute any DIRIOs or BUFIOs when viewed with SHOW PROC/CONT ?&lt;BR /&gt;&lt;BR /&gt;You need to look at the process with SDA:&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; SET PROC/ID=&lt;PID-OF-HANGING-PROCESS&gt;&lt;BR /&gt;SDA&amp;gt; SHOW PROC/LOCK&lt;BR /&gt;&lt;BR /&gt;is the first lock shown in WAITING FOR state ? If so, don't continue, you found why the process is stuck. It's waiting for a lock - probably a file system (XQP) lock.&lt;BR /&gt;&lt;BR /&gt;Else do SDA&amp;gt; SHOW PROC/CHAN &lt;BR /&gt;Any busy channel ?&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/PID-OF-HANGING-PROCESS&gt;</description>
      <pubDate>Fri, 06 Jul 2007 10:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033400#M12793</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-06T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033401#M12794</link>
      <description>&lt;!--!*#--&gt;&amp;gt;&amp;gt; The DIR command is not naked, it is:&lt;BR /&gt;DIRECTORY/SIZE=ALL/DATE&lt;BR /&gt;&lt;BR /&gt;So now engage brain and continue...&lt;BR /&gt;&lt;BR /&gt;Does a simple DIREXXX (the XXX to avoid using a symbol) or DIREXXX/FILE work or not?&lt;BR /&gt;&lt;BR /&gt;If that works, the problem is with the file.&lt;BR /&gt;If it doesn't work the problem is with the directory.&lt;BR /&gt;&lt;BR /&gt;A broken directory allthough maybe annoying and tedious has straighforward solutions as suggested.&lt;BR /&gt;&lt;BR /&gt;Trouble with accessing the actual file is a wide open problem. If it was my system then I would allow directory to lock up again and then check with SDA:&lt;BR /&gt;&lt;BR /&gt;$SET PROC/NAME=TEST&lt;BR /&gt;$DIR ...&lt;BR /&gt;&lt;BR /&gt;In an other window&lt;BR /&gt;&lt;BR /&gt;$ANAL/SYSTEM&lt;BR /&gt;SDA&amp;gt; SET  PROC TEST&lt;BR /&gt;SDA&amp;gt; SHOW PROC /CHAN  ! Look for busy&lt;BR /&gt;SDA&amp;gt; SHOW PROC /LOCK  ! Look for waiting&lt;BR /&gt;SDA&amp;gt; ... ????&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jul 2007 10:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033401#M12794</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-07-06T10:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033402#M12795</link>
      <description>hi yaron1,&lt;BR /&gt;     you might try and anal/rms of the directory file itself, and/or open it up&lt;BR /&gt;yourself. eg&lt;BR /&gt;&lt;BR /&gt;$ open/read xx temp.dir&lt;BR /&gt;$ read xx x&lt;BR /&gt;$ sho sym x&lt;BR /&gt;  X = "....CUBA....Â£#.......#...."&lt;BR /&gt;$ read xx x&lt;BR /&gt;$ sho sym x&lt;BR /&gt;  X = "...-DEC-AXPVMS-VMS732_TZ-V0300--4.PCSI$COMPRESSED...Ã ....."&lt;BR /&gt;&lt;BR /&gt;and look for something bashed. But I'd do&lt;BR /&gt;that post mortem for curiosity. it could&lt;BR /&gt;be the file thats being looked at as suggested, and the good sda instructions given will tell you whats going on.&lt;BR /&gt;&lt;BR /&gt;Dean</description>
      <pubDate>Fri, 06 Jul 2007 12:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033402#M12795</guid>
      <dc:creator>Dean McGorrill</dc:creator>
      <dc:date>2007-07-06T12:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033403#M12796</link>
      <description>There are various nasty bugs in OpenVMS VAX V7.1 that could trigger this.  Start with "current" ECOs; all mandatory ECOs.  Anything marked mandatory, and anything related to I/O or host-based volume shadowing (HBVS) or caching.&lt;BR /&gt;&lt;BR /&gt;There are some OpenVMS bugs here that can and do stomp on data.  IIRC, there was a nasty CONVERT bug, for instance, back in this general range.&lt;BR /&gt;&lt;BR /&gt;It's also possible this is a hardware problem.&lt;BR /&gt;&lt;BR /&gt;I'd tend to look to apply the current ECOs, then move the data off the disk with BACKUP (since I'm sure you don't want to loose the data), either disk-to-disk or disk-to-tape-to-disk, and use the recreated disk to see if the problem still lurks.  This both to verify the problem, and to acquire a reliable and complete and verified disk BACKUP.&lt;BR /&gt;&lt;BR /&gt;If the problem persists after the shot-gun BACKUP and ECO (or an upgrade to a more current OpenVMS VAX V7.3) and you're not showing errors in the error log and/or SHOW ERROR, I'd probably then force a system crash during the hang, and head off to look at what was locked up.  This could be any number of factors, but caching and locks would be my initial paths of investigation within ANALYZE/CRASH.&lt;BR /&gt;&lt;BR /&gt;If this system is critical, do confirm the BACKUPs are current, restorable and are valid, and also look at getting the configuration to a more current version and preferably to a more current architecture.&lt;BR /&gt;&lt;BR /&gt;Or get somebody in to look at the hang.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
      <pubDate>Sun, 08 Jul 2007 14:17:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033403#M12796</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-08T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033404#M12797</link>
      <description>And don't forget to tell us what it was. &lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 10 Jul 2007 09:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033404#M12797</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-07-10T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033405#M12798</link>
      <description>Hello,&lt;BR /&gt;It sure looks like a header, directory (.Dir), and/or disk issue... You mentioned&lt;BR /&gt;that sometimes 2 files are shown, then the "freeze". Well, I had a similar issue but my directory command took several minutes&lt;BR /&gt;to "display" files slowly but surely( lost headers, marked for delete, etc... were seen from the analyze/disk). The root cause on my 7.2 system was that there were 15,000+ files in the directory desired. Having confirmed a valid backup, I started the purge event. It took a while but once I stopped the purge, performed a Analyze/disk/repair, performance returned.&lt;BR /&gt;&lt;BR /&gt;Can you perform a directory command elsewhere on the particular device without the freeze?&lt;BR /&gt;&lt;BR /&gt;-- Tony</description>
      <pubDate>Thu, 12 Jul 2007 20:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033405#M12798</guid>
      <dc:creator>Tony_289</dc:creator>
      <dc:date>2007-07-12T20:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: The DIRECTORY command is freezing on a certain directory</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033406#M12799</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It was indeed a hardware problem. A problem with a disk controller. &lt;BR /&gt;&lt;BR /&gt;Thanks you all for the answers. &lt;BR /&gt;&lt;BR /&gt;Yaron. &lt;BR /&gt;</description>
      <pubDate>Sat, 14 Jul 2007 15:08:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/the-directory-command-is-freezing-on-a-certain-directory/m-p/4033406#M12799</guid>
      <dc:creator>yaron1</dc:creator>
      <dc:date>2007-07-14T15:08:24Z</dc:date>
    </item>
  </channel>
</rss>

