bpfloader: Increase rlimit to 64MB
The rlimit was recently set to 8MB for bpfloader in Change Id Ib97d1d304f4ea9a6215afed76e1c1e28f1415221 This could be causing intermittent failures to create maps, let us increase it to 64MB for bpfloader. Bug: 134558982 Change-Id: Iabb2e6c7d9ea3843ae28f2c465756e5aacdf1904 Signed-off-by: Joel Fernandes <joelaf@google.com>
This commit is contained in:
parent
0523615034
commit
2d8176917f
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
service bpfloader /system/bin/bpfloader
|
||||
class main
|
||||
capabilities SYS_ADMIN
|
||||
# Set RLIMIT_MEMLOCK to 8MB for bpfloader
|
||||
rlimit memlock 8388608 8388608
|
||||
# Set RLIMIT_MEMLOCK to 64MB for bpfloader
|
||||
# Actually only 8MB is needed, but since bpfloader runs as root, it shares
|
||||
# the global rlimit. Once bpfloader is running as its own user in the
|
||||
# future, it will have dedicated rlimit to itself and this can be 8MB.
|
||||
rlimit memlock 67108864 67108864
|
||||
oneshot
|
||||
|
|
Loading…
Reference in a new issue