Server lag issues job to fix

We've posted an important announcement regarding the current situation and the future of the game: Announcement

  • Server lag issues job to fix

    Right so we were hosted with zaphosting at one point that automatically installed rising world. After experience some ram memory issues (Which I presume is a plugin not dumping memory) I moved over to an OVH gaming dedicated server.
    The server is getting extra lag which makes no sense with such a powerful server on a very fast network.
    There is also very little documentation on how these issues can be resolved and ofcourse there is no error reports anywhere.

    In addition the dreaded 10% loading issue is here.

    It would be great if someone was able to assist. We are even willing to pay for their time but cannot continue shooting in the dark :(


    Join us on Asgard! Discord - discord.gg/cHj63WX | IP - 185.249.196.18:4100

    The post was edited 1 time, last by Stager83 ().

  • Hi Stager! Remember, a 'dedicated server' that you rent is not really 'dedicated' when it comes to hardware. The RW server is dedicated yes, but the hardware it sits on is often 'shared' by many other customers.

    (1) Make sure you edit server.properties using the file management console of your host from "server_memory=1024" to "server_memory=4096" at least. The default server RAM allocation will not be sufficient at 1GB if you have an existing built up world. I use the following for my server: "server_memory=6144" (6GB of RAM allocated) as we have many towns and structures which requires more memory allocation.

    (2) go through all settings in server.properties and adjust to your preference.

    (3) restart the server after you edit server.properties file.

    The 10% load issue you are experiencing is indeed memory related. It usually stems from a lack of RAM allocated for a built up world OR a server that is way over due for a reboot (memory leaks which eventually build up).

    I hope this helps and please let us know if this helped you or not.

    Juggs
    "The past is history, the future a mystery, but today is a gift, which is why we call it the Present."

    The post was edited 1 time, last by Juggernaut ().

  • Hi Juggernaught

    Yes my server admin presumed it was a memory issue. We have tried 10Gb, 4Gb etc but nothing seems to be working the server itself has 32gb so I tried the allocation memory on 16348 even but yet it struggles so I am now certain that it is not the allocated memory but perhaps rather a memory leak from some plugin maybe.


    Join us on Asgard! Discord - discord.gg/cHj63WX | IP - 185.249.196.18:4100

  • I hope looking at the below will help :D @red51

    I have looked at the errorlogs which have now started producing and they indeed confirm that Linuxgsm is only starting up with 2GB ram as per the command. Error below.

    All the linuxgsm .sh files I go through reference memory as a variable for example {MEMORY}. The actual linuxgsm startup file I have attached a screen of with it's formula that I tried editing to start with 8gb instead.

    I have also attached the allocation in server.prop

    ERROR ------------------------------ BELOW

    Rising World - 0.9.5.4 - Dedicated Server
    Linux 4.15.0-46-generic Java 1.8.0_191 (amd64) Memory: 1908 MB
    2019/03/24 01:55 AM
    ____________________________________________________
    RW SERVER: Fatal error occurred!
    java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:3236)
    at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
    at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
    at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
    at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
    at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145)
    at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
    at commons.util.Utils$ByteUtils.compress(SourceFile:1700)
    at commons.world.j.a(SourceFile:540)
    at commons.world.j$$Lambda$34/1602210015.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    Files
    • details1.jpg

      (109.09 kB, downloaded 3 times, last: )
    • details2.jpg

      (90.99 kB, downloaded 1 times, last: )
    • memory.jpg

      (11.57 kB, downloaded 2 times, last: )
    • linuxgsm-startup.jpg

      (63.02 kB, downloaded 3 times, last: )
    • SERVERPROP.jpg

      (5.73 kB, downloaded 18 times, last: )


    Join us on Asgard! Discord - discord.gg/cHj63WX | IP - 185.249.196.18:4100

    The post was edited 2 times, last by Stager83 ().