Created success, not raise any error
java.net.SocketException: Too many open files
My OrientDB system has over 100 classes with over 50GB data, setup in cluster mode with 6 node.
Error on client connection
java.net.SocketException: Too many open files (Accept failed)
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at com.orientechnologies.orient.server.network.OServerNetworkListener.run(OServerNetworkListener.java:188)
Please help me.
Thank you
Hi, do you have several nodes installed on the same server?
only one node on one server/IP

cluster mode with 6 node on 6 server.but if i drop some class ,the error disappear
I see how many connections do you have? Could you send me the output of the server during the start?
I see how many connections do you have? Could you send me the output of the server during the start?

you can see, about 56 connections now, some time up to 200 connections .
I see how many connections do you have? Could you send me the output of the server during the start?

after start success, this is status.
Send me whole server log just from the begging
Send me whole server log just from the begging
5000 line logs, can't send all :)
i will send you what main infomation

Do you need whole log file, i will send for you?
OK, I have seen what I need, could you send me the current limit of open files inside of OS? Do you use container inside of the cloud?
OK, I have seen what I need, could you send me the current limit of open files inside of OS? Do you use container inside of the cloud?
No i don't use docker.
This is current limit

You see you have size 65K open files but database for som reason detects a bigger amount of open files. What you need is to change open files limit in DB to the 32K open files. Using this system property -Dstorage.openFiles.limit=32000
it's mean "Dstorage.openFiles.limit" will always set smaller than system limit?
yes sure, you need to have room to open more files for "system" needs too.
yes sure, you need to have room to open more files for "system" needs too.
i want to ask more: Do i need to add " LimitNOFILE="number limit" " to .service file? (because i run orientDB as service on Linux)
Like this

You see you have size 65K open files but database for som reason detects a bigger amount of open files. What you need is to change open files limit in DB to the 32K open files. Using this system property
-Dstorage.openFiles.limit=32000
OK thanks you very much!
You see you have size 65K open files but database for som reason detects a bigger amount of open files. What you need is to change open files limit in DB to the 32K open files. Using this system property
-Dstorage.openFiles.limit=32000
thank you too much for the good solution for us <3
Most helpful comment
You see you have size 65K open files but database for som reason detects a bigger amount of open files. What you need is to change open files limit in DB to the 32K open files. Using this system property
-Dstorage.openFiles.limit=32000