logd: increase dgram_max_qlen to 600

Seeing liblog messages on system_server runtime restart
(too much system_server spam, 566 messages in 72ms)

Bug: 23788621
Change-Id: I5171f2c19a3538da190fc6c2b40e978d89bf0e20
This commit is contained in:
Mark Salyzyn 2015-09-08 11:24:07 -07:00
parent fca4821e05
commit 39944c89a9
2 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ int main(int argc, char *argv[]) {
LogListener *swl = new LogListener(logBuf, reader);
// Backlog and /proc/sys/net/unix/max_dgram_qlen set to large value
if (swl->startListener(300)) {
if (swl->startListener(600)) {
exit(1);
}

View File

@ -86,7 +86,7 @@ on init
write /proc/sys/kernel/kptr_restrict 2
write /proc/sys/vm/mmap_min_addr 32768
write /proc/sys/net/ipv4/ping_group_range "0 2147483647"
write /proc/sys/net/unix/max_dgram_qlen 300
write /proc/sys/net/unix/max_dgram_qlen 600
write /proc/sys/kernel/sched_rt_runtime_us 950000
write /proc/sys/kernel/sched_rt_period_us 1000000