<?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: Strange Behaviour in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263958#M33736</link>
    <description>Please help!!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Allan</description>
    <pubDate>Sat, 06 Sep 2008 17:02:52 GMT</pubDate>
    <dc:creator>Allanm</dc:creator>
    <dc:date>2008-09-06T17:02:52Z</dc:date>
    <item>
      <title>Strange Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263957#M33735</link>
      <description>&lt;BR /&gt;I have script which boots up one of the application and once I try to logout of the session from which I issued the script it just hangs, one of the SAs told me that there is a file descriptor that hangs.&lt;BR /&gt;&lt;BR /&gt;Have you faced this situation before.&lt;BR /&gt;How I need to logout in order to escape the file desricptor.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Allan.</description>
      <pubDate>Fri, 05 Sep 2008 17:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263957#M33735</guid>
      <dc:creator>Allanm</dc:creator>
      <dc:date>2008-09-05T17:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263958#M33736</link>
      <description>Please help!!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Allan</description>
      <pubDate>Sat, 06 Sep 2008 17:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263958#M33736</guid>
      <dc:creator>Allanm</dc:creator>
      <dc:date>2008-09-06T17:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263959#M33737</link>
      <description>&amp;gt;  Please help!!&lt;BR /&gt;&lt;BR /&gt;You first.&lt;BR /&gt;&lt;BR /&gt;It just might be helpful to know what "the&lt;BR /&gt;application" might be, and what's in "the&lt;BR /&gt;script", and even, perhaps, which OS you're&lt;BR /&gt;running.&lt;BR /&gt;&lt;BR /&gt;If "the application" expects to talk to the&lt;BR /&gt;controlling terminal, and you whack the&lt;BR /&gt;controlling terminal by logging out, then&lt;BR /&gt;"the application" might have some trouble&lt;BR /&gt;continuing to run.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Have you faced this situation before.&lt;BR /&gt;&lt;BR /&gt;Is that a question.  It's hard to say with so&lt;BR /&gt;little information about this situation?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; How I need to logout in order to escape the&lt;BR /&gt;&amp;gt; file desricptor.&lt;BR /&gt;&lt;BR /&gt;Not sure what that means, but you may need to&lt;BR /&gt;redirect the input to "the application"&lt;BR /&gt;before you can log out.  Some programs may&lt;BR /&gt;not lend themselves to being started in an&lt;BR /&gt;interactive mode, and then told to switch to&lt;BR /&gt;a batch mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] boots up one of the application [...]&lt;BR /&gt;&lt;BR /&gt;Also, I'm probably too old-fashioned, but&lt;BR /&gt;where I come from, an OS can pull itself up&lt;BR /&gt;by its own bootstraps, but a user just _runs_&lt;BR /&gt;an application, he doesn't boot it.  (Unless&lt;BR /&gt;it's really bad, in which case he might boot&lt;BR /&gt;it out the door.)</description>
      <pubDate>Sun, 07 Sep 2008 02:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263959#M33737</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-09-07T02:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263960#M33738</link>
      <description>Usually that happens because the process does not detach from its controlling terminal properly. When a process daemonizes it's supposed to close its stdin, stdout, and stderr file descriptors. If it doesn't do that your ssh logout will hang waiting for all of its file descriptors to close. It's usually safe to just close the session forcibly (click the close box or use a client escape sequence).&lt;BR /&gt;&lt;BR /&gt;The "right" way to fix that specific problem is for whoever wrote the app to learn how to correctly daemonize a UNIX process. Failing that, you may be able to just redirect all the I/O when you start it or use some kind of wrapper that does it for you.</description>
      <pubDate>Mon, 08 Sep 2008 15:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-behaviour/m-p/4263960#M33738</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2008-09-08T15:28:29Z</dc:date>
    </item>
  </channel>
</rss>

