Re: unable to terminate a process

From: Pradeep Mishra (pradeep.h.mishra@gmail.com)
Date: Mon Sep 24 2007 - 07:23:13 EDT


Thanks Everyone.

Today I could see that the process was disappeared in ps -aef | grep
spamd command and that i could restart a new spamd without rebooting
the server.

Thanks Everyone.

On 9/24/07, De Smaele Kim <Kim.DeSmaele@bpo.be> wrote:
> Dear,
>
> As you can see the ppid (parrent process id) is 1. This means it's
> running in kernel space, you can't kill processes in kernel space.
>
> Grts,
> Kim DS.
>
> > -----Original Message-----
> > From: sunmanagers-bounces@sunmanagers.org
> > [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of
> > Pradeep Mishra
> > Sent: vendredi 21 septembre 2007 16:27
> > To: sunmanagers
> > Subject: unable to terminate a process
> >
> > Hi Gurus
> >
> > I can't kill a process `spamd` and i found that this
> > process is freezed and is not letting me kill.
> >
> > netstat output shows
> > #netstat -n | grep 783
> > 127.0.0.1.783 127.0.0.1.34874 32722 0 32768
> > 0 CLOSE_WAIT
> >
> > and i =ps -aef | grep spamd
> > nobody 4275 1 0 16:37:09 ? 0:00
> > /usr/perl5/5.6.1/bin/perl -T /usr/local/bin/spamd -D -d -p 783
> > 4 such processes which are not responding to kill or pkill commands.
> > tried to find an spamd.pid but that too is not there anywhere
> > and now I have difficulty restarting the process as the port
> > 783 is unavailable due to this frozen proc.
> > We have sun comm suite 5 installed and this server is also
> > running spamd.
> > So pls shed some light on how to kill this process without
> > rebooting the server.
> > the OS is sun 5.9a.
> >
> >
> > Thanks for help.
> >
> >
> > Regards
> > Pradeep Mishra
> >
> > --
> > Good Judgement comes from Experience and Experience comes
> > from bad Judgement!!
> > The more I know, the more I realize I don't know!?
> > The easiest way to find out is to try it!!!
> > _______________________________________________
> > sunmanagers mailing list
> > sunmanagers@sunmanagers.org
> > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> >
>

-- 
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try it!!!
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:21 EDT