<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
I also saw this post on the mailinglist:
<a class="moz-txt-link-freetext" href="http://email@example.com/msg00537.html">http://firstname.lastname@example.org/msg00537.html</a>
which also contains a script which can be executed by a cron-job. It
works, so the scripting part won't be a problem.<br>
But I find it rather strange that something like this happens. Because
the programs are started as child of gnome-session, gnome-session
itself should take care of the rest, right? So when the gnome-session
gets a SIGTERM, it should kill it's child along with it, right?<br>
Well, I see now, that gnome-session doesn't create childs, but that
gnome-panel and other processes are created as seperated processes. So
they are not childs (saw it with "ps fax"). But anyway, gnome-session
does take care of your session, so he needs to kill the rest with it,
Gavin McCullagh wrote:
<blockquote cite="mid20070403093108.GD32302@gmail.com" type="cite">
<pre wrap="">Hi Eduwijs & Todd,
On Tue, 03 Apr 2007, Eduwijs beheer (Michiel) wrote:
<pre wrap="">I have the same "problems" as the user on which I reply. Why does this
happen? I don't use ltsp, but I use Nomachine NX. The processes that
will stay running are gnome-panel and bonobo-activation-server. And
gnome-panel is using then a lot of CPU. What could be the cause of this?
They aren't zombies. I'm also running Ubuntu 6.10.
The session is started with the command: "dbus-launch
--exit-with-session gnome-session". But when this closes, it won't kill
the other programs which are running with the session itself.
I'm not sure what the reason for the stale processes is, but I recall
reading on the debian-edu lists that people were writing workaround scripts
for clearing out old processes some months back. A quick search gives me:
<a class="moz-txt-link-freetext" href="http://www.skolelinux.no/~klaus/newnotater/x4181.html">http://www.skolelinux.no/~klaus/newnotater/x4181.html</a>
which assumes you are using KDM in that he suggests you hook it into
/etc/kde2/kdm/Xreset. As edubuntu doesn't use KDM, I suppose you could
possibly put it in /etc/X11/Xsession or even in the ssh_remote_command
variable in /opt/ltsp/i386/usr/sbin/ldm.
It also seems to presume nobody is logged in in two places (which they
probably shouldn't anyway).
<pre class="moz-signature" cols="72">--