Skip to content

Commit fa6b05a

Browse files
muhomorrthestinger
authored andcommitted
raise max RLIMIT_NOFILE for zygote from 32K to 256K
1 parent d86a07b commit fa6b05a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

rootdir/init.zygote32.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
33
priority -20
44
user root
55
group root readproc reserved_disk
6+
rlimit nofile 32768 262144
67
socket zygote stream 660 root system
78
socket usap_pool_primary stream 660 root system
89
onrestart exec_background - system system -- /system/bin/vdc volume abort_fuse

rootdir/init.zygote64.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s
33
priority -20
44
user root
55
group root readproc reserved_disk
6+
rlimit nofile 32768 262144
67
socket zygote stream 660 root system
78
socket usap_pool_primary stream 660 root system
89
onrestart exec_background - system system -- /system/bin/vdc volume abort_fuse

rootdir/init.zygote64_32.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote
55
priority -20
66
user root
77
group root readproc reserved_disk
8+
rlimit nofile 32768 262144
89
socket zygote_secondary stream 660 root system
910
socket usap_pool_secondary stream 660 root system
1011
onrestart restart zygote

0 commit comments

Comments
 (0)