One thing to try before you kill the: Power cycle the tape drive.
Sometimes it makes those hung processes go away like magic. Sometimes
not. But it's safe and may be worth a shot, as long as the only session
holding the drive is hung.
Conrad Macina
Pfizer, Inc.
-----Original Message-----
From: Keith Roy [mailto:Keith.Roy AT FAIRCHILDSEMI DOT COM]
Sent: Thursday, November 29, 2007 7:58 AM
Subject: Re: Hanging session
Hi Tim,
We also see the nsrmmd processes hang from time to time, and have a case
opened with EMC to review this as well. I am not sure which platform
you
are running on, but when we have this issue on our Solaris ( Unix )
Networker server, we use the lsof utility against the tape device (
/usr/local/bin/lsof /dev/rmt/0cbn ) which will return the process id of
the nsrmmd process. From this information we can usually do a 'kill
<pid>' and the nsrmmd daemon restarts. I know this is not a great
solution, but it has saved us from restarting the application from time
to
time. Your milage will vary.
Keith
Tim Verbois <Tim.Verbois AT ET.VLAANDEREN DOT BE>
Sent by: EMC NetWorker discussion <NETWORKER AT listserv.temple DOT edu>
11/29/2007 04:54 AM
Please respond to
EMC NetWorker discussion <NETWORKER AT listserv.temple DOT edu>; Please respond
to
Tim Verbois <Tim.Verbois AT ET.VLAANDEREN DOT BE>
To
NETWORKER AT listserv.temple DOT edu
cc
Subject
[Networker] Hanging session
Hello,
when a sessions dies due to an error it sometimes stays visible in
nsrwatch. There is no process connected to it anymore but the session
blocks a drive (it is backupping to that tape, but no bit is written to
it). After a while the session disappears, but that can take hours and
sometimes, it stays there forever. The only solution then is to restart
the networker daemons.
Is there a way to kill these sessions without restarting the networker
daemons??
Tim
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type
"signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|