<?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 /dev/pty in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936874#M288264</link>
    <description>i have 2 machines on which my application launches (xwindows) and now suddenly it stopped working(as application increased some users recently) on one while it is fine on another. the kmtune ouput between the  two machines match. the xwindoes application launches a remote telnet session (so i guess it does not use this machines'kernel parameters (npty, nstrtel etc) but i find one difference between the two boxes. on the box that works &lt;BR /&gt;&lt;BR /&gt;cd /dev/pty&lt;BR /&gt;ll|wc -l&lt;BR /&gt;2049&lt;BR /&gt;&lt;BR /&gt;on the box which does not work&lt;BR /&gt;cd /dev/pty&lt;BR /&gt;ll|wc -l&lt;BR /&gt;61&lt;BR /&gt;&lt;BR /&gt;does this matter?&lt;BR /&gt;if so, both the machines have the same kernel parameters(so why would have more pty files?).please let me know if this would be an issue?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Joe</description>
    <pubDate>Thu, 01 Feb 2007 16:08:49 GMT</pubDate>
    <dc:creator>joe_91</dc:creator>
    <dc:date>2007-02-01T16:08:49Z</dc:date>
    <item>
      <title>/dev/pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936874#M288264</link>
      <description>i have 2 machines on which my application launches (xwindows) and now suddenly it stopped working(as application increased some users recently) on one while it is fine on another. the kmtune ouput between the  two machines match. the xwindoes application launches a remote telnet session (so i guess it does not use this machines'kernel parameters (npty, nstrtel etc) but i find one difference between the two boxes. on the box that works &lt;BR /&gt;&lt;BR /&gt;cd /dev/pty&lt;BR /&gt;ll|wc -l&lt;BR /&gt;2049&lt;BR /&gt;&lt;BR /&gt;on the box which does not work&lt;BR /&gt;cd /dev/pty&lt;BR /&gt;ll|wc -l&lt;BR /&gt;61&lt;BR /&gt;&lt;BR /&gt;does this matter?&lt;BR /&gt;if so, both the machines have the same kernel parameters(so why would have more pty files?).please let me know if this would be an issue?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Joe</description>
      <pubDate>Thu, 01 Feb 2007 16:08:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936874#M288264</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2007-02-01T16:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936875#M288265</link>
      <description>Because the kernel tunables were increased but insf was not run to increase the number of device nodes. Run insf but note that while this will increase the number of device nodes it may not fix your problem because you may not have found the fundamental cause.</description>
      <pubDate>Thu, 01 Feb 2007 16:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936875#M288265</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-02-01T16:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936876#M288266</link>
      <description>Hi Joe:&lt;BR /&gt;&lt;BR /&gt;Have a look at Technical Knowledge Base documents:&lt;BR /&gt;&lt;BR /&gt;# KBRC00013957&lt;BR /&gt;# KBRC00014047&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 01 Feb 2007 16:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936876#M288266</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-02-01T16:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936877#M288267</link>
      <description>I now clearly remember. we increased npty to 2048 on both machines from 60 but donr remember running the insf commnds on server2 (where we have the issue). may be that explains the lesser ptys under /dev/pty.. i will try to increase this and see if that works..&lt;BR /&gt;&lt;BR /&gt;THanks&lt;BR /&gt;&lt;BR /&gt;Joe</description>
      <pubDate>Thu, 01 Feb 2007 16:34:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936877#M288267</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2007-02-01T16:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936878#M288268</link>
      <description>Question.. i can run the insf -e -d pty -n 2000 on the production machine right? I assume no impacts..&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Joe</description>
      <pubDate>Thu, 01 Feb 2007 21:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936878#M288268</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2007-02-01T21:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/pty</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936879#M288269</link>
      <description>Yes, you can run insf on a production system. It just creates the missing device files. PTY devices are the one area where SAM works really well. The 3 kernel parameters for remote connections are:&lt;BR /&gt; &lt;BR /&gt;npty&lt;BR /&gt;nstrtel&lt;BR /&gt;nstrpty&lt;BR /&gt; &lt;BR /&gt;But setting these parameters to another value is not the complete task. The number of device files for these parameters must be created, something that SAM does automatically. Note that 60 is the default value for the parameters and the device file count. Be sure you set all 3 parameters equally.</description>
      <pubDate>Thu, 01 Feb 2007 22:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-pty/m-p/3936879#M288269</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-01T22:29:22Z</dc:date>
    </item>
  </channel>
</rss>

