- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RH Linux 5: NFS hangs and users cant log in
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
Discussions
Discussions
Forums
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
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
тАО05-25-2010 12:46 PM
тАО05-25-2010 12:46 PM
RH Linux 5: NFS hangs and users cant log in
$ uname -a
Linux . . . 2.6.18-8.el5PAE #1 SMP Fri Jan 26 14:28:43 EST 2007 i686 i686 i386 GNU/Linux
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)
$ rpm -qa | grep -i nfs
system-config-nfs-1.3.23-1.el5
nfs-utils-lib-1.0.8-7.2
nfs-utils-1.0.9-16.el5
$ ssh -V
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
One server uses log on from
HP-UX . . . B.11.23 U ia64 3735928559
user mounts are
type nfs (rw,nosuid,soft,addr=nn.nnn.nnn.nnn)
two other non user mounts with
type nfs (rw,nosuid,nodev,addr=nn.nnn.nnn.nnn)
different users will log into this target server from same server, where home directories reside and may be on different filesystems (if that matters).
When issue arises symptoms include:
- Some uses are able to log in, though one user I talked to, I think, stated their home directory did not get mounted. Circumstances may change as time goes on.
- Some users cannot log in via ssh, like me: тАЬssh exchange identification: connection closed by remote host. тАЬ
- At times, could log in using telnet, which leads me to think it is not an NIS issue. At another time, it asked for password and then тАШ: тАЬConnection closed by foreign host.тАЭ
- I had a ssh session running, and event occurred overnight, the session continued to function and mounted home directory appear to continue OK, but when I tried to log in with an additional new session, that one got bounced
- when df command is executed, it hangs
- NFS hangs on reboot, going down
- Server had to be rebooted on back to back days; then went 2 weeks before having the issue occur 2X within 36 hours. Again, there are times the server encounters heavy loads
- FYI the message log generates about 250k messages a day to go thru and without specific moment when a user cannot log in or df command hangs, it is difficult to determine exactly when the event occurs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 12:56 PM
тАО05-25-2010 12:56 PM
Re: RH Linux 5: NFS hangs and users cant log in
1) Has this server ever been patched?
2) Try and see if there is a pattern, e.g. the failures are all with home directories being served by a particular host.
I suspect communications is being lost to a particular host in the NFS/home infrastructure.
You may need to create or elevate an existing server to be a management server. It will need the ability to manage what users are on what NFS home server.
You can run a few utilities on the various NFS hosts to gather data.
df -kh # if there are nfs mounts the hang will include the name of the hung server.
showmount -e hostname
# This will show available NFS shares and should be run over time.
If no host is going down, then you may simply be overloading the NFS server.
sar can be used to measure network traffic and you may need to load balance.
NFS can be clustered, active active, so you have options to lower load factors.
Network teaming can also help with load issues. Two NIC cards bonded with 1 IP address can in practice handle 75% more traffic than a single NIC card.
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
тАО05-25-2010 01:13 PM
тАО05-25-2010 01:13 PM
Re: RH Linux 5: NFS hangs and users cant log in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 03:41 PM
тАО05-25-2010 03:41 PM
Re: RH Linux 5: NFS hangs and users cant log in
thanks for the quick response. I have only been here 3 weeks and am trying to get familiar with the environment. I am going to have to do a little more investigating to know the patch history of the server with some of the others more familiar with the server, but I do want to have more tools to work with if it does occur and have some better answers.
I am going to have to continue investigating and familarizing myself with things. One thing I noticed with "mount -l" is one of the less problematic users showed the server alias rather than the server name itself.
The only other Numbers I have at the moment are:
The server has only one NIC.
The only measurement that I have been following is PTYs which max out at 840.
MAX pty for the Linux server is 4096.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2010 01:51 PM
тАО05-26-2010 01:51 PM
Re: RH Linux 5: NFS hangs and users cant log in
If you are having network issues at least this will mitigate them.
I totally agree that this system badly needs to be patched.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2010 02:39 PM
тАО06-02-2010 02:39 PM
Re: RH Linux 5: NFS hangs and users cant log in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2010 02:41 PM
тАО06-02-2010 02:41 PM