question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Significant performance degradation on a server with big RAM

See original GitHub issue

Guys,

We 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:

"main" prio=10 tid=0x00007f4e2c00a000 nid=0x18a3 runnable [0x00007f4e33a93000]
   java.lang.Thread.State: RUNNABLE
    at java.io.RandomAccessFile.write0(Native Method)
    at java.io.RandomAccessFile.write(RandomAccessFile.java:500)
    at java.io.RandomAccessFile.writeLong(RandomAccessFile.java:1071)
    at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.writeMasterRecord(ODiskWriteAheadLog.java:1216)
    at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.log(ODiskWriteAheadLog.java:884)
    at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractWriteAheadLog.logFullCheckpointStart(OAbstractWriteAheadLog.java:67)
    at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.makeFullCheckpoint(OAbstractPaginatedStorage.java:1631)
    at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.synch(OAbstractPaginatedStorage.java:1205)
    at com.orientechnologies.orient.core.metadata.schema.OSchemaShared$1.call(OSchemaShared.java:1217)
    at com.orientechnologies.orient.core.db.OScenarioThreadLocal.executeAsDistributed(OScenarioThreadLocal.java:67)
    at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.saveInternal(OSchemaShared.java:1210)
    at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.releaseSchemaWriteLock(OSchemaShared.java:640)
    at com.orientechnologies.orient.core.metadata.schema.OClassImpl.releaseSchemaWriteLock(OClassImpl.java:1808)
    at com.orientechnologies.orient.core.metadata.schema.OClassImpl.releaseSchemaWriteLock(OClassImpl.java:1803)
    at com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.releaseSchemaWriteLock(OPropertyImpl.java:1109)
    at com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.setCustom(OPropertyImpl.java:757)
    at com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.setCustom(OPropertyImpl.java:68)

It’s interesting, but JVM instance limited just be few Gb.

Any ideas?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:25 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
laacommented, Mar 29, 2016

Yes, exactly.

0reactions
PhantomYdncommented, May 23, 2016

Was not able to mobe due to #6157 . Will be able to say something after full transion

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intermittent performance problem when using powerful 64-bit ...
A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 0 seconds.
Read more >
Server Hardware Performance Considerations | Microsoft Learn
The larger caches generally provide better performance, and they often play a bigger role than raw CPU frequency. Memory (RAM) and Paging ...
Read more >
What is Server Hardware Degradation? - TechTarget
Server hardware degradation is the gradual breakdown of the physical parts of a server. There are several general areas where server degradation problems ......
Read more >
How to Choose the Right Amount of Server RAM - Liquid Web
Lack of RAM leads to slow performance, instability, or even server outages. When a server does not have enough physical RAM, the system...
Read more >
Troubleshooting slow servers: How to check CPU, RAM, and ...
The "Big 3" (aka CPU, RAM, and Disk I/O) ... Now, let's look at the three biggest causes of server slowdown: CPU, RAM,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found