I've recently implemented some multi-threading for background processing in 
my app and am trying to make sure I have OrientDB configured properly to 
use a connection pool.

Up until earlier today I was using 1.6.4 but now am on 1.7-rc1 server and 
1.7-rc2 client/java API.
I am working against a remote server which is on the same machine running 
the application code.
I am using the Tinkerpop stack including Frames and GremlinGroovy 
annotations.

I have switched over to the new OrientGraphFactory, this is now how I'm 
getting a graph:

graphFactory = new OrientGraphFactory(ourl, ouser, opass).setupPool(1, 
1000);

I am running JUnit test which insert a few thousand records and then 
process them, and during the tests, I get two warnings:

Feb 10, 2014 5:34:34 PM com.orientechnologies.common.log.OLogManager log
INFO: Network connection pool is full (max=20): increase max size to avoid 
such bottleneck on connections

and

Feb 10, 2014 5:34:31 PM com.orientechnologies.common.log.OLogManager log
WARNING: Update of collection pointer is received but collection is not 
registered

Given that I did setupPool(1,1000) on the factory, I don't get why the pool 
is maxing at 20.  I have also been trying to modify the max in the 
orientdb-server-config.xml.  No matter what I change in the XML file, when 
I connect with orientdb-console and run "config" command, the defaults show 
up.  Is there something extremely obvious I'm missing here?

Regards,
Jonathan

-- 

--- 
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/groups/opt_out.

Reply via email to