- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Message during FTP "system has no more ptys"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2007 10:34 PM
09-16-2007 10:34 PM
Message during FTP "system has no more ptys"
Receiving following message intermittently with FTP while trying to get or put files to any remote system:
"The system has no more ptys"
system info (local server):
---------------------------
# uname -a
HP-UX srvr1 B.11.11 U 9000/800 srvr1 unlimited-user license
# ls /dev/pts/t*|wc -l
60
# ls /dev/pty/*|wc -l
60
# kmtune -l
Parameter: npty
Current: 1024
Planned: 1024
Default: 60
Minimum: -
Module: -
Version: -
Dynamic: No
Parameter: nstrpty
Current: 1024
Planned: 1024
Default: 0
Minimum: -
Module: -
Version: -
Dynamic: No
Parameter: nstrtel
Current: 60
Planned: 60
Default: 60
Minimum: -
Module: -
Version: -
Dynamic: No
I would like to know:
1) Where is the problem? in local or remote server?
2) Which of the above mention kernel parameter need to be change? as the problem happening with FTP.
3) Does it require a re-boot if I change any of the above kernel parameters? or if I just issue a "insf -d pty -n 1024" command?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2007 10:40 PM
09-16-2007 10:40 PM
Re: Message during FTP "system has no more ptys"
The problem is in the server the ftpd daemin is running on.
nstrtel needs to be adjusted which requires a reboot.
The reboot will issue the insf command itself.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2007 10:55 PM
09-16-2007 10:55 PM
Re: Message during FTP "system has no more ptys"
You mean the "srvr1", from where I am initiating the ftp command, because ftpd is running on some remote servers as well.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2007 11:29 PM
09-16-2007 11:29 PM
Re: Message during FTP "system has no more ptys"
All kernel pramters listed in the origina post should be increased.
Good Luck,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 12:18 AM
09-17-2007 12:18 AM
Re: Message during FTP "system has no more ptys"
Just one more clarification:
Why the server has 60 ptys and pts while kmtune is showing '1024' as current value
# ls /dev/pts/t*|wc -l
60
# ls /dev/pty/*|wc -l
60
Will it be change after reboot?
I am not quite sure how much should I increase for these 3 param.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 03:09 PM
09-17-2007 03:09 PM
Re: Message during FTP "system has no more ptys"
You may be lucky that your "insf -d pty -n 1024" command can be done if your kernel already has 1024?
Perhaps you need to use SAM to change the value so that the kernel parm and number of ptys matches?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 04:46 PM
09-17-2007 04:46 PM
Re: Message during FTP "system has no more ptys"
just run insf -e
this will resolve ftp and telnet problem.
Shardha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 07:52 PM
09-17-2007 07:52 PM
Re: Message during FTP "system has no more ptys"
To avoid this problem in future I will most probably just run "insf -d pty -n 1024" because kernel params are already set with higher values.
Thanks to all.