Change the open file limits and kernel parameters

Change the open file limits and kernel parameters.