Re: [android-kernel] Prevent demon form being killed, when device goes to SLEEP

2011-02-15 Thread raja pavan
"Killed" , lowmemorykiller has the power to kill processes, so lmk cuold be behind this. write /proc/1/oom_adj -16 This will prevent the lowmemorykiller driver from killing your process (if lmk happens to be the reason) Please let me know the result. On Tue, Feb 15, 2011 at 2:57 PM, P@AR wrote

[android-kernel] Prevent demon form being killed, when device goes to SLEEP

2011-02-15 Thread P@AR
Hello, I need help over here! Hi I am developing a Linux application(deamon) written in C, for my Android device. I have configured my init.rc script to start the deamon when the device is booted. Everything works just fine when the device is booted and my demon starts, but when the device "sleeps"