<?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: Reason: get_pty: not enough ptys in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762754#M531402</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You must boot to get the nstrtel figure to go to 200 as you have set it.&lt;BR /&gt;&lt;BR /&gt;There is no way around reboot.&lt;BR /&gt;&lt;BR /&gt;There is no cost in setting it higher. I'd make it the same as nstrpty&lt;BR /&gt;&lt;BR /&gt;Then boot, then all will be well.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 08 Mar 2011 16:00:13 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2011-03-08T16:00:13Z</dc:date>
    <item>
      <title>Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762753#M531401</link>
      <description>Hello Experts,&lt;BR /&gt;We have Server Model HP RX 2660 inetgrity with &lt;BR /&gt; HP-UX B.11.31 U ia64 itanium based system . Getting below error after 78 xterm sessions&lt;BR /&gt;xterm: Error 32, errno 16: Device busy&lt;BR /&gt;Reason: get_pty: not enough ptys&lt;BR /&gt;We have set below paramets already &lt;BR /&gt;kctune nstrtel nstrpty npty&lt;BR /&gt;Tunable               Value  Expression  &lt;BR /&gt;npty                   4000  4000        &lt;BR /&gt;nstrpty                1000  1000        &lt;BR /&gt;nstrtel  (now)           60  Default     &lt;BR /&gt;         (next boot)    200  200         &lt;BR /&gt;  &lt;BR /&gt;But stil getting same error . I have alreay increased nstrtel to 200 which will become after reboot , that we will do it tommrrow morning.Let me know what can be the issue causing this error.&lt;BR /&gt; xterm: Error 32, errno 16: Device busy&lt;BR /&gt;Reason: get_pty: not enough ptys&lt;BR /&gt;&lt;BR /&gt;Awaiting response .  Thank you</description>
      <pubDate>Tue, 08 Mar 2011 15:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762753#M531401</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-03-08T15:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762754#M531402</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You must boot to get the nstrtel figure to go to 200 as you have set it.&lt;BR /&gt;&lt;BR /&gt;There is no way around reboot.&lt;BR /&gt;&lt;BR /&gt;There is no cost in setting it higher. I'd make it the same as nstrpty&lt;BR /&gt;&lt;BR /&gt;Then boot, then all will be well.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 08 Mar 2011 16:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762754#M531402</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-03-08T16:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762755#M531403</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just recreate automatically devices and y pseudo-drivers:&lt;BR /&gt;#insf -e&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Tue, 08 Mar 2011 16:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762755#M531403</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2011-03-08T16:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762756#M531404</link>
      <description>Hi,&lt;BR /&gt;after reboot &amp;amp; chaging all parametere to 1000 still users can not open xterms . it does not go beyond 81 sessions.  Let me know anything need to be done further any other kernel parameter ned to change.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank &amp;amp; regards&lt;BR /&gt;Amit</description>
      <pubDate>Wed, 09 Mar 2011 09:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762756#M531404</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-03-09T09:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762757#M531405</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1) npty specifies the maximum number of pseudo-tty data structures that are available on the system.&lt;BR /&gt;Acceptable Values:&lt;BR /&gt;Minimum 1 &lt;BR /&gt;Maximum Memory limited &lt;BR /&gt;Default 60 &lt;BR /&gt;&lt;BR /&gt;npty limits the number of the following structures that can be used by the pseudo-teletype driver:&lt;BR /&gt;   struct tty       pt_tty[npty];&lt;BR /&gt;   struct tty       *pt_line[npty];&lt;BR /&gt;   struct pty_info  pty_info[npty];&lt;BR /&gt;&lt;BR /&gt;2)nstrpty defines the maximum number of streams-based PTYs allowed on the system.&lt;BR /&gt;Acceptable Values:&lt;BR /&gt;Minimum 0 &lt;BR /&gt;Maximum Memory limited &lt;BR /&gt;Default 0 &lt;BR /&gt;&lt;BR /&gt;nstrpty limits the number of streams-based PTYs that are allowed system-wide. When sending data to PTY devices (such as windows), a PTY device must exist for every window that is open at any given time.&lt;BR /&gt;&lt;BR /&gt;**nstrpty should be set to a value that is equal to or greater than the number of PTY devices on the system that will be using streams-based I/O pipes.** Using a parameter value significantly larger than the number of PTYs is not recommended. nstrpty is used when creating data structures in the kernel to support those streams-based PTYs, and an excessively large value wastes kernel memory space.&lt;BR /&gt;&lt;BR /&gt;3) nstrtel specifies the number of telnet device files that the kernel can support for incoming telnet sessions.&lt;BR /&gt;&lt;BR /&gt;Acceptable Values:&lt;BR /&gt;Minimum 60 &lt;BR /&gt;Maximum&lt;BR /&gt;Default 60 &lt;BR /&gt;&lt;BR /&gt;nstrtel specifies the number of kernel data structures that are created at system boot time that are required to support the device files used by incoming telnet sessions on a server. **This number should match the number of device files that exist on the system.** If the insf command or SAM is used to create more telnet device files, the value of nstrtel must be increased accordingly or the device files cannot be used because there are no kernel data structures available for communicating with the system.&lt;BR /&gt;&lt;BR /&gt;**Select a value for nstrtel that is equal to or greater than the number of telnet device files on the system.** Selecting a value that exceeds the number of device files actually existing on the system wastes the memory consumed by extra data structures, but it may be justified if you are planning to add more device files.&lt;BR /&gt;&lt;BR /&gt;After modify these parameters, the kernel must be updated and reboot the system.&lt;BR /&gt;When the system is up, recreate all devices and y pseudo-drivers:&lt;BR /&gt;#insf -e&lt;BR /&gt;&lt;BR /&gt;Are you opening your xterm session through an emulator (eg: Reflection-X)?&lt;BR /&gt;Yes: Do you see a dot files in the home directory where you do the export of TERM variable? Move them to a subfolder and retry.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Wed, 09 Mar 2011 10:16:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762757#M531405</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2011-03-09T10:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762758#M531406</link>
      <description>Hi.&lt;BR /&gt;we are opening xterm thru Hummingbird excced . so is their anything to check in that case.&lt;BR /&gt;Regards,&lt;BR /&gt;Amit</description>
      <pubDate>Wed, 09 Mar 2011 13:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762758#M531406</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-03-09T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762759#M531407</link>
      <description>&lt;P&gt;duplicate!??&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762759#M531407</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-08-04T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762760#M531408</link>
      <description>&lt;P&gt;Hello Victor, &lt;BR /&gt;First i started new thread on my name &lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Networking/Reason-get-pty-not-enough-ptys/m-p/4762753#M47332" target="_blank"&gt;http://h30499.www3.hp.com/t5/Networking/Reason-get-pty-not-enough-ptys/m-p/4762753#M47332&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;As my requirement was urgent in need of solution later again i was searching for more solution i seen this thread from Leonardo Parrino another thread .. but in that also my problem was not solved &lt;BR /&gt;Now we can continue with my current thread only, where still I am searching my solution .. Thank for your guidance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Actually i am trying to open xterm from another xterm from humming bird Exceed GUI application . so a that that after changing this 3 kernel parameter to 1000 but still its stuck at 81 . so just want to know if anything else also need to change.&lt;BR /&gt;Now i have increased this parameter to 4000 so it may increase that xterm &lt;BR /&gt;kctune nstrtel nstrpty npty&lt;BR /&gt;Tunable Value Expression &lt;BR /&gt;npty (now) 1000 1000 &lt;BR /&gt;(next boot) 4000 4000 &lt;BR /&gt;nstrpty (now) 1000 1000 &lt;BR /&gt;(next boot) 4000 4000 &lt;BR /&gt;nstrtel (now) 1000 1000 &lt;BR /&gt;(next boot) 4000 4000 &lt;BR /&gt;&lt;BR /&gt;Attached is the list of 62 users which are logging in . But when this reached 82 in in xterm hummingbird exceed it gives error as below:-&lt;BR /&gt;xterm: Error 32, errno 16: Device busy&lt;BR /&gt;Reason: get_pty: not enough ptys xterm &amp;amp;&lt;BR /&gt;regards&lt;BR /&gt;Amit&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762760#M531408</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-08-04T18:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reason: get_pty: not enough ptys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762761#M531409</link>
      <description>Hello Experts, &lt;BR /&gt;&lt;BR /&gt;Anybody has solution for my issue.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Amit</description>
      <pubDate>Thu, 10 Mar 2011 10:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reason-get-pty-not-enough-ptys/m-p/4762761#M531409</guid>
      <dc:creator>Amit_Suchak</dc:creator>
      <dc:date>2011-03-10T10:02:59Z</dc:date>
    </item>
  </channel>
</rss>

