The issue is that kill -9 kills the process with extreme prejudice, in
this case that means immediately.  The process does not have time to
clean up.  Always try just "kill" first, this sends a TERM signal which
can be caught and a sophisticated program(such as most programs that use
locks) can clean up and then exit.  Some times thee processes wander off
into the weeds and you have to use -9 to kill them, unfortunately they
then often leave trash (such as lock files) in the file system.

On Wed, 2013-07-31 at 06:47 -0700, MJang wrote:
> On Tue, 2013-07-30 at 21:39 -0700, Jason LaPier wrote:
> > kill -9 20774
> > http://www.monzy.com/intro/killdashnine_lyrics.html
> 
> snip
> > >
> > > Existing lock /var/run/yum.pid: another copy is running as pid 20774.
> 
> On rare occasion, a kill -9 doesn't work. You should be able to delete
> the /var/run/yum.pid file.
> 
> Thanks,
> Mike
> 
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
"I invented the term 'Object-Oriented', and I can tell you I did not
have C++ in mind."
    — Alan Kay, creator of Buy at Amazon.comSmalltalk.
[email protected]



_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to