Merge "Globally allow up to 32K FDs open per process" am: 451ff37052
am: 42fb030221
Change-Id: I3c73e3e235d496d0ad65a7c5a4aee2fb23aeb173
This commit is contained in:
commit
32e268561a
1 changed files with 4 additions and 1 deletions
|
|
@ -242,7 +242,10 @@ on init
|
||||||
export DOWNLOAD_CACHE /data/cache
|
export DOWNLOAD_CACHE /data/cache
|
||||||
|
|
||||||
# set RLIMIT_NICE to allow priorities from 19 to -20
|
# set RLIMIT_NICE to allow priorities from 19 to -20
|
||||||
setrlimit 13 40 40
|
setrlimit nice 40 40
|
||||||
|
|
||||||
|
# Allow up to 32K FDs per process
|
||||||
|
setrlimit nofile 32768 32768
|
||||||
|
|
||||||
# This allows the ledtrig-transient properties to be created here so
|
# This allows the ledtrig-transient properties to be created here so
|
||||||
# that they can be chown'd to system:system later on boot
|
# that they can be chown'd to system:system later on boot
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue