[afnog] Hung connection
    Brian Candler 
    B.Candler at pobox.com
       
    Wed Apr 28 19:26:00 EAT 2004
    
    
  
On Wed, Apr 28, 2004 at 12:30:22PM +0100, Samuel Gathigi wrote:
> try 
> ps -aef | grep <username>
> it will show the process id
> kill -9 <pid>
Never do "kill -9" unless absolutely necessary. The problem is that -9
(SIGKILL) is instand death, and so the process will not have a chance to
clean up after itself - remove lock files, pid files, and so on.
First do:
# kill <pid>
(that sends it a SIGTERM). Then wait 10 seconds. If it still hasn't died,
and you can't see any other way around the problem (e.g. killing its
parent), *then* do kill -9.
Regards,
Brian.
> 
> -----Original Message-----
> From: afnog-bounces at afnog.org [mailto:afnog-bounces at afnog.org]On Behalf
> Of antonio at nambu.uem.mz
> Sent: 28 April 2004 10:27
> To: afnog at afnog.org
> Subject: [afnog] Hung connection
> 
> 
> Hi all,
> 
> Does anyone know how to kill a hanging connection on FreeBSD? 
> Sometimes an outlook client is connected to the mail server through 
> POP3 and the client crashes leaving the mailbox open and locked. Any 
> way of killing that connection?
> 
> Cheers,
> 
> 
> _______________________________________________
> afnog mailing list
> afnog at afnog.org
> http://listserv2.cfi.co.ug/mailman/listinfo/afnog
> 
> _______________________________________________
> afnog mailing list
> afnog at afnog.org
> http://listserv2.cfi.co.ug/mailman/listinfo/afnog
> 
    
    
More information about the afnog
mailing list