OpenVZ Forum


Home » General » Support » No More Ptys
No More Ptys [message #43013] Fri, 01 July 2011 14:12 Go to next message
zemon is currently offline  zemon
Messages: 6
Registered: September 2010
Junior Member
All of my containers have the problem of "no more ptys" when I try to issue the screen command as a user, with root there is no problem.

I done some digging on google and found when I execute this command in the container "mount -t devpts /dev/ptmx /dev/pts" the problem disappears until the next reboot.

The kernel is 2.6.18-238.12.1.el5.028stab091.1 with the containers operating system being ubuntu 10.10

Is there anyway to fix this problem?

Re: No More Ptys [message #43016 is a reply to message #43013] Fri, 01 July 2011 16:01 Go to previous messageGo to next message
zemon is currently offline  zemon
Messages: 6
Registered: September 2010
Junior Member
I managed to fix the problem by editing the /etc/fstab

Changed this line
none /dev/pts devpts rw 0 0

To this
devpts /dev/pts devpts defaults 0 0
Re: No More Ptys [message #43023 is a reply to message #43013] Sat, 02 July 2011 21:48 Go to previous messageGo to next message
zemon is currently offline  zemon
Messages: 6
Registered: September 2010
Junior Member
The problem appears to be back again.

Can anyone help?
Re: No More Ptys [message #43067 is a reply to message #43013] Wed, 13 July 2011 20:40 Go to previous messageGo to next message
Coolmax is currently offline  Coolmax
Messages: 2
Registered: July 2011
Location: Cracow, Poland
Junior Member

Maybe you have reached limit? AFAIK default is 16. To see what is your limit, try this:
grep numpty /proc/user_beancounters
Re: No More Ptys [message #44853 is a reply to message #43013] Sun, 08 January 2012 20:58 Go to previous message
d3spis3m3 is currently offline  d3spis3m3
Messages: 1
Registered: January 2012
Junior Member
sudo chmod 4755 /usr/libexec/pt_chown

Laughing
Previous Topic: Where is CentOS 6 042stab044.11 enterprise kernel?
Next Topic: ovzkernel-xen 4gb fix up issue
Goto Forum:
  


Current Time: Sat Jul 19 21:42:59 GMT 2025

Total time taken to generate the page: 0.06838 seconds