increase max open files (works for OSX but not for Linux)