I want to have a large log buffer for my logging needs on an Android device (Nexus 5). I've already increased the log buffer size to 4MiB by changing CONFIG_LOG_BUF_SHIFT
to 22 and compiling the kernel and everything was working fine. But if I set this value to 23 or more I get these error messages in kernel log:
<3>[ 831.843405] audit: *NO* daemon at audit_pid=3115
<4>[ 831.843468] audit: audit_lost=1 audit_rate_limit=4000 audit_backlog_limit=8192
<3>[ 831.843584] audit: auditd disappeared
and seems like auditd is constantly restarting:
<38>[ 18.793725] logd.auditd: start
<38>[ 23.835792] logd.auditd: start
<38>[ 28.854019] logd.auditd: start