Adjust OOMScore of pkgmgr-info.service 17/279917/3
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 19 Aug 2022 05:32:05 +0000 (14:32 +0900)
committerilho kim <ilho159.kim@samsung.com>
Fri, 19 Aug 2022 06:01:31 +0000 (06:01 +0000)
Because pkgmgr-info.service has a default OOMScore
if there is insufficient memory in the system
the pkgmgr-info.service can be a victim with a high priority
To prevent this, apply OOMScore to -100

Change-Id: Ic48662f207a0208d358a1c3f813ab3a8c8864602
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
packaging/pkgmgr-info.service

index a2c1b00..d196cda 100755 (executable)
@@ -9,6 +9,7 @@ SmackProcessLabel=System
 Capabilities=cap_dac_override,cap_sys_nice=i
 SecureBits=keep-caps
 ExecStart=/usr/bin/pkginfo-server
+OOMScoreAdjust=-100
 Type=notify
 User=app_fw
 Group=app_fw