Close the open files. You can programmatically raise the open file limit, before starting the process and lower it after, but the system sets limits so you don't crash the machine