RE: Run away process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try to renice the process with a negative figure and then attempt to
kill?

-----------------------
Khushil Dep

-----Original Message-----
From: linux-admin-owner@xxxxxxxxxxxxxxx
[mailto:linux-admin-owner@xxxxxxxxxxxxxxx] On Behalf Of urgrue
Sent: 01 February 2006 10:57
To: dermot@xxxxxxxxxxxxxxxx
Cc: linux-admin@xxxxxxxxxxxxxxx
Subject: Re: Run away process

welcome to the wonderful world of NFS. how about you reconnect the  
windows just long enough for NFS to recover so you can kill the  
process, then detach it again?
other than that, you should look into the various NFS mount options.  
the default settings in most systems are absurd. i recommend you look  
into at least: soft,intr,bg,nfsvers=3,tcp,timeo=30.
these wont help you with your immediate problem, but may help prevent  
similar problems in the future.


> Hi,
> 
> I have a problem this morning.
> 
> I created a perl script to make a backup copy of some files. The
> destination was a remote server (win2k) using a NFS mount. The win2k
> server has fallen over during the process and I can't terminate the
> backup script that was run via cron.
> 
> If I df, my terminal freezes. lsof never returns. kill -9 doesn't do
> anything and I tried to kill -9 the parent, crond. The parent is now
> inetd. It doesn't show in ipcs -a.
> 
> I can't do a reboot the linux box until much later tonight when
> everyone is off and I can't put the windows box on the network as it
> will fall over again if the above process is still running.
> 
> Does anyone know how I can stop this process?
> Thanx.
> Dp.
> 
> 
> ...ps -ef
> root     12684  1657  0 02:19 ?        00:00:00 smbd -D
> root     14351     1  0 03:28 ?        00:00:07 /usr/bin/perl
> /root/dbbackup.pl
> root     14354    15  0 03:28 ?        00:00:00 [pdflush]
> ...
> 
> 
> -
> : send the line "unsubscribe linux-admin"
> in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-
: send the line "unsubscribe linux-admin"
in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux