<?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: Command hangs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760544#M259282</link>
    <description>Does the problem happen when you run 'devnm' on the command line, or only inside your script?&lt;BR /&gt;&lt;BR /&gt;If only inside the script, perhaps there's a problem with how devnm is being called.  Add a line 'set -x' at the beginning of the script to log the calls it is actually making and see if you can see anything obviously wrong or odd.&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
    <pubDate>Wed, 29 Mar 2006 04:40:15 GMT</pubDate>
    <dc:creator>Andrew Merritt_2</dc:creator>
    <dc:date>2006-03-29T04:40:15Z</dc:date>
    <item>
      <title>Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760536#M259274</link>
      <description>Hello folks,&lt;BR /&gt;I have a small but nagging problem. I am using the HPUX command “devnm” within a shell script to identify the device file where a particular file system resides. This is very handy when you try to identify de devices in a long list of file systems, extracting this data using commands such as bdf in a pipe is not always successful due to some of the naming convention. Now that you know the background info here is the problem. When I run the command with the /usr parameter or any other parameter it hangs. Any attempt to kill the process shown by “ps” fails, even the good old kill -9 (kill –s KILL ) fails to kill the process. The process is not reported as a zombie so it looks like is still running. Nothing much has changed in the system, there have been no patches or fixes installed since or prior to the problem starting. The file systems are in SAN storage and can be accessed by the applications without problems. What could be causing the “devnm” command to hang? any ideas? Thank you for your help.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Mar 2006 10:31:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760536#M259274</guid>
      <dc:creator>Roboz</dc:creator>
      <dc:date>2006-03-28T10:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760537#M259275</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you can't kill the process with '-9' then the process is in kernel code, probably waiting on an I/O.&lt;BR /&gt;&lt;BR /&gt;Perhaps you would post your script or a decomposition of it that fails too.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 28 Mar 2006 10:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760537#M259275</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-03-28T10:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760538#M259276</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;JRF said what I'd have said.&lt;BR /&gt;&lt;BR /&gt;If kill -9 can't kill it, the Parent process ID is probably 1.&lt;BR /&gt;&lt;BR /&gt;You can't kill process 1 because the whole system would go down.&lt;BR /&gt;&lt;BR /&gt;Therefore you either wait for the I/O to complete, if thats the issue or reboot your system.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 28 Mar 2006 10:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760538#M259276</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-28T10:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760539#M259277</link>
      <description>The problem is that the process is blocking waiting on I/O which has a higher priority than signal handling. The process cannot process your signal request (kill) until the i/o request is satisfied. I would avoid using devnm because 1) it is a non-standard command 2) it recursively descends the /dev tree so it is much more likely to hang (again waiting on i/o) than commands which examine mnttab (df, bdf).</description>
      <pubDate>Tue, 28 Mar 2006 10:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760539#M259277</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-28T10:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760540#M259278</link>
      <description>If you are running 11.11, make sure you have the devnm patch installed --&amp;gt; PHCO_28941</description>
      <pubDate>Tue, 28 Mar 2006 11:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760540#M259278</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-03-28T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760541#M259279</link>
      <description>Hey folks thanks for your prompt reply...&lt;BR /&gt;I have figured that the devnm process in in kernel mode with a high priority... nice to know you agree BUT my problem persist.... What can be causing the command to hang? Waiting for i/o ? but it had done that always and now it fails?... I will check the patch suggested and install it, see what happens. Thank you so much for your help, if you have any other idea I'll be happy to hear them.</description>
      <pubDate>Tue, 28 Mar 2006 19:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760541#M259279</guid>
      <dc:creator>Roboz</dc:creator>
      <dc:date>2006-03-28T19:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760542#M259280</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You can try running the command under "tusc" to see where it hangs, &lt;BR /&gt;&lt;BR /&gt;tusc can be downloaded from, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 28 Mar 2006 22:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760542#M259280</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-28T22:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760543#M259281</link>
      <description>Roboz,&lt;BR /&gt;&lt;BR /&gt;I have suffered the same kind of problems when I had a disk about to fail, application was running fine, but any kind of i/o request like ioscan was failing. It was also failing when I did a recursive ls down the directory tree.&lt;BR /&gt;&lt;BR /&gt;May not be the same, but worth bearing in mind.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;JASH</description>
      <pubDate>Wed, 29 Mar 2006 03:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760543#M259281</guid>
      <dc:creator>JASH_2</dc:creator>
      <dc:date>2006-03-29T03:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760544#M259282</link>
      <description>Does the problem happen when you run 'devnm' on the command line, or only inside your script?&lt;BR /&gt;&lt;BR /&gt;If only inside the script, perhaps there's a problem with how devnm is being called.  Add a line 'set -x' at the beginning of the script to log the calls it is actually making and see if you can see anything obviously wrong or odd.&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Wed, 29 Mar 2006 04:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760544#M259282</guid>
      <dc:creator>Andrew Merritt_2</dc:creator>
      <dc:date>2006-03-29T04:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Command hangs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760545#M259283</link>
      <description>Hello Folks,&lt;BR /&gt; First of all thank you so much for your help; all your replies have been most useful. I originally had the problem with devnm from the script as well as the command line, with any parameter (i.e. /usr , /home, etc). Nothing really had change in the server no patches or kernel changes, only a license upgrade for DP5.1, the problem seams to have come from no were. After following your advices I tracked the problem to a totally unrelated scenario. An auxiliary file system was held open (busy) by a separate process that will not exit, like the the â  devnmâ   was running at PRIO=127 and could not be killed. So the only way to â  umountâ   the file system was a reboot. After the reboot both the mount/umount as well as devnm command are al working fine and my script runs smoothly once again, Thanks folks for your help.&lt;BR /&gt;Roboz&lt;BR /&gt;PS. &lt;BR /&gt;Arunvijai: Thanks for the tip on such a good toolâ ¦ works great&lt;BR /&gt;JASH: yesâ ¦. I have done some diagnostic and exercising of some devices via stm. you right better to be sure than sorry&lt;BR /&gt;STEVEN,CLAY,KENT: good hints and additional information.&lt;BR /&gt;POINTS ALL AROUNDâ ¦ thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 20:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-hangs/m-p/3760545#M259283</guid>
      <dc:creator>Roboz</dc:creator>
      <dc:date>2006-03-29T20:44:06Z</dc:date>
    </item>
  </channel>
</rss>

