{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5352","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5352/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5352/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5352/events","html_url":"https://github.com/orientechnologies/orientdb/issues/5352","id":117952951,"number":5352,"title":"Significant performance degradation on a server with big RAM","user":{"login":"PhantomYdn","id":1199285,"avatar_url":"https://avatars.githubusercontent.com/u/1199285?v=3","gravatar_id":"","url":"https://api.github.com/users/PhantomYdn","html_url":"https://github.com/PhantomYdn","followers_url":"https://api.github.com/users/PhantomYdn/followers","following_url":"https://api.github.com/users/PhantomYdn/following{/other_user}","gists_url":"https://api.github.com/users/PhantomYdn/gists{/gist_id}","starred_url":"https://api.github.com/users/PhantomYdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhantomYdn/subscriptions","organizations_url":"https://api.github.com/users/PhantomYdn/orgs","repos_url":"https://api.github.com/users/PhantomYdn/repos","events_url":"https://api.github.com/users/PhantomYdn/events{/privacy}","received_events_url":"https://api.github.com/users/PhantomYdn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/performance","name":"performance","color":"eb6420"},{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/resolved","name":"resolved","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"laa","id":105066,"avatar_url":"https://avatars.githubusercontent.com/u/105066?v=3","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/72","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.2.0-rc1","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/72/labels","id":1458008,"number":72,"title":"2.2.0-rc1","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":248,"closed_issues":34,"state":"open","created_at":"2015-12-13T18:50:39Z","updated_at":"2016-03-28T07:12:51Z","due_on":"2016-03-28T22:00:00Z","closed_at":null},"comments":20,"created_at":"2015-11-20T02:32:40Z","updated_at":"2016-03-28T17:13:05Z","closed_at":null,"body":"Guys,\r\n\r\nWe got a server with 128Gb RAM and 32 CPUs. But OrientDB is running even slower than on 1 CPU/1Gb account on digital ocean. The mostly it's observable during db startup: it's doing something for a couple of minutes (vs. few minutes on small environment). According to thread  dump it's freezing here:\r\n\r\n```java\r\n\"main\" prio=10 tid=0x00007f4e2c00a000 nid=0x18a3 runnable [0x00007f4e33a93000]\r\n   java.lang.Thread.State: RUNNABLE\r\n\tat java.io.RandomAccessFile.write0(Native Method)\r\n\tat java.io.RandomAccessFile.write(RandomAccessFile.java:500)\r\n\tat java.io.RandomAccessFile.writeLong(RandomAccessFile.java:1071)\r\n\tat com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.writeMasterRecord(ODiskWriteAheadLog.java:1216)\r\n\tat com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.log(ODiskWriteAheadLog.java:884)\r\n\tat com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractWriteAheadLog.logFullCheckpointStart(OAbstractWriteAheadLog.java:67)\r\n\tat com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.makeFullCheckpoint(OAbstractPaginatedStorage.java:1631)\r\n\tat com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.synch(OAbstractPaginatedStorage.java:1205)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OSchemaShared$1.call(OSchemaShared.java:1217)\r\n\tat com.orientechnologies.orient.core.db.OScenarioThreadLocal.executeAsDistributed(OScenarioThreadLocal.java:67)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OSchemaShared.saveInternal(OSchemaShared.java:1210)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OSchemaShared.releaseSchemaWriteLock(OSchemaShared.java:640)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OClassImpl.releaseSchemaWriteLock(OClassImpl.java:1808)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OClassImpl.releaseSchemaWriteLock(OClassImpl.java:1803)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.releaseSchemaWriteLock(OPropertyImpl.java:1109)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.setCustom(OPropertyImpl.java:757)\r\n\tat com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.setCustom(OPropertyImpl.java:68)\r\n```\r\n\r\nIt's interesting, but JVM instance limited just be few Gb.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/202492287","html_url":"https://github.com/orientechnologies/orientdb/issues/5352#issuecomment-202492287","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5352","id":202492287,"user":{"login":"laa","id":105066,"avatar_url":"https://avatars.githubusercontent.com/u/105066?v=3","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T17:13:05Z","updated_at":"2016-03-28T17:13:05Z","body":"Well sorry we do not provide radical changes in design of underlying engine\nin hotfixes.\n((.\n\n\nOn Wed, Mar 23, 2016 at 11:02 AM Ilia Naryzhny <notifications@github.com>\nwrote:\n\n> That's great:) Thanks! But when we will have some fix? In 2.2 or 2.1.14?\n> And as I said, things became worsen in latest 2.1.X fixes... Any workaround\n> for 2.1?\n>\n> —\n> You are receiving this because you were assigned.\n>\n> Reply to this email directly or view it on GitHub\n> <https://github.com/orientechnologies/orientdb/issues/5352#issuecomment-200258668>\n>\n-- \nBest regards,\nAndrey Lomakin, R&D lead.\nOrientDB Ltd\n\ntwitter:@Andrey_Lomakin linkedin:https://ua.linkedin.com/in/andreylomakin\n"}}