LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   no more pty (https://www.linuxquestions.org/questions/linux-general-1/no-more-pty-755295/)

sachinh 09-15-2009 03:50 AM

no more pty
 
Hello,

We have a working backup script which gave no problems ever. But recently the backup is failed giving following error messages,

Statement just before the error occured was ,

/usr/bin/rsh remoteserver1 /tmp/backup/script.scr

1. The system has no more ptys. Ask your system administrator to create more.
2. The system only has a finite number of ptys and you have many of them in use. The usual reason for this is that you forgot (or didn't know) to call "wait" after closing each of them.

So it looks like the system is falling short of the /dev/pty ...atleast I think so. Dont know the real reason. Could anyone give some hints? Let me know if you need anymore info.

Thanx,
admin

lutusp 09-15-2009 05:00 AM

Quote:

Originally Posted by sachinh (Post 3683309)
Hello,

We have a working backup script which gave no problems ever. But recently the backup is failed giving following error messages,

Statement just before the error occured was ,

/usr/bin/rsh remoteserver1 /tmp/backup/script.scr

1. The system has no more ptys. Ask your system administrator to create more.
2. The system only has a finite number of ptys and you have many of them in use. The usual reason for this is that you forgot (or didn't know) to call "wait" after closing each of them.

So it looks like the system is falling short of the /dev/pty ...atleast I think so. Dont know the real reason. Could anyone give some hints? Let me know if you need anymore info.

Thanx,
admin

Read this Prior nearly identical discussion


All times are GMT -5. The time now is 06:05 AM.