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

2015-05-04 Thread Tomasz Sterna
Dnia 2015-05-03, nie o godzinie 05:08 +, Taixzo pisze: Is there a way to make an app launch a daemon process that does not get killed by this? It is very easy to launch a user-systemd lever service. Just create .service descriptor file and systemctl --user start ... it. If it becomes RAM

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] 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

[SailfishDevel] Keeping background process running in Sailfish OS

2015-05-02 Thread 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 Whiteout Mail - https://whiteout.io My PGP key: