Boda Error: EMFILE: too many open files, open

Hello guys,

While the new Boda version is not released, i’m trying to use the “old version”.

But i’m having an issue with Boda, that the service breaks while uncompressing the backup files that i downloaded from OSS.

The error that poped up is:

Error: EMFILE: too many open files, open ‘/home/Desktop/DL_OSS/Huawei/Input/GExport_TRZ.xml.gz’

I’m running BODA as app.image on Ubuntu version 20.04 LTS (Focal Fossa).

The Java version that i’m using is openjdk version “11.0.14.1”.

Does anyone have similar issue running the software?

I automated the collect GExport from the OSS, the next step is to automatically run daily Boda on this ubuntu server to generate the network dump.

This means too many files are being opened. How many files are you processing?

At this moment 800 GExport files, this is just from one OSS.
I needed to process files from another three more management.
Is there a limit of files do parse?

800 is not a big number. The errror is related to the max number of configured open file descriptors on the OS.

2 Likes

I think google would have answered that one for you more easily :slight_smile:

Try the command ‘ulimit -a’. Check your file descriptor limit. You can also use ‘ulimit’ to increase your limit.

2 Likes

Thanks a lot!
I could solve this, with sudo user was working but when i was using my user the configuration was lost.
I made the configuration on the bashrc file and it worked.

1 Like