Value: <action>
Comment: Specify an action on failure.
<action> can be: reboot
+ If <action> is reboot, then this app|service|process will be added to the watchdog.
+ If this app|service|process was killed, then the system will reboot.
+ It does same thing as ActionOnFailure in the Private|VIP_GROUP section of vip-process.conf.d.
Example: ActionOnFailure=reboot
Key: WatchdogAction
Key: OomScore
Value: <oom_score_adj>
-Comment: Specify the oom_score_adj.
+Comment: Specify the fixed oom_score_adj.
oom_score_adj is an integer value between -900 to 250.
Predefined values cannot be used.
- Predefined values are: -900, 0, 100, 150, 200, 230, 250
- (Please refer to procfs.h)
+ Predefined values:
+ -900 : The lowest oom score value in resourced.
+ 0 : Initial value for services and processes.
+ 100 : Initial value for apps.
+ 150 : Foreground status when it is cpu-locked(prevents sleep).
+ 200 : Foreground status when it is cpu-unlocked(sleep available).
+ 230 : Perceptible apps (background)
+ 250 : Background status when it is cpu-locked(prevents sleep).
Example: OomScore=125
8. vip-process.d/*.conf
Value: <action>
Comment: Specify an action on failure.
<action> can be: reboot
+ If <action> is reboot, then this app|service|process will be added to the watchdog.
+ If this app|service|process was killed, then the system will reboot.
+ It does same thing as ActionOnFailure in the Private section of process.conf.d.
Example: ACTION_ON_FAILURE=reboot