OrientDb 2.1.19: possible open file leaking? (more than 129235 open files)

73 views
Skip to first unread message

pabloa

unread,
Jun 7, 2016, 4:46:28 PM6/7/16
to orient-...@googlegroups.com
Hello

Log files have thousands of entries like this one:

java.net.SocketException: Too many open files
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:194)


I executed this command (while OrientDb was running):

sudo lsof | wc -l
129235

It seems orientDb open files and they never are closed. I saw for example a .pcl file opened 30 times.

Is it because we are doing something wrong from the client side or is it a bug? If it is a bug. Could you please suggest a workaround until it is fixed?

I was using Odb 2.1.15 before and I did not have this issue. But perhaps it did not happen to me before because I was not storing too much data. 

In my current DB Version I created 600+ clusters.

Any help will be appreciated.


*UPDATE*

I restarted the server and opened files handlers (of course) are gone.

But I execute from time to time this command: sudo lsof | wc -l

and the number of orientdb open files is increasing.

Andrey Lomakin

unread,
Jun 8, 2016, 12:20:29 AM6/8/16
to OrientDB
Hi,
I have created an issue which will be fixed in 2.1.x version https://github.com/orientechnologies/orientdb/issues/6269 .

On Tue, Jun 7, 2016 at 11:46 PM pabloa <pabl...@gmail.com> wrote:
Hello

Log files have thousands of entries like this one:

java.net.SocketException: Too many open files
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:194)


I executed this command (while OrientDb was running):

sudo lsof | wc -l
129235

It seems orientDb open files and they never are closed. I saw for example a .pcl file opened 30 times.

Is it because we are doing something wrong from the client side or is it a bug? If it is a bug. Could you please suggest a workaround until it is fixed?

I was using Odb 2.1.15 before and I did not have this issue. But perhaps it did not happen to me before because I was not storing too much data. 

In my current DB Version I created 600+ clusters.

Any help will be appreciated.

--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Best regards,
Andrey Lomakin, R&D lead. 
OrientDB Ltd

twitter: @Andrey_Lomakin 

pabloa

unread,
Jun 8, 2016, 2:33:58 PM6/8/16
to OrientDB
thanks.
Reply all
Reply to author
Forward
0 new messages