Re: killing a hung process



> Hello all,
> 
> This is from the wm-spec:
> 
> If processes fail to respond to the _NET_WM_PING protocol _NET_WM_PID may
> be
> used in combination with the ICCCM specified WM_CLIENT_MACHINE to attempt
> to
> kill a process.
> 
> Is there a reason why you can't just XKillClient on the window id to kill
> off the program?
> 

XKillClient is just breaking the X connection, which *may* cause the
offending client to 
exit, but if it is stuck waiting for something else,  it will just go into
"stealth" mode and keep
consuming resources... XKillClient is a reliable way to free the server side
resources of a hung client,
but not the client side resources.

Matthias 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




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