- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Very long login by ssh
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
08-19-2009 07:31 PM
08-19-2009 07:31 PM
Re: Very long login by ssh
Trouble only in sshd from HP:
===
OpenSSH_5.2p1+sftpfilecontrol-v1.3, OpenSSL 0.9.8g 19 Oct 2007
HP-UX Secure Shell-A.05.20.006, HP-UX Secure Shell version
===
Now I use openssh 5.2p1(http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-5.2p1/). It work good. Thanks to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2009 01:01 AM
08-20-2009 01:01 AM
Re: Very long login by ssh
I have a new trouble.
When count of ssh users more then 500 many cmnds crashed with "mmap error", for example:
===============================
#glance
/usr/lib/hpux32/dld.so: Cannot map text for library: mmap(0x0, 0x362be0, 0x5, 0x41, 3, 0x0) returns Not enough space.
#xglance
/usr/lib/hpux32/dld.so: Cannot map text for library: mmap(0x0, 0x362be0, 0x5, 0x41, 3, 0x0) returns Not enough space.
#mcedit ~/cmd.log
/usr/lib/hpux32/dld.so: Cannot map text for library: mmap(0x0, 0x2345d0, 0x5, 0x41, 3, 0x0) returns Not enough space.
#/home/user1/somescript.pl
/usr/lib/hpux32/dld.so: Cannot map text for library: mmap(0x0, 0x2f6660, 0x5, 0x41, 3, 0x0) returns Not enough space.
===============================
Kernel limits are not reached:
===============================
# kcusage
Tunable Usage / Setting
filecache_max 3015495680 / 4480000000
maxdsiz 18677760 / 4294963200
maxdsiz_64bit 227475456 / 4294967296
maxfiles_lim 404 / 20480
maxssiz 172032 / 268435456
maxssiz_64bit 1179648 / 1073741824
maxtsiz 35868672 / 134217728
maxtsiz_64bit 28205056 / 34359738368
maxuprc 1005 / 64474
max_thread_proc 128 / 4096
msgmni 2 / 71638
msgtql 0 / 32767
nflocks 20 / 4096
ninode 12300 / 37052
nkthread 27914 / 125382
nproc 6868 / 71638
npty 0 / 4096
nstrpty 815 / 4096
nstrtel 0 / 4096
nswapdev 4 / 32
nswapfs 0 / 32
semmni 154 / 16384
semmns 10697 / 71630
shmmax 19180371968 / 51200000000
shmmni 36 / 9216
shmseg 3 / 8
===============================
And memory usage normal:
===============================
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16384 0 16384 0% 0 - 1 /dev/vg00/lvol2
dev 131072 19116 111956 15% 0 - 0 /dev/dsk/c9t4d4
dev 131072 19112 111960 15% 0 - 0 /dev/dsk/c9t4d3
dev 208896 0 208896 0% 0 - 1 /dev/vg_local_swap/lv_local_swap0
reserve - 92694 -92694
memory 62209 17613 44596 28%
total 549633 148535 401098 27% - 0 -
===============================
perl in openssh(http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-5.2p1/) run-time dependencies list is default hpux 11.31 bundle, but may problem be in it???
===============================
swlist |grep -i perl
perl D.5.8.8.F Perl Programming Language
===============================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2009 02:31 AM
08-20-2009 02:31 AM
Re: Very long login by ssh
>dld.so: Cannot map text for library : mmap(0x0, 0x362be0, 0x5, 0x41, 3, 0x0) returns Not enough space.
You are out of shared memory space or it is too fragmented.
What does "ipcs -ma" show?
You may need a newer linker/dld patch?
If this doesn't solve it, you'll have to contact the Response Center to get a tool that can print details on your shared memory allocations.
Or port your ssh to 64 bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2009 09:13 PM
08-20-2009 09:13 PM
Re: Very long login by ssh
Here is a thread where they are talking about shared memory space for mmap and the shminfo tool:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1364505
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2009 12:42 AM
10-13-2009 12:42 AM
Re: Very long login by ssh
What Steve Post said may be right but according to /var/adm/wtmps file. Check
ll /var/adm/wtmps
I had same problem on some servers, on one of them wtmps file was 1,8GB big and login took over 1 min. After I have zeroing the wtmps file, login takes ~2 sec.
You can use script below to archive and clear wtmps file:
/usr/sbin/acct/fwtmp < /var/adm/wtmps > $SOME_DIR/wtmp_`date +%Y%m%d`.txt
cat /dev/null > /var/adm/wtmps
Pozdrawiam
- « Previous
-
- 1
- 2
- Next »