Removed getrlimit(2) to run on the master side.