The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Final Cut Server: "Unable to launch the application" alert may appear when launching iBot OS X Support RSS 0 09-22-2009 09:30 PM
Can't locate object method "fetchrow_array" Error rawat_me01 Shell Programming and Scripting 1 06-03-2009 10:07 AM
Mac OS X 10.5: Active Directory connector uses "macAddress" attribute to locate compu iBot OS X Support RSS 0 04-25-2009 10:45 PM
Mac OS X 10.5: Software Update stops responding during "Configuring installation" iBot OS X Support RSS 0 12-17-2008 11:30 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 3 Weeks Ago
HPAVC's Avatar
HPAVC HPAVC is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 106
Locate NFS "not responding still trying" application on client

At times I have unknown applications that hang for long periods of time over and over again after a network glitch. These are sometimes nfs4 but usually nfs3 clients and are always solaris10 systems.

Code:
nfs: [ID 333984 kern.notice] NFS server hostname not responding still trying 
nfs: [ID 563706 kern.notice] NFS server hostname ok 
nfs: [ID 333984 kern.notice] NFS server hostname not responding still trying 
nfs: [ID 563706 kern.notice] NFS server hostname ok
Note that beyond the log entries, the appservers on this host are doing just fine, its just the 'something' that got hung during that glitch that are the problem.

I would love to not have to compile nfswatch or similar app, but use dTrace to trap the call down to the pid that is doing this. I really cannot restart the server, umount and mount, or similar.

Looking at calls with some of the examples at DTrace Tools aren't so easy. errinfo for example is quite noisy and these filehandle problems are not rapid enough to capture easily it seems.

Does anyone know of such a solution?

Thank you

Last edited by DukeNuke2; 3 Weeks Ago at 09:12 AM.. Reason: please use code tags
  #2 (permalink)  
Old 2 Weeks Ago
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
Soft mounting of NFS mounts that are to be written can cause problems, hard mounts cause the application concerned to "hang" until it can write rather that carrying on regardless and making a mess of things (by not writing and just complaining instead).

P.S. Try taking a look at lsof which can be obtained ready compiled and packaged from http://sunfreeware.com.
Reply

Bookmarks

Tags
dtrace, nfs, solaris 10

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0