OK Thanks i've 4 cores with multi threading. so setup max pool to 1 must open max 8 connections ?
Le mercredi 17 juin 2015 10:44:55 UTC+2, Andrey Lomakin a écrit : > > Jimmy, > This maximum connection property is connection per partitions, not for > whole pool. > Amount of partitions equals to amount of cores on you machine. > > > On Wed, Jun 17, 2015 at 11:37 AM Jimmy Pannier <[email protected] > <javascript:>> wrote: > >> setup pool for graph factory does'nt work. >> >> Documentation give the example for setup pool : >> >> // create factory >> OrientGraphFactory graphFactory = new OrientGraphFactory(poolUrl, admin, >> password).setupPool(1, 5); >> >> // each time i'm getting a graph i use try/finally to shutdown it >> OrientGraph graph = factory.getNoTx(); >> ... >> graph.shutdown >> >> BUT Each time i call factory.getNoTx() each it create a new connection. >> (I see more connections than the max pool in the studio (server >> management), and the old connections that i've shutdown are staying alive. >> >> Has someone the same issue ? >> >> -- >> >> --- >> 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] <javascript:>. >> 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.
