Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread Martin Grimme
Hi, 2015-05-03 13:09 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com: afaik it only closing propcesses with windows, no? No, it is the Linux OOM handler, which does not care or know about what a Wayland window is. If your daemon is invoked as a systemd service, you can adjust the OOMScore

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread E.S. Rosenberg
I think it's the regular linux OOM killer, in general it doesn't kill everything but it will/should kill up to the point that enough RAM was freed to regain system stability... So if your deamon has a very small RAM footprint the chance it will get killed is much lower then if it's a RAM hog...

Re: [SailfishDevel] 回复:Re: could we support hw overlay from gst-droid?

2015-05-03 Thread Mohammed Hassan
On Fri, May 01, 2015 at 08:01:34PM +0300, Tone Kastlunger wrote: I'd guess this would require patching lipstick (compositor) as well? tortoisedoc I cannot tell. One option is to use wayland subsurfaces (I don't know if it's even possible or not). We can then extend droideglsink to use

Re: [SailfishDevel] Pull data in background

2015-05-03 Thread Nicolas Cisco
I've create the gui view and set setQuitOnLastWindow to false. The problem i'm having is that when the app gui is closed (the app continues running on background), but the user can't open it again. How can i reopen the gui view when the user clicks on the menu button of the app?. The main code:

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread Andrey Kozhevnikov
afaik it only closing propcesses with windows, no? 03.05.2015 10:08, Taixzo пишет: I notice that Sailfish tends to close all running applications when some limit of RAM or CPU is reached. Is there a way to make an app launch a daemon process that does not get killed by this? -- Sent from

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread MARTIN GRIMME
Am 3. Mai 2015, um 16:39, schrieb E.S. Rosenberg es.rosenberg+sailfishos@gmail.com: Well for one thing you have the extremely RAM hungry Android environment which they didn't have... On the other hand, the N900 and N9 could have become pretty unresponsive while swapping, up to the

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread Taixzo
I wonder why Sailfish OS does this while Harmattan and Maemo did not? They certainly didn't have more RAM to work with. Sunday, May 3, 2015 7:56 AM E.S. Rosenberg wrote: Also note that if you skew it too much in favor of yourself the system may end up killing genuinely important system

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread E.S. Rosenberg
Also note that if you skew it too much in favor of yourself the system may end up killing genuinely important system processes instead of your daemon, no user will be happy about that 2015-05-03 14:43 GMT+03:00 Martin Grimme martin.gri...@gmail.com: Hi, 2015-05-03 13:09 GMT+02:00, Andrey

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread E.S. Rosenberg
Well for one thing you have the extremely RAM hungry Android environment which they didn't have... 2015-05-03 17:16 GMT+03:00 Taixzo tai...@gmail.com: I wonder why Sailfish OS does this while Harmattan and Maemo did not? They certainly didn't have more RAM to work with. Sunday, May 3, 2015