dbeaver/cloudbeaver

Service exception: Too many open files

chrisleell opened this issue · 5 comments

Service can not be used normally. The log shows exception: "Too many open files". The process opened 1,048,628 files and most of these files are from the directory /opt/cloudbeaver/workspace/GlobalConfiguration/.dbeaver. This makes me very confused.
image
image
image

Hi @chrisleell
Please update CloudBeaver version, this problem was fixed in 24.0.2

Hi @EvgeniaBzzz
I have updated the version to 24.0.3. But when I open the connection. The number of open files increases. Even if I close all the connections and wait for a while. The number of open files is still high. I wonder when these open files will be closed.

Hi @chrisleell
It is expected that the number of files increases after connection. Service files will close after some time following a disconnection.
I just checked your case on the current version of CB and looks like everything works fine. In a minute after disconnection number of files is reduced to the previous value.

How big is the file growth after each connection? I mean the gap between 'before' states.
You can try to update to a major version (24.2.0).

Hi @EvgeniaBzzz
I tried to update to the latest version (24.2.2) and the problem did not occur again.
Thank you for your reply.

Great! 🦫
Thanks for the update