added linux specific code to determine the maximum number of open files