[TUTORIAL] Reducing lag and (possibly) fixing corrupt worlds

Discussion in 'Bukkit Help' started by ichingpow, Jun 11, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    howdy there

    im running bukkit on ubuntu, and i couldnt figure out how to install sun java , so ive installed openJDK, is is the same thing ?

    server performance has been improved with your tips, however i started gettin a few "too many open files" socket exception
    any ideas ? thanx for any help !
  2. Offline


    you can increase your file limits in limits.conf (in RH distro /etc/sysconfig/limits.conf)
  3. Offline


    If you can't install Java 1.7 from oracle, you can just use Java 1.6 from oracle by running apt-get install sun-java6. However you must have the official ubuntu proprietary repo which includes things like video card drivers but also oracle java.
  4. Offline


    i tried using java 1.7 but it says on my server Error: cannot find or load main class java..
    I'm using a Windows 7 OS, Quad Core, 4gb RAM..
  5. Offline


    This thread saved my server. After launching with the options, my RAM usage went WAY down and the server is a lot less laggy and so far is not crashing.
  6. Offline


    Recently i have been having lag issues on my server even when its just me on. i would also appreciate if somone could give me an estimate on how many people i could fit on my server with limited lag. i run the server on my own computer along side minecraft.
    Win7 64
    AMD dual core
    4gb of ram
    Bukkit 953
    Plugins- Essentials, MobArena, WorldEdit/Worldguard, Permissions, Multiverse
    might get rid of essentials for other plugins

    i just tested out the server without essentials and it does seem to be doing much better could i get a suggestion for replacement plugins
  7. Offline


    Well first of all get rid of Windows and second swap Essentials for Commandbook. Read my orignal post.
  8. Offline


    Server runs much better now thanks. Cant get rid of windows though but would love to have a dedicated server running ubuntu. Any suggestions on how many people i could host without lag.
  9. Offline


    this looks like a good resopurce can we get this expanded a bit then put in the list of unhsticky sticky-ables

    so i can learn something from this server start command can someone break down what each command does? i am switching from the one in my signiture to the one you gave I was just wondering what the difference was besides garbage collection...... and maybe an explination of how that relates to the server..... please

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  10. Offline


    I'm in vacation, when I get home I will rewrite the launch line and explain everything on the way.
  11. Offline


  12. Offline


    Hi... My world is corrupt and I have no idea how to follow those instructions that you wrote, I do know a lot about extracting things to folders et / how to crack games but this is just too much.. wonder if you could help me fix it and and send it to me, if any of you guys would be so kind to do so I will be extremly happy!

    <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Nov 27, 2016
  13. Offline


    Okay this worked! I think haha, but now i reinstalled all my permissions and kept the files from the server but permissions and essentials won't work. Help please.
  14. Offline


    More information please :3
  15. Offline


    Okay I used chunkster to fix my main world and some others (multiverse). And well now that its all back I loaded everything and my plugins arn't working! D:. For permissions, it will say I'm admin but won't have the motd colors even though all the coding is there for them, and essentials isn't even working. D":
  16. Offline


    That isn't Chunkster's fault. Are you sure your worlds are named correctly?
  17. Offline


    I just love it. Reduced the ram usage by 1.2 Gb!!!! Removed essentials, installed commandbook, used /butcher and the special run command.
    /me crys in joy.

    Edit: Can a moderator sticky this post please? Might help MANY players. My server takes less ram and cpu than my game -.-
  18. Offline


    I still have plans to tweak that even more :3
  19. Offline


    You. Are. Awesome.
  20. Offline


    Nice thread. Thanks.
  21. Offline


  22. Offline


    does command book make that much difference over essentials?

    I use essentials for home warps protection of chest and rails motd rules (think thats it)
  23. Offline


    Yes, Essentials is a huge buggy and slow package.
  24. Offline


    if you don't mind me asking, how so? what bits do you find slow? I've not really been able to fault it but maybe am just not seeing what the alternatives are like
  25. Offline


    I've seen many people complain about their servers lagging in the help section before. I told them to remove essentials and replace it with CommandBook and they said the lag is gone...
  26. Offline


    Hello, I am trying to use the 32bit (x86 - it's not meant to be an anagram for my name XD) with these boot up commands:

    -XX:ParallelGCThreads=8 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:PermSize=128m -XX:LargePageSizeInBytes=4m 
    I tried to add these to Remote Toolkit by removing the "-" by replacing them with ",". So it will look like this:
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal, -XX:ParallelGCThreads=8,  rest of the start up arguments ...
    When I try to start it up I get this error:
    Error: Could not find or load main class ParallelGCThreads=8
  27. Offline


    Okay i read this 100 times and dont get it!
    EDIT! i am from swe thats because i dont get it.
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
    where should I paste it?

  28. Thx for this great thread, helped alot!
  29. Offline


    I love you for this thread. Can you explain the other flags as well? This has helped my server quite a bit so far!
  30. Offline


    I have windows seven. when i use java or anything in cmd to use chunkster, it says 'java' is not recognized as a internal or external command, operable program or batch file. How do i get chunkster to work without this java or how do i add the java? Im sort of confused
Thread Status:
Not open for further replies.

Share This Page