On Sunday, March 2, 2014 9:17:10 AM UTC-6, vaclav77 wrote:
>
> Are you sure this is load related? I'm getting the same issue on 1.7-rc1
> and 2.0-snapshot with no activity at all. First time around there were no
> active clients, just DB runing on the server (CentOS 6). Second time, I had
> two consoles open and web GUI overnight - no activity, just left open and I
> could not connect in the morning. Same error: "Error:
> com.orientechnologies.common.io.OIOException: Cannot connect to any
> configured remote nodes: :2424". Last lines from my log below:
>
> 2014-03-02 08:39:53:059 SEVE Internal server error:
> java.lang.IllegalArgumentException: Cannot get allocation information for
> database 'focustr' because it is not a disk-based database
> [ONetworkProtocolHttpDb]
> 2014-03-02 08:39:53:102 WARN ->192.168.X.XX: Command not found:
> GET.studio/{{ uml }} [ONetworkProtocolHttpDb]
> 2014-03-02 08:39:53:154 INFO OrientDB Server is shutting down... [OServer]
>
> Focustr database is on disk (plocal storage) but I cannot see it in the
> GUI on the dropdown now - I was connected to it yesterday with the Studio
> app. GratefulDeadConcerts DB still there, accessible after restart. I
> believe I tried accessing through the console yesterday with similar
> results, possibly after some time of inactivity as well.
>
>
> -> sun.reflect.GeneratedConstructorAccessor10.newInstance(Unknown Source)
> ->
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> -> java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> ->
> com.orientechnologies.common.log.OLogManager.exception(OLogManager.java:162)
> ->
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeReadRecord(ODatabaseRecordAbstract.java:787)
> ->
> com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:64)
> ->
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.load(ODatabaseRecordTx.java:203)
> ->
> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.load(ODatabaseRecordTx.java:39)
> ->
> com.orientechnologies.orient.core.id.ORecordId.getRecord(ORecordId.java:296)
> ->
> com.orientechnologies.orient.core.fetch.OFetchHelper.fetchCollection(OFetchHelper.java:532)
> ->
> com.orientechnologies.orient.core.fetch.OFetchHelper.fetch(OFetchHelper.java:416)
> ->
> com.orientechnologies.orient.core.fetch.OFetchHelper.processRecord(OFetchHelper.java:361)
> ->
> com.orientechnologies.orient.core.fetch.OFetchHelper.fetch(OFetchHelper.java:86)
> ->
> com.orientechnologies.orient.server.network.protocol.binary.OAbstractCommandResultListener.fetchRecord(OAbstractCommandResultListener.java:49)
> ->
> com.orientechnologies.orient.server.network.protocol.binary.OSyncCommandResultListener.result(OSyncCommandResultListener.java:14)
> ->
> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1346)
> ->
> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:330)
> ->
> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:125)
> -> com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:45)
> 2014-03-02 00:22:37:950 SEVE Internal server error:
> java.lang.IllegalArgumentException: Cannot get allocation information for
> database 'GratefulDeadConcerts' because it is not a disk-based database
> [ONetworkProtocolHttpDb]
> 2014-03-02 00:22:37:987 WARN ->192.168.X.XX: Command not found:
> GET.studio/{{ uml }} [ONetworkProtocolHttpDb]
> 2014-03-02 00:27:01:882 INFO Received shutdown command from the remote
> client /127.0.0.1:51230 [ONetworkProtocolBinary]
> 2014-03-02 00:27:01:883 INFO Remote client /127.0.0.1:51230authenticated.
> Starting shutdown of server... [ONetworkProtocolBinary]
> 2014-03-02 00:27:01:885 INFO OrientDB Server is shutting down... [OServer]
> 2014-03-02 00:27:01:888 INFO Shutting down storage:
> GratefulDeadConcerts... [Orient]
> 2014-03-02 00:27:03:947 INFO Orient Engine shutdown complete
> [Orient]
>
>
>
>
>
> On Wednesday, October 23, 2013 11:41:27 PM UTC-5, Александр Пак wrote:
>
>> Hello, Lvc
>>
>> There are multithreaded application(the number of threads is 25) with
>> orientdb support which produces an error. Each thread has its own instance
>> of OrientGraph class. Since the thread is a disposable bean, at the end of
>> each thread there are the instance shutdown.
>> private FramedTransactionalGraph ftg;
>>
>> @Override
>> public void destroy() throws Exception {
>> System.out.println(""+new Date()+" destroy "+this.toString() + "
>> Thread: "+Thread.currentThread().getName());
>> System.out.println("destroy for thread "+
>> Thread.currentThread().getName()+" graph "+ hashCod);
>> if (ftg!=null) {
>> ftg.shutdown();
>> }
>> }
>> At the beginning the system works fine , but after several time for some
>> reason it throws an exception.
>>
>>
>> Before the application threw an exception was Caused by:
>> com.orientechnologies.orient.core.exception.ODatabaseException: Connection
>> is closed. Then i fixed it by following a suggestion from hotfix:
>>
>> https://groups.google.com/forum/?hl=ru#!searchin/orient-database/Connection$20is$20closed/orient-database/ePkpTaj-gxk/8Qq6Hgep7UwJ
>>
>> And now the client throws Exception in thread "Thread-220"
>> com.orientechnologies.orient.core.exception.ORecordNotFoundException that's
>> caused by:
>>
>> Caused by: com.orientechnologies.common.io.OIOException: Cannot connect
>> to any configured remote nodes: 192.168.13.114:2424
>> at
>> com.orientechnologies.orient.client.remote.OStorageRemote.createNetworkConnection(OStorageRemote.java:1727)
>> at
>> com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:1886)
>> at
>> com.orientechnologies.orient.client.remote.OStorageRemote.readRecord(OStorageRemote.java:446)
>> at
>> com.orientechnologies.orient.client.remote.OStorageRemoteThread.readRecord(OStorageRemoteThread.java:153)
>> at
>> com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:232)
>> ... 21 more
>>
>> The server prints log into file orient-server.log.0
>>
>> 2013-10-23 19:30:50:919 WARN Reached maximum number of concurrent
>> connections (1000), reject incoming connection from
>> /192.168.13.217:49765[OServerNetworkListener]
>>
>> Even through i have a destroy method that executes after the thread has
>> been completed, don't know why the maximum number of concurrent connecction
>> has been reached?
>>
>> I use server 1.5.1 and the client 1.5.0
>> Client settings are
>> <property name="level1Enabled" value="false"/>
>> <property name="level2Enabled" value="false"/>
>> <property name="massiveInsertion" value="false"/>
>> <property name="minPool" value="1"/>
>> <property name="maxPool" value="30"/>
>> <property name="dburl" value="remote:192.168.13.114/Monica"/>
>> <property name="username" value="admin"/>
>> <property name="password" value="admin"/>
>> <property name="clientChannelMinPool" value="1"/>
>> <property name="clientChannelMaxPool" value="30"/>
>> <property name="storageLockTimeout" value="120000"/>
>> <property name="storageRecordLockTimeout" value="120000"/>
>> <property name="clientConnectPoolWaitTimeout" value="120000"/>
>> <property name="mvrbTreeTimeout" value="120000"/>
>> Server side settings are
>> <properties>
>> <entry value="1" name="db.pool.min"/>
>> <entry value="305" name="db.pool.max"/>
>> <entry name="storage.keepOpen" value="false" />
>> <entry value="false" name="cache.level1.enabled"/>
>> <entry value="1000" name="cache.level1.size"/>
>> <entry value="false" name="cache.level2.enabled"/>
>> <entry value="1000" name="cache.level2.size"/>
>> <entry value="true" name="profiler.enabled"/>
>> <entry value="info" name="log.console.level"/>
>> <entry value="all" name="log.file.level"/>
>> </properties>
>> <handler
>> class="com.orientechnologies.orient.graph.handler.OGraphServerHandler">
>> <parameters>
>> <parameter value="true" name="enabled"/>
>> <parameter value="315" name="graph.pool.max"/>
>> </parameters>
>> </handler>
>>
>>
>>
>>
>
--
---
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.