[ltp] Run out of ptys?

Osho GG linux-thinkpad@linux-thinkpad.org
Tue, 12 Oct 2004 16:30:11 -0700


Did you compile your kernel yourself? Make sure that you have the
following settings,

CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

I had the same problem and then adding the settings for LEGACY_PTYS -
this error went away.

It is definitely not a thinkpad issue for sure :)
Osho


On Tue, 12 Oct 2004 17:31:52 -0400, Norman Walsh <ndw@nwalsh.com> wrote:
> I never saw this on my previous Debian on Toshiba system. OTOH, I
> never ran 2.6.8.1 on it either, so I'm not blaming my Thinkpad :-)
> 
> hephaistos:~$ pterm
> /dev/ptmx: open: Input/output error
> hephaistos:~$ xterm
> xterm: Error 32, errno 2: No such file or directory
> Reason: get_pty: not enough ptys
> 
> This happens after the machine has been running for a day or two.
> Any thoughts?
> 
>                                         Be seeing you,
>                                           norm
> 
> --
> Norman Walsh <ndw@nwalsh.com> | Some people can stay longer in an hour
> http://nwalsh.com/            | than others can in a week
> 
> 
>