<?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: Hung Process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061405#M138784</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would take a close look at your "file content directory". If you have not changed anything then there is probably something in it which causes problems for rm to continue, this could be something like a subdirectory consisting of non-printing characters only or a file name containing semicolon, circular soft links or whatever weird can happen.&lt;BR /&gt;&lt;BR /&gt;Ideally you would create a new "file content directory" and copy over ONLY what you need, carefully examining each file and directory.&lt;BR /&gt;&lt;BR /&gt;As a preparation I would cd into it and do&lt;BR /&gt;# find . &amp;gt; /tmp/check_names_list&lt;BR /&gt;# find -type l | xargs ll &amp;gt; /tmp/check_link_list&lt;BR /&gt;&lt;BR /&gt;Go through that list to rule out things I mentioned above.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
    <pubDate>Tue, 02 Sep 2003 14:19:39 GMT</pubDate>
    <dc:creator>Bernhard Mueller</dc:creator>
    <dc:date>2003-09-02T14:19:39Z</dc:date>
    <item>
      <title>Hung Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061401#M138780</link>
      <description>Encountering a problem due to a hung process, associated with a daily file cleanup job, which simply removes (rm) files from our file content directory.  This job has run nightly, past 1+ year with no problems; however, last couple of days, the job kicks of a delete process which seems to hang on the rm command that ultimately causes sluggish performance for the remainder of the application that runs on the same box ??? which is fighting for resources locked by the hung process.&lt;BR /&gt;&lt;BR /&gt;Our tech staff has been unsuccessful with tracing the root cause of the problem - only upon restarting the box and performing the magical kill -9 command with the root access, does the problem seem to go away - until the next evenings clean-up process kick-off.&lt;BR /&gt;&lt;BR /&gt;I am unable to kill the process myself. &lt;BR /&gt;Unable to truss the problem.&lt;BR /&gt;Can???t seem to get the UNIX admin staff to do anything other than cold startup and kill command - only fixes the symptom and not the problem.&lt;BR /&gt;&lt;BR /&gt;Any advice?&lt;BR /&gt;Any sort of fix disk command or known hardware issue that I can recommend to our UNIX gurus look into?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Sep 2003 13:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061401#M138780</guid>
      <dc:creator>Brian Campbell_3</dc:creator>
      <dc:date>2003-09-02T13:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hung Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061402#M138781</link>
      <description>Please show as the full row on your crontab.&lt;BR /&gt;You may need to caught the error-output of&lt;BR /&gt;this row. Try to do "rm" without cron, by&lt;BR /&gt;command row. Did you see any message?</description>
      <pubDate>Tue, 02 Sep 2003 14:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061402#M138781</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-09-02T14:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hung Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061403#M138782</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;sounds like something has changed on the box...&lt;BR /&gt;&lt;BR /&gt;* Are all the filesystems that the rm script deletes stuff from local?  Or are any NFS?  Check whether there are any stale nfs file handles (bdf command).  Maybe its just tripping up over one of those.&lt;BR /&gt;&lt;BR /&gt;* Is it just a simple rm in the script or does it do anything fancier?  In case its not a problem with the rm command in the script, maybe with one of the other commands?&lt;BR /&gt;&lt;BR /&gt;* Can you run the script manually, or even better (depending on the script) run each line from the script manually?  That should show you exactly where in the script its having problems and you might even get an error message if you're lucky.&lt;BR /&gt;&lt;BR /&gt;* if you can't run the script manually, does it log its output into a file?  Or can you get it to send its output to a logfile?&lt;BR /&gt;&lt;BR /&gt;hope that helps,&lt;BR /&gt;Kevin.</description>
      <pubDate>Tue, 02 Sep 2003 14:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061403#M138782</guid>
      <dc:creator>Kevin O'Donovan</dc:creator>
      <dc:date>2003-09-02T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hung Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061404#M138783</link>
      <description>My best at this point is a corrupt filesystem; have your UNIX guys run a full fsck (not simply a log replay) on the filesystem in question. You might have a circularly linked directory structure which could cause exactly this kind of problem.&lt;BR /&gt;&lt;BR /&gt;I am making the assumption that this is a local filesystem rather than NFS/automount.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Sep 2003 14:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061404#M138783</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-09-02T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hung Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061405#M138784</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would take a close look at your "file content directory". If you have not changed anything then there is probably something in it which causes problems for rm to continue, this could be something like a subdirectory consisting of non-printing characters only or a file name containing semicolon, circular soft links or whatever weird can happen.&lt;BR /&gt;&lt;BR /&gt;Ideally you would create a new "file content directory" and copy over ONLY what you need, carefully examining each file and directory.&lt;BR /&gt;&lt;BR /&gt;As a preparation I would cd into it and do&lt;BR /&gt;# find . &amp;gt; /tmp/check_names_list&lt;BR /&gt;# find -type l | xargs ll &amp;gt; /tmp/check_link_list&lt;BR /&gt;&lt;BR /&gt;Go through that list to rule out things I mentioned above.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Tue, 02 Sep 2003 14:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061405#M138784</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-09-02T14:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hung Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061406#M138785</link>
      <description>Check /var/adm/syslog/syslog.log for any local hard drive errors.&lt;BR /&gt;&lt;BR /&gt;Run online diagnostics on local hard drives.</description>
      <pubDate>Wed, 03 Sep 2003 15:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061406#M138785</guid>
      <dc:creator>Scot Bean</dc:creator>
      <dc:date>2003-09-03T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hung Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061407#M138786</link>
      <description>You can also try to do a &lt;BR /&gt;&lt;BR /&gt;sh -x "script name" from the command line.&lt;BR /&gt;&lt;BR /&gt;This should show you where it is hanging.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Sep 2003 19:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hung-process/m-p/3061407#M138786</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2003-09-03T19:10:49Z</dc:date>
    </item>
  </channel>
</rss>

