Closed mriehl closed 8 years ago
@mriehl you do not set -XX:MaxDirectMemorySize
parameter, do not you ?
@laa Actually I have set the parameter, because v2.2.0
refuses to start if it's not set.
@mriehl what value did you set ? What maximum amount of disk cache size ? Could you send us the log ?
I'm running with these settings:
-XX:MaxMetaspaceSize=512m -Dstorage.diskCache.bufferSize=512 -XX:MaxDirectMemorySize=512m
(it's a test machine, so the values are rather small - I'm testing the 2.2.x migration with a subset of the data from production).
Which log should I send you? The orient-server.log?
Could you:
-XX:MaxMetaspaceSize=512m -Dstorage.diskCache.bufferSize=512 -XX:MaxDirectMemorySize=512g
Should direct memory size really be 512g
(not 512m
)?
yes exactly 512g
Is there reasoning to these values being what they are? Because they seem like a good place to make a simple mistake, which will cause (unnecessary) problems, like someone actually writing "mb" instead of "m" or adding "mb" or "gb", when they shouldn't.
Scott
@laa This seems to have solved my problem (I can log in to studio and read/write from the DB).
But doesn't 512g
mean that ByteBuffer.allocateDirect
can allocate up to 512 gigabytes of native memory? That was my understanding so I set it to 512m
.
There are still lots of exceptions in the log (here it is with log level ALL
):
2016-05-23 13:07:46:802 FINER ObjectName = JMImplementation:type=MBeanServerDelegate [mbeanserver]
2016-05-23 13:07:46:809 FINER name = JMImplementation:type=MBeanServerDelegate [mbeanserver]
2016-05-23 13:07:46:809 FINER Send create notification of object JMImplementation:type=MBeanServerDelegate [mbeanserver]
2016-05-23 13:07:46:813 FINER JMX.mbean.registered JMImplementation:type=MBeanServerDelegate [mbeanserver]
2016-05-23 13:07:46:815 FINER name = java.lang:type=ClassLoading [mbeanserver]
2016-05-23 13:07:46:835 FINER Building MBeanInfo for sun.management.ClassLoadingImpl [misc]
2016-05-23 13:07:46:835 FINER ObjectName = java.lang:type=ClassLoading [mbeanserver]
2016-05-23 13:07:46:836 FINER name = java.lang:type=ClassLoading [mbeanserver]
2016-05-23 13:07:46:836 FINER Send create notification of object java.lang:type=ClassLoading [mbeanserver]
2016-05-23 13:07:46:836 FINER JMX.mbean.registered java.lang:type=ClassLoading [mbeanserver]
2016-05-23 13:07:46:840 FINER name = java.lang:type=Compilation [mbeanserver]
2016-05-23 13:07:46:841 FINER Building MBeanInfo for sun.management.CompilationImpl [misc]
2016-05-23 13:07:46:841 FINER ObjectName = java.lang:type=Compilation [mbeanserver]
2016-05-23 13:07:46:842 FINER name = java.lang:type=Compilation [mbeanserver]
2016-05-23 13:07:46:842 FINER Send create notification of object java.lang:type=Compilation [mbeanserver]
2016-05-23 13:07:46:842 FINER JMX.mbean.registered java.lang:type=Compilation [mbeanserver]
2016-05-23 13:07:46:843 FINER name = java.lang:type=Memory [mbeanserver]
2016-05-23 13:07:46:849 FINER Building MBeanInfo for sun.management.MemoryImpl [misc]
2016-05-23 13:07:46:850 FINER ObjectName = java.lang:type=Memory [mbeanserver]
2016-05-23 13:07:46:850 FINER name = java.lang:type=Memory [mbeanserver]
2016-05-23 13:07:46:850 FINER Send create notification of object java.lang:type=Memory [mbeanserver]
2016-05-23 13:07:46:850 FINER JMX.mbean.registered java.lang:type=Memory [mbeanserver]
2016-05-23 13:07:46:851 FINER name = java.lang:type=GarbageCollector,name=G1 Young Generation [mbeanserver]
2016-05-23 13:07:46:872 FINER Building MBeanInfo for sun.management.GarbageCollectorImpl [misc]
2016-05-23 13:07:46:872 FINER ObjectName = java.lang:type=GarbageCollector,name=G1 Young Generation [mbeanserver]
2016-05-23 13:07:46:872 FINER name = java.lang:type=GarbageCollector,name=G1 Young Generation [mbeanserver]
2016-05-23 13:07:46:872 FINER Send create notification of object java.lang:name=G1 Young Generation,type=GarbageCollector [mbeanserver]
2016-05-23 13:07:46:872 FINER JMX.mbean.registered java.lang:type=GarbageCollector,name=G1 Young Generation [mbeanserver]
2016-05-23 13:07:46:873 FINER name = java.lang:type=GarbageCollector,name=G1 Old Generation [mbeanserver]
2016-05-23 13:07:46:873 FINER Building MBeanInfo for sun.management.GarbageCollectorImpl [misc]
2016-05-23 13:07:46:873 FINER ObjectName = java.lang:type=GarbageCollector,name=G1 Old Generation [mbeanserver]
2016-05-23 13:07:46:874 FINER name = java.lang:type=GarbageCollector,name=G1 Old Generation [mbeanserver]
2016-05-23 13:07:46:874 FINER Send create notification of object java.lang:name=G1 Old Generation,type=GarbageCollector [mbeanserver]
2016-05-23 13:07:46:875 FINER JMX.mbean.registered java.lang:type=GarbageCollector,name=G1 Old Generation [mbeanserver]
2016-05-23 13:07:46:876 FINER name = java.lang:type=MemoryManager,name=CodeCacheManager [mbeanserver]
2016-05-23 13:07:46:877 FINER Building MBeanInfo for sun.management.MemoryManagerImpl [misc]
2016-05-23 13:07:46:878 FINER ObjectName = java.lang:type=MemoryManager,name=CodeCacheManager [mbeanserver]
2016-05-23 13:07:46:880 FINER name = java.lang:type=MemoryManager,name=CodeCacheManager [mbeanserver]
2016-05-23 13:07:46:881 FINER Send create notification of object java.lang:name=CodeCacheManager,type=MemoryManager [mbeanserver]
2016-05-23 13:07:46:881 FINER JMX.mbean.registered java.lang:type=MemoryManager,name=CodeCacheManager [mbeanserver]
2016-05-23 13:07:46:881 FINER name = java.lang:type=MemoryManager,name=Metaspace Manager [mbeanserver]
2016-05-23 13:07:46:881 FINER Building MBeanInfo for sun.management.MemoryManagerImpl [misc]
2016-05-23 13:07:46:881 FINER ObjectName = java.lang:type=MemoryManager,name=Metaspace Manager [mbeanserver]
2016-05-23 13:07:46:882 FINER name = java.lang:type=MemoryManager,name=Metaspace Manager [mbeanserver]
2016-05-23 13:07:46:882 FINER Send create notification of object java.lang:name=Metaspace Manager,type=MemoryManager [mbeanserver]
2016-05-23 13:07:46:882 FINER JMX.mbean.registered java.lang:type=MemoryManager,name=Metaspace Manager [mbeanserver]
2016-05-23 13:07:46:882 FINER name = java.lang:type=GarbageCollector,name=G1 Young Generation [mbeanserver]
2016-05-23 13:07:46:882 FINER name = java.lang:type=GarbageCollector,name=G1 Old Generation [mbeanserver]
2016-05-23 13:07:46:887 FINER name = java.lang:type=MemoryPool,name=Code Cache [mbeanserver]
2016-05-23 13:07:46:896 FINER Building MBeanInfo for sun.management.MemoryPoolImpl [misc]
2016-05-23 13:07:46:897 FINER ObjectName = java.lang:type=MemoryPool,name=Code Cache [mbeanserver]
2016-05-23 13:07:46:897 FINER name = java.lang:type=MemoryPool,name=Code Cache [mbeanserver]
2016-05-23 13:07:46:897 FINER Send create notification of object java.lang:name=Code Cache,type=MemoryPool [mbeanserver]
2016-05-23 13:07:46:897 FINER JMX.mbean.registered java.lang:type=MemoryPool,name=Code Cache [mbeanserver]
2016-05-23 13:07:46:897 FINER name = java.lang:type=MemoryPool,name=Metaspace [mbeanserver]
2016-05-23 13:07:46:899 FINER Building MBeanInfo for sun.management.MemoryPoolImpl [misc]
2016-05-23 13:07:46:899 FINER ObjectName = java.lang:type=MemoryPool,name=Metaspace [mbeanserver]
2016-05-23 13:07:46:900 FINER name = java.lang:type=MemoryPool,name=Metaspace [mbeanserver]
2016-05-23 13:07:46:900 FINER Send create notification of object java.lang:name=Metaspace,type=MemoryPool [mbeanserver]
2016-05-23 13:07:46:900 FINER JMX.mbean.registered java.lang:type=MemoryPool,name=Metaspace [mbeanserver]
2016-05-23 13:07:46:900 FINER name = java.lang:type=MemoryPool,name=Compressed Class Space [mbeanserver]
2016-05-23 13:07:46:900 FINER Building MBeanInfo for sun.management.MemoryPoolImpl [misc]
2016-05-23 13:07:46:900 FINER ObjectName = java.lang:type=MemoryPool,name=Compressed Class Space [mbeanserver]
2016-05-23 13:07:46:901 FINER name = java.lang:type=MemoryPool,name=Compressed Class Space [mbeanserver]
2016-05-23 13:07:46:901 FINER Send create notification of object java.lang:name=Compressed Class Space,type=MemoryPool [mbeanserver]
2016-05-23 13:07:46:901 FINER JMX.mbean.registered java.lang:type=MemoryPool,name=Compressed Class Space [mbeanserver]
2016-05-23 13:07:46:904 FINER name = java.lang:type=MemoryPool,name=G1 Eden Space [mbeanserver]
2016-05-23 13:07:46:904 FINER Building MBeanInfo for sun.management.MemoryPoolImpl [misc]
2016-05-23 13:07:46:904 FINER ObjectName = java.lang:type=MemoryPool,name=G1 Eden Space [mbeanserver]
2016-05-23 13:07:46:904 FINER name = java.lang:type=MemoryPool,name=G1 Eden Space [mbeanserver]
2016-05-23 13:07:46:905 FINER Send create notification of object java.lang:name=G1 Eden Space,type=MemoryPool [mbeanserver]
2016-05-23 13:07:46:905 FINER JMX.mbean.registered java.lang:type=MemoryPool,name=G1 Eden Space [mbeanserver]
2016-05-23 13:07:46:905 FINER name = java.lang:type=MemoryPool,name=G1 Survivor Space [mbeanserver]
2016-05-23 13:07:46:905 FINER Building MBeanInfo for sun.management.MemoryPoolImpl [misc]
2016-05-23 13:07:46:909 FINER ObjectName = java.lang:type=MemoryPool,name=G1 Survivor Space [mbeanserver]
2016-05-23 13:07:46:909 FINER name = java.lang:type=MemoryPool,name=G1 Survivor Space [mbeanserver]
2016-05-23 13:07:46:910 FINER Send create notification of object java.lang:name=G1 Survivor Space,type=MemoryPool [mbeanserver]
2016-05-23 13:07:46:910 FINER JMX.mbean.registered java.lang:type=MemoryPool,name=G1 Survivor Space [mbeanserver]
2016-05-23 13:07:46:910 FINER name = java.lang:type=MemoryPool,name=G1 Old Gen [mbeanserver]
2016-05-23 13:07:46:910 FINER Building MBeanInfo for sun.management.MemoryPoolImpl [misc]
2016-05-23 13:07:46:910 FINER ObjectName = java.lang:type=MemoryPool,name=G1 Old Gen [mbeanserver]
2016-05-23 13:07:46:910 FINER name = java.lang:type=MemoryPool,name=G1 Old Gen [mbeanserver]
2016-05-23 13:07:46:910 FINER Send create notification of object java.lang:name=G1 Old Gen,type=MemoryPool [mbeanserver]
2016-05-23 13:07:46:911 FINER JMX.mbean.registered java.lang:type=MemoryPool,name=G1 Old Gen [mbeanserver]
2016-05-23 13:07:46:911 FINER name = java.lang:type=OperatingSystem [mbeanserver]
2016-05-23 13:07:46:914 FINER Building MBeanInfo for sun.management.OperatingSystemImpl [misc]
2016-05-23 13:07:46:915 FINER ObjectName = java.lang:type=OperatingSystem [mbeanserver]
2016-05-23 13:07:46:915 FINER name = java.lang:type=OperatingSystem [mbeanserver]
2016-05-23 13:07:46:915 FINER Send create notification of object java.lang:type=OperatingSystem [mbeanserver]
2016-05-23 13:07:46:915 FINER JMX.mbean.registered java.lang:type=OperatingSystem [mbeanserver]
2016-05-23 13:07:46:915 FINER name = java.lang:type=Runtime [mbeanserver]
2016-05-23 13:07:46:920 FINER Building MBeanInfo for sun.management.RuntimeImpl [misc]
2016-05-23 13:07:46:920 FINER ObjectName = java.lang:type=Runtime [mbeanserver]
2016-05-23 13:07:46:920 FINER name = java.lang:type=Runtime [mbeanserver]
2016-05-23 13:07:46:920 FINER Send create notification of object java.lang:type=Runtime [mbeanserver]
2016-05-23 13:07:46:921 FINER JMX.mbean.registered java.lang:type=Runtime [mbeanserver]
2016-05-23 13:07:46:923 FINER name = java.lang:type=Threading [mbeanserver]
2016-05-23 13:07:46:929 FINER Building MBeanInfo for sun.management.ThreadImpl [misc]
2016-05-23 13:07:46:929 FINER ObjectName = java.lang:type=Threading [mbeanserver]
2016-05-23 13:07:46:935 FINER name = java.lang:type=Threading [mbeanserver]
2016-05-23 13:07:46:935 FINER Send create notification of object java.lang:type=Threading [mbeanserver]
2016-05-23 13:07:46:935 FINER JMX.mbean.registered java.lang:type=Threading [mbeanserver]
2016-05-23 13:07:46:936 FINER name = java.util.logging:type=Logging [mbeanserver]
2016-05-23 13:07:46:939 FINER Building MBeanInfo for sun.management.ManagementFactoryHelper$PlatformLoggingImpl [misc]
2016-05-23 13:07:46:939 FINER ObjectName = java.util.logging:type=Logging [mbeanserver]
2016-05-23 13:07:46:939 FINER name = java.util.logging:type=Logging [mbeanserver]
2016-05-23 13:07:46:939 FINER Send create notification of object java.util.logging:type=Logging [mbeanserver]
2016-05-23 13:07:46:939 FINER JMX.mbean.registered java.util.logging:type=Logging [mbeanserver]
2016-05-23 13:07:46:940 FINER name = java.nio:type=BufferPool,name=direct [mbeanserver]
2016-05-23 13:07:46:942 FINER Building MBeanInfo for sun.management.ManagementFactoryHelper$1 [misc]
2016-05-23 13:07:46:943 FINER ObjectName = java.nio:type=BufferPool,name=direct [mbeanserver]
2016-05-23 13:07:46:944 FINER name = java.nio:type=BufferPool,name=direct [mbeanserver]
2016-05-23 13:07:46:945 FINER Send create notification of object java.nio:name=direct,type=BufferPool [mbeanserver]
2016-05-23 13:07:46:948 FINER JMX.mbean.registered java.nio:type=BufferPool,name=direct [mbeanserver]
2016-05-23 13:07:46:948 FINER name = java.nio:type=BufferPool,name=mapped [mbeanserver]
2016-05-23 13:07:46:949 FINER Building MBeanInfo for sun.management.ManagementFactoryHelper$1 [misc]
2016-05-23 13:07:46:949 FINER ObjectName = java.nio:type=BufferPool,name=mapped [mbeanserver]
2016-05-23 13:07:46:949 FINER name = java.nio:type=BufferPool,name=mapped [mbeanserver]
2016-05-23 13:07:46:949 FINER Send create notification of object java.nio:name=mapped,type=BufferPool [mbeanserver]
2016-05-23 13:07:46:949 FINER JMX.mbean.registered java.nio:type=BufferPool,name=mapped [mbeanserver]
2016-05-23 13:07:46:949 FINER name = java.lang:type=GarbageCollector,name=G1 Young Generation [mbeanserver]
2016-05-23 13:07:46:950 FINER name = java.lang:type=GarbageCollector,name=G1 Old Generation [mbeanserver]
2016-05-23 13:07:46:950 FINER name = java.lang:type=OperatingSystem [mbeanserver]
2016-05-23 13:07:46:950 FINER name = java.lang:type=OperatingSystem [mbeanserver]
2016-05-23 13:07:46:950 FINER name = com.sun.management:type=HotSpotDiagnostic [mbeanserver]
2016-05-23 13:07:46:955 FINER Building MBeanInfo for sun.management.HotSpotDiagnostic [misc]
2016-05-23 13:07:46:955 FINER ObjectName = com.sun.management:type=HotSpotDiagnostic [mbeanserver]
2016-05-23 13:07:46:955 FINER name = com.sun.management:type=HotSpotDiagnostic [mbeanserver]
2016-05-23 13:07:46:955 FINER Send create notification of object com.sun.management:type=HotSpotDiagnostic [mbeanserver]
2016-05-23 13:07:46:956 FINER JMX.mbean.registered com.sun.management:type=HotSpotDiagnostic [mbeanserver]
2016-05-23 13:07:46:961 FINER ObjectName = com.sun.management:type=DiagnosticCommand [mbeanserver]
2016-05-23 13:07:46:961 FINER name = com.sun.management:type=DiagnosticCommand [mbeanserver]
2016-05-23 13:07:46:961 FINER Send create notification of object com.sun.management:type=DiagnosticCommand [mbeanserver]
2016-05-23 13:07:46:961 FINER JMX.mbean.registered com.sun.management:type=DiagnosticCommand [mbeanserver]
2016-05-23 13:07:46:962 FINER name = com.orientechnologies.common.directmemory:type=OByteBufferPoolMXBean [mbeanserver]
2016-05-23 13:07:46:966 FINER ObjectName = com.orientechnologies.common.directmemory:type=OByteBufferPoolMXBean [mbeanserver]
2016-05-23 13:07:46:967 FINER name = com.orientechnologies.common.directmemory:type=OByteBufferPoolMXBean [mbeanserver]
2016-05-23 13:07:46:967 FINER Send create notification of object com.orientechnologies.common.directmemory:type=OByteBufferPoolMXBean [mbeanserver]
2016-05-23 13:07:46:967 FINER JMX.mbean.registered com.orientechnologies.common.directmemory:type=OByteBufferPoolMXBean [mbeanserver]
2016-05-23 13:07:47:000 FINES Starting JMX Connector Server:
com.sun.management.jmxremote.port=3001
com.sun.management.jmxremote.rmi.port=0
com.sun.management.jmxremote.ssl=false
com.sun.management.jmxremote.registry.ssl=false
com.sun.management.jmxremote.ssl.config.file=null
com.sun.management.jmxremote.ssl.enabled.cipher.suites=null
com.sun.management.jmxremote.ssl.enabled.protocols=null
com.sun.management.jmxremote.ssl.need.client.auth=false
com.sun.management.jmxremote.authenticate=true
com.sun.management.jmxremote.password.file=/data/is24/orientdb-community/config/jmx_auth.password
com.sun.management.jmxremote.access.file=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el6_7.x86_64/jre/lib/management/jmxremote.access [jmxremote]
2016-05-23 13:07:47:016 FINER setting default class loader [rmi]
2016-05-23 13:07:47:016 FINER setting RMIServer object [rmi]
2016-05-23 13:07:47:031 FINE main: localHostKnown = true, localHost = 10.13.224.1 [tcp]
2016-05-23 13:07:47:032 FINE main: Version = 2, ep = [10.13.224.1:0] [tcp]
2016-05-23 13:07:47:032 FINE main: created local endpoint for socket factory null on port 0 [tcp]
2016-05-23 13:07:47:042 FINER main: strongRef = sun.rmi.transport.DGCImpl@77e4c80f [dgc]
2016-05-23 13:07:47:042 FINER main: add object [0:0:0, 2] [dgc]
2016-05-23 13:07:47:048 FINER main: strongRef = javax.management.remote.rmi.RMIJRMPServerImpl$ExportedWrapper@4450d156 [dgc]
2016-05-23 13:07:47:048 FINE main: (port 0) create server socket [tcp]
2016-05-23 13:07:47:049 FINER main: creating server socket on [10.13.224.1:0] [tcp]
2016-05-23 13:07:47:051 FINE main: default port for server socket factory null and client socket factory null set to 60849 [tcp]
2016-05-23 13:07:47:055 FINER main: add object [64226d8d:154dd4c9fce:-7fff, -912272694249476672] [dgc]
2016-05-23 13:07:47:055 FINER main: string used for method hash: "newClient(Ljava/lang/Object;)Ljavax/management/remote/rmi/RMIConnection;" [ref]
2016-05-23 13:07:47:056 FINER main: string used for method hash: "getVersion()Ljava/lang/String;" [ref]
2016-05-23 13:07:47:056 FINER getting RMIServer object to export [rmi]
2016-05-23 13:07:47:057 FINE RMI TCP Accept-0: listening on port 60849 [tcp]
2016-05-23 13:07:47:066 FINER Encoding URL [rmi]
2016-05-23 13:07:47:090 FINER Encoded URL: service:jmx:rmi://nodename/stub/rO0ABXN9AAAAAQAlamF2YXgubWFuYWdlbWVudC5yZW1vdGUucm1pLlJNSVNlcnZlcnhyABdqYXZhLmxhbmcucmVmbGVjdC5Qcm94eeEn2iDMEEPLAgABTAABaHQAJUxqYXZhL2xhbmcvcmVmbGVjdC9JbnZvY2F0aW9uSGFuZGxlcjt4cHNyAC1qYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN0SW52b2NhdGlvbkhhbmRsZXIAAAAAAAAAAgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc0AApVbmljYXN0UmVmAAsxMC4xMy4yMjQuMQAA7bHzVvTRaPitwGQibY0AAAFU3UyfzoABAHg= [rmi]
2016-05-23 13:07:47:090 FINER Connector Server Address = service:jmx:rmi://nodename/stub/rO0ABXN9AAAAAQAlamF2YXgubWFuYWdlbWVudC5yZW1vdGUucm1pLlJNSVNlcnZlcnhyABdqYXZhLmxhbmcucmVmbGVjdC5Qcm94eeEn2iDMEEPLAgABTAABaHQAJUxqYXZhL2xhbmcvcmVmbGVjdC9JbnZvY2F0aW9uSGFuZGxlcjt4cHNyAC1qYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN0SW52b2NhdGlvbkhhbmRsZXIAAAAAAAAAAgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc0AApVbmljYXN0UmVmAAsxMC4xMy4yMjQuMQAA7bHzVvTRaPitwGQibY0AAAFU3UyfzoABAHg= [rmi]
2016-05-23 13:07:47:090 FINER started. [rmi]
2016-05-23 13:07:47:093 FINE main: Version = 2, ep = [10.13.224.1:3001] [tcp]
2016-05-23 13:07:47:093 FINE main: created local endpoint for socket factory null on port 3001 [tcp]
2016-05-23 13:07:47:094 FINER main: strongRef = SingleEntryRegistry[UnicastServerRef [liveRef: [endpoint:[10.13.224.1:3001](local),objID:[0:0:0, 0]]]] [dgc]
2016-05-23 13:07:47:098 FINE main: (port 3001) create server socket [tcp]
2016-05-23 13:07:47:098 FINER main: creating server socket on [10.13.224.1:3001] [tcp]
2016-05-23 13:07:47:101 FINER main: add object [0:0:0, 0] [dgc]
2016-05-23 13:07:47:102 FINER main: string used for method hash: "list()[Ljava/lang/String;" [ref]
2016-05-23 13:07:47:102 FINER main: string used for method hash: "rebind(Ljava/lang/String;Ljava/rmi/Remote;)V" [ref]
2016-05-23 13:07:47:103 FINER main: string used for method hash: "lookup(Ljava/lang/String;)Ljava/rmi/Remote;" [ref]
2016-05-23 13:07:47:104 FINER main: string used for method hash: "bind(Ljava/lang/String;Ljava/rmi/Remote;)V" [ref]
2016-05-23 13:07:47:104 FINER main: string used for method hash: "unbind(Ljava/lang/String;)V" [ref]
2016-05-23 13:07:47:105 CONFI JMX Connector ready at: service:jmx:rmi:///jndi/rmi://nodename/jmxrmi [jmxremote]
2016-05-23 13:07:47:107 FINE RMI TCP Accept-3001: listening on port 3001 [tcp]
2016-05-23 13:07:47:109 FINER setting default class loader [rmi]
2016-05-23 13:07:47:110 FINER setting RMIServer object [rmi]
2016-05-23 13:07:47:110 FINE main: Version = 2, ep = [10.13.224.1:0,sun.management.jmxremote.LocalRMIServerSocketFactory@77e9807f] [tcp]
2016-05-23 13:07:47:111 FINE main: created local endpoint for socket factory sun.management.jmxremote.LocalRMIServerSocketFactory@77e9807f on port 0 [tcp]
2016-05-23 13:07:47:111 FINER main: strongRef = javax.management.remote.rmi.RMIJRMPServerImpl$ExportedWrapper@448ff1a8 [dgc]
2016-05-23 13:07:47:112 FINE main: (port 0) create server socket [tcp]
2016-05-23 13:07:47:112 FINER main: creating server socket on [10.13.224.1:0,sun.management.jmxremote.LocalRMIServerSocketFactory@77e9807f] [tcp]
2016-05-23 13:07:47:112 FINE main: default port for server socket factory sun.management.jmxremote.LocalRMIServerSocketFactory@77e9807f and client socket factory null set to 39480 [tcp]
2016-05-23 13:07:47:116 FINER main: add object [64226d8d:154dd4c9fce:-7ffe, -3019729033600341472] [dgc]
2016-05-23 13:07:47:116 FINER getting RMIServer object to export [rmi]
2016-05-23 13:07:47:116 FINER Encoding URL [rmi]
2016-05-23 13:07:47:118 FINER Encoded URL: service:jmx:rmi://127.0.0.1/stub/rO0ABXN9AAAAAQAlamF2YXgubWFuYWdlbWVudC5yZW1vdGUucm1pLlJNSVNlcnZlcnhyABdqYXZhLmxhbmcucmVmbGVjdC5Qcm94eeEn2iDMEEPLAgABTAABaHQAJUxqYXZhL2xhbmcvcmVmbGVjdC9JbnZvY2F0aW9uSGFuZGxlcjt4cHNyAC1qYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN0SW52b2NhdGlvbkhhbmRsZXIAAAAAAAAAAgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc2AAtVbmljYXN0UmVmMgAACzEwLjEzLjIyNC4xAACaONYXxHFyUWogZCJtjQAAAVTdTJ/OgAIAeA== [rmi]
2016-05-23 13:07:47:118 FINER Connector Server Address = service:jmx:rmi://127.0.0.1/stub/rO0ABXN9AAAAAQAlamF2YXgubWFuYWdlbWVudC5yZW1vdGUucm1pLlJNSVNlcnZlcnhyABdqYXZhLmxhbmcucmVmbGVjdC5Qcm94eeEn2iDMEEPLAgABTAABaHQAJUxqYXZhL2xhbmcvcmVmbGVjdC9JbnZvY2F0aW9uSGFuZGxlcjt4cHNyAC1qYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN0SW52b2NhdGlvbkhhbmRsZXIAAAAAAAAAAgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc2AAtVbmljYXN0UmVmMgAACzEwLjEzLjIyNC4xAACaONYXxHFyUWogZCJtjQAAAVTdTJ/OgAIAeA== [rmi]
2016-05-23 13:07:47:118 FINER started. [rmi]
2016-05-23 13:07:47:119 FINE RMI TCP Accept-0: listening on port 39480 [tcp]
2016-05-23 13:07:47:149 INFO Loading configuration from: /data/is24/orientdb-community/config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
2016-05-23 13:07:47:154 FINE Trying to locate {0} [bind]
2016-05-23 13:07:47:157 FINE not found [bind]
2016-05-23 13:07:47:157 FINE Checking system property {0} [bind]
2016-05-23 13:07:47:157 FINE not found [bind]
2016-05-23 13:07:47:157 FINE Checking system property {0} [bind]
2016-05-23 13:07:47:158 FINE not found [bind]
2016-05-23 13:07:47:158 FINE Unable to find from OSGi: javax.xml.bind.JAXBContext [bind]
2016-05-23 13:07:47:158 FINE Checking META-INF/services [bind]
2016-05-23 13:07:47:158 FINE Reading {0} [bind]
2016-05-23 13:07:47:160 FINE Trying to load {0} [bind]
2016-05-23 13:07:47:161 FINE loaded {0} from {1} [bind]
2016-05-23 13:07:47:171 FINE Property com.sun.xml.bind.XmlAccessorFactoryis not active. Using JAXB's implementation [ContextFactory]
2016-05-23 13:07:47:441 FINE Using optimized Accessor for public java.util.List com.orientechnologies.orient.server.config.OServerConfiguration.handlers [OptimizedAccessorFactory]
2016-05-23 13:07:47:442 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerParameterConfiguration[] com.orientechnologies.orient.server.config.OServerHandlerConfiguration.parameters [OptimizedAccessorFactory]
2016-05-23 13:07:47:454 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerParameterConfiguration.value [OptimizedAccessorFactory]
2016-05-23 13:07:47:460 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerParameterConfiguration.name [OptimizedAccessorFactory]
2016-05-23 13:07:47:461 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerHandlerConfiguration.clazz [OptimizedAccessorFactory]
2016-05-23 13:07:47:461 FINE Using optimized Accessor for public java.util.List com.orientechnologies.orient.server.config.OServerConfiguration.hooks [OptimizedAccessorFactory]
2016-05-23 13:07:47:465 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerParameterConfiguration[] com.orientechnologies.orient.server.config.OServerHookConfiguration.parameters [OptimizedAccessorFactory]
2016-05-23 13:07:47:465 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerHookConfiguration.clazz [OptimizedAccessorFactory]
2016-05-23 13:07:47:466 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerHookConfiguration.position [OptimizedAccessorFactory]
2016-05-23 13:07:47:472 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerNetworkConfiguration com.orientechnologies.orient.server.config.OServerConfiguration.network [OptimizedAccessorFactory]
2016-05-23 13:07:47:474 FINE Using optimized Accessor for public java.util.List com.orientechnologies.orient.server.config.OServerNetworkConfiguration.sockets [OptimizedAccessorFactory]
2016-05-23 13:07:47:475 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerParameterConfiguration[] com.orientechnologies.orient.server.config.OServerSocketFactoryConfiguration.parameters [OptimizedAccessorFactory]
2016-05-23 13:07:47:476 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerSocketFactoryConfiguration.implementation [OptimizedAccessorFactory]
2016-05-23 13:07:47:477 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerSocketFactoryConfiguration.name [OptimizedAccessorFactory]
2016-05-23 13:07:47:478 FINE Using optimized Accessor for public java.util.List com.orientechnologies.orient.server.config.OServerNetworkConfiguration.protocols [OptimizedAccessorFactory]
2016-05-23 13:07:47:485 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerNetworkProtocolConfiguration.implementation [OptimizedAccessorFactory]
2016-05-23 13:07:47:486 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerNetworkProtocolConfiguration.name [OptimizedAccessorFactory]
2016-05-23 13:07:47:486 FINE Using optimized Accessor for public java.util.List com.orientechnologies.orient.server.config.OServerNetworkConfiguration.listeners [OptimizedAccessorFactory]
2016-05-23 13:07:47:487 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerCommandConfiguration[] com.orientechnologies.orient.server.config.OServerNetworkListenerConfiguration.commands [OptimizedAccessorFactory]
2016-05-23 13:07:47:487 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerEntryConfiguration[] com.orientechnologies.orient.server.config.OServerCommandConfiguration.parameters [OptimizedAccessorFactory]
2016-05-23 13:07:47:488 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerEntryConfiguration.value [OptimizedAccessorFactory]
2016-05-23 13:07:47:489 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerEntryConfiguration.name [OptimizedAccessorFactory]
2016-05-23 13:07:47:490 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerCommandConfiguration.implementation [OptimizedAccessorFactory]
2016-05-23 13:07:47:490 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerCommandConfiguration.pattern [OptimizedAccessorFactory]
2016-05-23 13:07:47:491 FINE Using optimized TransducedAccessor for com.orientechnologies.orient.server.config.OServerCommandConfiguration#stateful [OptimizedTransducedAccessorFactory]
2016-05-23 13:07:47:500 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerParameterConfiguration[] com.orientechnologies.orient.server.config.OServerNetworkListenerConfiguration.parameters [OptimizedAccessorFactory]
2016-05-23 13:07:47:501 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerNetworkListenerConfiguration.protocol [OptimizedAccessorFactory]
2016-05-23 13:07:47:501 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerNetworkListenerConfiguration.socket [OptimizedAccessorFactory]
2016-05-23 13:07:47:502 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerNetworkListenerConfiguration.portRange [OptimizedAccessorFactory]
2016-05-23 13:07:47:502 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerNetworkListenerConfiguration.ipAddress [OptimizedAccessorFactory]
2016-05-23 13:07:47:507 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerStorageConfiguration[] com.orientechnologies.orient.server.config.OServerConfiguration.storages [OptimizedAccessorFactory]
2016-05-23 13:07:47:508 FINE Using optimized TransducedAccessor for com.orientechnologies.orient.server.config.OServerStorageConfiguration#loadOnStartup [OptimizedTransducedAccessorFactory]
2016-05-23 13:07:47:511 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerStorageConfiguration.userPassword [OptimizedAccessorFactory]
2016-05-23 13:07:47:511 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerStorageConfiguration.userName [OptimizedAccessorFactory]
2016-05-23 13:07:47:512 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerStorageConfiguration.path [OptimizedAccessorFactory]
2016-05-23 13:07:47:513 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerStorageConfiguration.name [OptimizedAccessorFactory]
2016-05-23 13:07:47:515 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerUserConfiguration[] com.orientechnologies.orient.server.config.OServerConfiguration.users [OptimizedAccessorFactory]
2016-05-23 13:07:47:516 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerUserConfiguration.resources [OptimizedAccessorFactory]
2016-05-23 13:07:47:517 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerUserConfiguration.password [OptimizedAccessorFactory]
2016-05-23 13:07:47:518 FINE Using optimized Accessor for public java.lang.String com.orientechnologies.orient.server.config.OServerUserConfiguration.name [OptimizedAccessorFactory]
2016-05-23 13:07:47:519 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerSecurityConfiguration com.orientechnologies.orient.server.config.OServerConfiguration.security [OptimizedAccessorFactory]
2016-05-23 13:07:47:520 FINE Using optimized Accessor for public java.util.List com.orientechnologies.orient.server.config.OServerSecurityConfiguration.users [OptimizedAccessorFactory]
2016-05-23 13:07:47:521 FINE Using optimized Accessor for public java.util.List com.orientechnologies.orient.server.config.OServerSecurityConfiguration.resources [OptimizedAccessorFactory]
2016-05-23 13:07:47:522 FINE Using optimized Accessor for public com.orientechnologies.orient.server.config.OServerEntryConfiguration[] com.orientechnologies.orient.server.config.OServerConfiguration.properties [OptimizedAccessorFactory]
2016-05-23 13:07:47:523 FINE Using optimized Accessor for public boolean com.orientechnologies.orient.server.config.OServerConfiguration.isAfterFirstTime [OptimizedAccessorFactory]
2016-05-23 13:07:48:300 WARNI Name of the hazelcast schema location incorrect using default [AbstractXmlConfigHelper]
2016-05-23 13:07:52:641 WARNI [nodename] Updated node status to 'ONLINE' [OHazelcastPlugin]
2016-05-23 13:07:52:650 WARNI Authenticated clients can execute any kind of code into the server by using the following allowed languages: [sql] [OServerSideScriptInterpreter]
2016-05-23 13:08:00:653 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:08:38:696 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:08:42:913 SEVER {db=mydb} authenticate() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:08:46:213 SEVER {db=mydb} authenticate() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:08:46:219 SEVER Internal server error:
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem"
--> com.orientechnologies.common.io.OIOException: You cannot access outside the file size (0 bytes). You have requested portion 0-4 bytes. File: File: database.ocf os-size=1024, stored=0 [ONetworkProtocolHttpDb]
2016-05-23 13:08:48:495 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:08:58:490 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:09:08:478 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:09:18:480 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:09:28:476 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:09:38:480 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:09:48:481 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:09:58:478 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:10:08:478 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:10:18:474 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:10:28:478 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:10:38:477 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:10:48:474 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
2016-05-23 13:10:58:476 SEVER isAuthorized() Exception: Cannot open local storage '/san/orientdb-community/databases/OSystem' with mode=rw
Storage URL="plocal:/san/orientdb-community/databases/OSystem" [OSystemUserAuthenticator]
@mriehl no, well it is a bit long to write and sorry for advertising but you may calculate maximum amount of direct memory using this approach http://andreylomakin.blogspot.com/2016/05/how-to-calculate-maximum-amount-of.html
@mriehl I think we can improve validation of settings before start to avoid given issues in future.
@laa thanks a lot, I'll read that. No need to apologize, glad there is a writeup somewhere!
Do you have any idea what the other SEVERE
messages about isAuthorized
mean? It seems to work anyway.
@SDIPro could you answer last question ?
Fixed on the develop branch. Now we have a more advanced byte memory pool configuration validation logic and automatic fixes for common memory configuration problems like "cache size > direct memory size" and "memory chunk size > cache size".
Expected behavior and actual behavior
I'm upgrading a database from 2.1.17 to 2.2.0.
Logging in to studio doesn't seem to work. There are many exceptions in the log:
Important Questions
Runninng Mode
Misc
OrientDB Version
Operating System
Java Version