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.
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
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.
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)
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)
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)
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)
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)
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)
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)