diff --git a/logd/main.cpp b/logd/main.cpp index 9b889838d..f90da374b 100644 --- a/logd/main.cpp +++ b/logd/main.cpp @@ -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); } diff --git a/rootdir/init.rc b/rootdir/init.rc index 5f1169daf..dc85d98cd 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -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