In order to reduce the number of files generated, you could create the database and then set this command:
alter database minimumclusters 1 In this way OrientDB will avoid to create X clusters per class. Best Regards, Luca Garulli Founder & CEO OrientDB <http://orientdb.com/> On 21 May 2016 at 05:59, pabloa <[email protected]> wrote: > In this very moment when orientDb is doing nothing (but I was generating > like 5 databases using the described method) there are 962 files open. > > And: > > $ ulimit -Sn > 1024 > $ ulimit -Hn > 4096 > > > So I will increase the limit to something bigger. > > > On Friday, May 20, 2016 at 2:50:12 PM UTC-7, l.garulli wrote: >> >> Could you check please the number of files opened? >> >> Look at: http://www.cyberciti.biz/faq/howto-linux-get-list-of-open-files/ >> >> Best Regards, >> >> Luca Garulli >> Founder & CEO >> OrientDB <http://orientdb.com/> >> >> >> On 20 May 2016 at 23:41, pabloa <[email protected]> wrote: >> >>> Hello, >>> >>> I have a program using pyorientdb that creates several databases (around >>> 10) in 5 minutes approx. It imports a json backup in each database that >>> creates around 300+ clusters. >>> >>> In some point, when it tries to create a new database, an exception is >>> throw in orientdb log: >>> >>> 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) >>> Error on client connection >>> 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) >>> >>> No more databases can be created until server is restarted. >>> >>> >>> -- >>> >>> --- >>> 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 [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > > --- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
