Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* PTY Problem
@ 2000-04-11  4:00 Alan Carlston
  2000-04-12  4:00 ` Paul
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Carlston @ 2000-04-11  4:00 UTC (permalink / raw)


On an ES40 running 4.0f, we seem to be up against a wall with pty
allocation.  Users are greeted with "Can't open X-Windows, not enough
available ptys."  We have increased the number of ptys by running ./MAKEDEV
PTY_2  in the dev directory, but this seems to have had no impact.

Any suggestions?  Perhaps a kernel parameter?


Alan






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PTY Problem
  2000-04-11  4:00 PTY Problem Alan Carlston
@ 2000-04-12  4:00 ` Paul
  2000-04-12  4:00   ` PTY Problem PROBLEM RESOLVED Alan Carlston
  0 siblings, 1 reply; 4+ messages in thread
From: Paul @ 2000-04-12  4:00 UTC (permalink / raw)


Can you post your kernel config file?

Alan Carlston wrote:
> 
> On an ES40 running 4.0f, we seem to be up against a wall with pty
> allocation.  Users are greeted with "Can't open X-Windows, not enough
> available ptys."  We have increased the number of ptys by running ./MAKEDEV
> PTY_2  in the dev directory, but this seems to have had no impact.
> 
> Any suggestions?  Perhaps a kernel parameter?
> 
> Alan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PTY Problem  PROBLEM RESOLVED
  2000-04-12  4:00 ` Paul
@ 2000-04-12  4:00   ` Alan Carlston
  2000-05-01  4:00     ` Gopala
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Carlston @ 2000-04-12  4:00 UTC (permalink / raw)


I found the problem:

In the kernel's pts subsystem, there is a parameter called nptys.   The
value range for nptys is 80 - 8192.  Our setting was 255, which I have
increased and the problem has been resolved.


"Paul" <"paul"@NOSPAM*())_.com> wrote in message
news:8d1gib$s4u4@svfiction.flur.zuerich.ubs.ch...
> Can you post your kernel config file?
>
> Alan Carlston wrote:
> >
> > On an ES40 running 4.0f, we seem to be up against a wall with pty
> > allocation.  Users are greeted with "Can't open X-Windows, not enough
> > available ptys."  We have increased the number of ptys by running
./MAKEDEV
> > PTY_2  in the dev directory, but this seems to have had no impact.
> >
> > Any suggestions?  Perhaps a kernel parameter?
> >
> > Alan





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PTY Problem PROBLEM RESOLVED
  2000-04-12  4:00   ` PTY Problem PROBLEM RESOLVED Alan Carlston
@ 2000-05-01  4:00     ` Gopala
  0 siblings, 0 replies; 4+ messages in thread
From: Gopala @ 2000-05-01  4:00 UTC (permalink / raw)


You are lucky my friend in this case :)) I had an advanced level of
this problem. And I had to do this :))
My case had a strange problem, the number of pty*s didnt match t*
devices in /dev dir.. resulting in a mess.
I had a big count for npty in kernel config file during doconfig.
Resolution:
Delete all those unmatching pty* and tty* s and recreate them with
MAKEDEV PTY_1 PTY_2 ...

That solved the problem.

Also take a look at the SYSV_PTY script in /dev

Gopi.

In article <9v0J4.1185$dV6.57099@pm01news.wcom.com>,
  "Alan Carlston" <Alan.Carlston@wcom.com> wrote:
> I found the problem:
>
> In the kernel's pts subsystem, there is a parameter called nptys.
The
> value range for nptys is 80 - 8192.  Our setting was 255, which I have
> increased and the problem has been resolved.
>
> "Paul" <"paul"@NOSPAM*())_.com> wrote in message
> news:8d1gib$s4u4@svfiction.flur.zuerich.ubs.ch...
> > Can you post your kernel config file?
> >
> > Alan Carlston wrote:
> > >
> > > On an ES40 running 4.0f, we seem to be up against a wall with pty
> > > allocation.  Users are greeted with "Can't open X-Windows, not
enough
> > > available ptys."  We have increased the number of ptys by running
> ./MAKEDEV
> > > PTY_2  in the dev directory, but this seems to have had no impact.
> > >
> > > Any suggestions?  Perhaps a kernel parameter?
> > >
> > > Alan
>
>

--
Gopala Molakaluri
Michigan


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-01  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-11  4:00 PTY Problem Alan Carlston
2000-04-12  4:00 ` Paul
2000-04-12  4:00   ` PTY Problem PROBLEM RESOLVED Alan Carlston
2000-05-01  4:00     ` Gopala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox