Locate NFS "not responding still trying" application on client


 
Thread Tools Search this Thread
Operating Systems Solaris Locate NFS "not responding still trying" application on client
# 1  
Old 10-29-2009
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; 10-29-2009 at 10:12 AM.. Reason: please use code tags
# 2  
Old 11-08-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

3. OS X (Apple)

"Locate" Shows Files but Not "LS" in Terminal

OS-X 10.8.4 Using locate I get these results: 10:~ mize$ locate /Users/mize/*.sh /Users/mize/Zend/workspaces/DefaultWorkspace/SLM/vendor/ZF2/bin/check-cs.sh /Users/mize/copy_ascii_upload.sh /Users/mize/copy_ascii_upload_to_server.sh /Users/mize/copy_form_functions_php_to_jpl.sh... (7 Replies)
Discussion started by: Gary Mize
7 Replies

4. Programming

How can I not fall in "not responding " while doing long loop?

Hi .. I'm a student that I helped by you when I was learning c for unix.. I want to ask you about different thing this time and I know you can help me be cause I like your style helping people.. I want to ask about .net c# ... I did a simple program that make me control my windows system... (3 Replies)
Discussion started by: fwrlfo
3 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Shell Programming and Scripting

Can't locate object method "fetchrow_array" Error

Hi, I have a perl script which is interacting with Database. I have following line of code : ================================================= sub BEGIN { #use Getopt::Std; #getopt ('S'); #($STEAP)=($opt_S); use lib ("/home/perl_lib"); use... (1 Reply)
Discussion started by: rawat_me01
1 Replies

7. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
Login or Register to Ask a Question