commit | fe523c67bc8b06920e4d8ca3a32b202c360c08a3 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Apr 06 10:22:41 2016 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Apr 06 10:22:44 2016 -0600 |
tree | 4c6a63e1ed0772229493697be61a3ecbbe07b2a8 | |
parent | 12a52bc3914ac593eb74f5787de54f3682d7f01d [diff] |
Wrap logcat invocations with timeout. We've seen evidence that the logcat binary can end up wedged, which means we can eventually starve system_server for FDs. To mitigate this, wrap logcat using the timeout utility to kill and clean up if it takes too long to exit. Bug: 27994717, 28021719, 28009200 Change-Id: Ieed1460d89598628a5db868645fd305d0e9054ed