init maxfiles to number of physnodes