[Sugar-devel] [Dextrose] Stability stuff

Bernie Innocenti bernie at codewiz.org
Thu Sep 2 19:46:02 EDT 2010

El Thu, 02-09-2010 a las 09:26 -0400, Martin Abente escribió:
> Weird, I really tried to trigger it on our last Dextrose build and never
> happened.

Perhaps it's gone, but I have not done anything to fix it. The bug seems
to be in Pytrhon, dbus or their dependencies.

> The whole idea of killing activities is a little bit controversial I
> think, you have to assume to many things about activities, so far just a
> few activities in sugar uses all the proper mechanisms, I am afraid that in
> most of the cases kids would just loose their current work.

I thought almost all activities understood the protocol for quitting
cleanly (probably a dbus message). You can test it by clicking Stop from
the menu on the icons top of the frame. That wouldn't work without
sending an IPC message of some kind (probably we use dbus because we
can't stand to use established X11 standards to manage applications).

> What about... If the system load is already close to a "critical" point,
> SUGAR could just stop new activities from being executed with a proper
> warning, and suggestions.

This is also a very good suggestion. We could start by doing this, which
is a lot easier and almost equally effective.

   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/

More information about the Sugar-devel mailing list