You are not logged in.

#1 2005-01-29 12:52:01

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 775

Run out of pty's

Eterm won;t start and I run out of pty's after a while (or so it seems...) and xterm won't start then either.  I have searched and I do know that I need to add a line in fstab - it's already there:

none                   /dev/pts      devpts    defaults            0      0

Any suggestions?

Offline

#2 2005-01-30 20:34:44

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Run out of pty's

Maybe some app is leaking pty's.  You could try increasing the CONFIG_UNIX98_PTY_COUNT=256 in the kernel config and recompile but that won't fix the problem - it'll just delay the inevitable.  Perhaps you could try using lsof to see what processes are using the pty's.

Offline

#3 2005-03-04 21:07:24

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 775

Re: Run out of pty's

it's happening again - this is a real problem as I don't have any terminals unlessI reboot...

Offline

#4 2005-03-04 22:53:57

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Run out of pty's

what terminals are you using? Eterm? how do you close them? try using aterm or xterm for a day and see if the issue still happens.  if at all possible, check you xsession-errors.log file or system log or some sort of log ...

also, maybe try running one terminal and running other terminals from there in order to see error messages...

another option:
are you restarting udev by hand?  udev will kill your ptys and you need to do a remount

Offline

#5 2005-03-04 22:56:44

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 775

Re: Run out of pty's

phrakture wrote:

another option:
are you restarting udev by hand?  udev will kill your ptys and you need to do a remount

That may well actually be it...

Offline

#6 2005-03-04 23:29:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Run out of pty's

phunni wrote:
phrakture wrote:

another option:
are you restarting udev by hand?  udev will kill your ptys and you need to do a remount

That may well actually be it...

yeah whenever you restart udev you need to remount... ummm whatever is in rc.sysinit... there were 2 of them maybe /proc or /sys was the other one... *shrug*

Offline

#7 2005-03-05 02:10:08

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Run out of pty's

Reinstall the kernel - this is a kernel problem, at least from my experience. I'm guessing it involves some sort of corruption of the kernel package, though with md5sums used it's hard to see how.

Offline

#8 2005-03-05 02:45:37

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Run out of pty's

Gullible Jones: wayyy off the path.

phunni: after restarting udev, do

mount /dev/pts
mount /dev/shm

Offline

#9 2005-03-05 07:57:32

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 775

Re: Run out of pty's

thanks iph - I reckon that's the way to go...   big_smile

Gullible Jones, thanks for answering anyway...

Offline

#10 2005-03-05 17:48:50

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Run out of pty's

Sorry... Last time this happened to me, it was with the 2.6.9 kernel. I think that package was screwed up somehow, because reinstalling the kernel fixed it... :? Anyway, I haven't seen it since.

Offline

Board footer

Powered by FluxBB