Cleaned up sysctl and rlimit test and set
Use files instead of sysctl to set limits