25ddaa31f9
The sm process initializes with the default limit for the maximum number of open files. If somehow this default value is set to a high value, performance degradation can occur. For instance, the sm_service_action_run method from sm_service_action.c contains a for loop that closes file descriptors up to this limit. To avoid performance degradation, this change sets the limit for the maximum open files to 1024 using the systemd property LimitNOFILE. TEST PLAN: PASS: Confirm that 1024 is the max open file limit in /proc/<sm_pid>/limits. Story: 2010087 Task: 47102 Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com> Change-Id: Iff848da7461a8b644057e9f58c69fa2d78499226 |
||
---|---|---|
.. | ||
centos | ||
debian | ||
opensuse | ||
scripts | ||
src | ||
LICENSE | ||
Makefile |