Moderator
|
OK this is purely a brainstorm.
I was reading a review of Minix3 and it has a special "server" called reincarnation server. This server pings applications and restarts them if they hang. I think this could be done by KDE, and not only for KDE specific apps, but for any app. I don't know if it would be able to resurrect a basic (kernel) system especially beacuse KDE runs on different platforms, but at least smaller process could be resurrected.
Last edited by bcooksley on Sat Apr 04, 2009 9:11 pm, edited 1 time in total.
Primoz, proud to be a member of KDE forums since 2008-Nov.
|
KDE Developer
|
With DBus it should definitely work.
|
Moderator
|
I give this idea some more thought, and I think that it could be done with "aggressive" caching for a specific app.
In modern computer at least I can say this for Linux swap is more or less useless as computer have much more ram than it's needed. Now I'm not sure about other platforms, as all I know is that OS X and Windows have swap but not as a partition, but as file. Anyway swap is mostly idle so why not use it for caching of this app and if it crashes just recall it from swap. So lets say I'm writing a report in KWrite or OOo or even Word and it crashes D-bus would receive signal that it crashed and revive the app with all information stored in it even if I forgot to save. That would be done for any app on which work and loss of information is too important to happen. That would in my opinion bring KDE above any other DE or OS. (Or at least that's what I think) And I know that there are back-up files with ~ on the end, but Just few days ago I was working in Kate and writing something and then I started fiddiling around and it crashed. I thought that I will be able to retrieve all lost data from back-up file, but it didn't contained the most recent version of it. That's why I thing keeping it in swap or ram is better than saving it on disk. And if crash is to severe and you're forced to restart this daemon would take care that data would be transferred from swap to disk. Even I'm not completely sure this is even possible so any comment is useful.
Primoz, proud to be a member of KDE forums since 2008-Nov.
|
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]