On Linux as on Windows, there are thresholds fixing the number of files open simultaneously per process and for the whole system. Here are some commands to display them.
Commands to reduce disk space occupied by obsolete files