Descriptionandroid: Limit num renderer to service slots
This is a temporary workaround crbug.com/693484. The issue is chrome on
android expects the OS to not be able to maintain more than 20 service
processes. So the current code can only has 20 sandboxed slots, but
tells chrome that it can create as many renderer as it wants. On some
OEM devices, android has been tweaked to allow more than 20 background
processes, and this leads to a catastrophic failure case of not being
able to create new renderers.
The real fix of chrome actively killing LRU child is not ready, so this
is an imperfect workaround, to tell chrome to not create more than 20
renderers.
Note this will not cover all cases since this is a soft limit, and there
are other non-renderer sandboxed child processes beyond renderer. But
this should cover a large chunk of use cases to be address this severe
failure case in the short term.
BUG=693484
Review-Url: https://codereview.chromium.org/2793623002
Cr-Commit-Position: refs/heads/master@{#461482}
Committed: https://chromium.googlesource.com/chromium/src/+/cbef3d37319db3e6153494db5f97df9412959856
Patch Set 1 #Patch Set 2 : catch exception in unit tests #Patch Set 3 : fix remaining unit tests #
Total comments: 6
Messages
Total messages: 14 (7 generated)
|