HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sshd[2424]: error: openpty: Not enough space
Operating System - HP-UX
1834149
Members
2852
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-17-2005 02:12 AM
05-17-2005 02:12 AM
sshd[2424]: error: openpty: Not enough space
Customer called to say he was expenriencing lags when trying to ssh into the system, i didnt notice anything out of the ordinary except for these messages in syslog.log
May 17 09:51:07 host sshd[2424]: error: openpty: Not enough space
May 17 09:51:07 host sshd[2427]: error: session_pty_req: session 0 alloc fail
ed
May 17 09:51:07 host sshd[2427]: Disconnecting: fork failed: Not enough space
May 17 09:51:07 host sshd[2427]: clnt_dg_create: out of memory
>ps -ef | grep ssh
root 911 1 0 May 8 ? 0:00 /opt/ssh/sbin/sshd
root 2538 911 0 09:53:28 ? 0:00 sshd: psoft [priv]
hrsup 1854 1852 0 09:28:13 ? 0:00 sshd: hrsup@pts/0
psoft 2545 2538 0 09:53:34 ? 0:00 sshd: psoft@pts/1
root 1852 911 0 09:28:02 ? 0:00 sshd: hrsup [priv]
root 2680 911 0 09:57:52 ? 0:00 sshd: jcaplet [priv]
root 2970 2781 1 10:06:54 pts/3 0:00 grep ssh
root 2778 911 0 10:00:53 ? 0:00 sshd: root@pts/3
jcaplet 2682 2680 0 09:57:55 ? 0:00 sshd: jcaplet@pts/2
>who
psoft pts/ta May 17 09:53
hrsup pts/0 May 17 09:28
psoft pts/1 May 17 09:53
jcaplet pts/2 May 17 09:57
root pts/3 May 17 10:00
top shows 99% idle and Load averages: 0.02, 0.05, 0.16
>sar -v 5 5
HP-UX psa1h31 B.11.11 U 9000/800 05/17/05
10:03:16 text-sz ov proc-sz ov inod-sz ov file-sz ov
10:03:21 N/A N/A 432/8212 0 5201/67744 0 9284/67754 0
10:03:26 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
10:03:31 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
10:03:36 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
10:03:41 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
dmesg is squeaky clean
>swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 5243 2949 64% 0 - 1 /dev/vg00/lvol2
reserve - 2948 -2948
memory 3111 2237 874 72%
total 11303 10428 875 92% - 0 -
swapinfo is high, but seems stable, besides this are there any other leads??
May 17 09:51:07 host sshd[2424]: error: openpty: Not enough space
May 17 09:51:07 host sshd[2427]: error: session_pty_req: session 0 alloc fail
ed
May 17 09:51:07 host sshd[2427]: Disconnecting: fork failed: Not enough space
May 17 09:51:07 host sshd[2427]: clnt_dg_create: out of memory
>ps -ef | grep ssh
root 911 1 0 May 8 ? 0:00 /opt/ssh/sbin/sshd
root 2538 911 0 09:53:28 ? 0:00 sshd: psoft [priv]
hrsup 1854 1852 0 09:28:13 ? 0:00 sshd: hrsup@pts/0
psoft 2545 2538 0 09:53:34 ? 0:00 sshd: psoft@pts/1
root 1852 911 0 09:28:02 ? 0:00 sshd: hrsup [priv]
root 2680 911 0 09:57:52 ? 0:00 sshd: jcaplet [priv]
root 2970 2781 1 10:06:54 pts/3 0:00 grep ssh
root 2778 911 0 10:00:53 ? 0:00 sshd: root@pts/3
jcaplet 2682 2680 0 09:57:55 ? 0:00 sshd: jcaplet@pts/2
>who
psoft pts/ta May 17 09:53
hrsup pts/0 May 17 09:28
psoft pts/1 May 17 09:53
jcaplet pts/2 May 17 09:57
root pts/3 May 17 10:00
top shows 99% idle and Load averages: 0.02, 0.05, 0.16
>sar -v 5 5
HP-UX psa1h31 B.11.11 U 9000/800 05/17/05
10:03:16 text-sz ov proc-sz ov inod-sz ov file-sz ov
10:03:21 N/A N/A 432/8212 0 5201/67744 0 9284/67754 0
10:03:26 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
10:03:31 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
10:03:36 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
10:03:41 N/A N/A 432/8212 0 5201/67744 0 9283/67754 0
dmesg is squeaky clean
>swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 5243 2949 64% 0 - 1 /dev/vg00/lvol2
reserve - 2948 -2948
memory 3111 2237 874 72%
total 11303 10428 875 92% - 0 -
swapinfo is high, but seems stable, besides this are there any other leads??
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 02:29 AM
05-17-2005 02:29 AM
Re: sshd[2424]: error: openpty: Not enough space
92 percent memory usage, memory defined as swap plus ram.
So its not a big leap to be out of resources.
I recommend getting more memory as the best option.
Secondary, if swap is less than twice ram, you can increase swap and not purchase ram.
Might want to run vmstat and see how hard the system is paging. glance/gpm should show high resource usage.
The best solution to high resouce use is to provide more resources.
SEP
So its not a big leap to be out of resources.
I recommend getting more memory as the best option.
Secondary, if swap is less than twice ram, you can increase swap and not purchase ram.
Might want to run vmstat and see how hard the system is paging. glance/gpm should show high resource usage.
The best solution to high resouce use is to provide more resources.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
12-07-2005 09:13 PM
12-07-2005 09:13 PM
Re: sshd[2424]: error: openpty: Not enough space
Hi
I am also facing a similar situation. In my case the swapinfo shows 99 % full.
root% swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2104 1445 659 69% 0 - 1 /dev/vg00/lvol2
reserve - 659 -659
memory 1133 1106 27 98%
total 3237 3210 27 99% - 0 -
root%
Any suggestions please..
br
thummalu
I am also facing a similar situation. In my case the swapinfo shows 99 % full.
root% swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2104 1445 659 69% 0 - 1 /dev/vg00/lvol2
reserve - 659 -659
memory 1133 1106 27 98%
total 3237 3210 27 99% - 0 -
root%
Any suggestions please..
br
thummalu
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP