Project

General

Profile

Too many files open

Added by Neeldip Barman about 4 years ago

Hi,
I am trying to find the sum of a variable from 1440 files using cdo enssum. But I am getting this error regarding too many files open. What is the max no of supported files?
Using v1.9.7.

Regards
Neeldip


Replies (6)

RE: Too many files open - Added by Uwe Schulzweida about 4 years ago

The maximum number of open files depends on your system. You can check it in bash with "ulimit -n".

Cheers,
Uwe

RE: Too many files open - Added by Neeldip Barman about 4 years ago

Mine is 1024.
Is there any way to increase that?
Is it RAM dependent?

RE: Too many files open - Added by Neeldip Barman about 4 years ago

Neeldip Barman wrote:

Mine is 1024.
Is there any way to increase that?
Is it RAM dependent?

Ok, I got the solution.
Cheers.

RE: Too many files open - Added by Kyle Lesinger over 3 years ago

Neeldip,

May I ask what your solution was? I am having similar issues with mergetime.

Thanks,

KL

RE: Too many files open - Added by Neeldip Barman over 3 years ago

Run
ulimit -n 1024
Or any other value, just keep the value greater than your no of files

RE: Too many files open - Added by Kyle Lesinger over 3 years ago

Here is a reference for changing the ulimit https://medium.com/@muhammadtriwibowo/set-permanently-ulimit-n-open-files-in-ubuntu-4d61064429a. I needed it to be 15000 and I have successfully changed in in my Ubuntu.

    (1-6/6)