Major Lag as of 1.3 even without Plugins

Discussion in 'Bukkit Help' started by Cap K, Aug 20, 2012.

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

    Cap K

    EDIT: it gotter better! the new problem: the lags i now get are periodic. every 50 seconds or so everything will stop moving for about 6 seconds and then catch up super fast. is this problem known?

    Since I upgraded to the new recommended builds my server is unplayable. I thought it had something to do with the plugins not working right but after deactivating them all one by one my server now runs wothout any but still with the same lag as before
    My console:
    Code:
    21:12:55 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    21:13:41 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    21:14:28 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    21:15:15 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    21:16:03 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    21:16:49 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    21:17:36 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    21:18:23 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    
    Changing back to an 1.2-RB there are no messages and no lag
    here is my shell:
    Code:
    #!/bin/sh
    screen -dmS minecraft /usr/bin/java -server -Xmx2G -XX:ParallelGCThreads=4 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacin$
    I can't supply you with the system specs atm, sorry, but i hope the comparison between 1-2 (works) and 1-3 (lags) is enough

    Anybody that can help?
    So long, Cap K
     
  2. Offline

    ZachBora

    Cap K Can you show your server log without any plugins enabled?

    Edit: It might one of your shell arguments, I do remember there was something that needed to be removed since 1.3 but I don't remember which.
     
    Cap K likes this.
  3. Offline

    Cap K

    Code:
    2012-08-20 22:46:18 [INFO] Starting minecraft server version 1.3.1
    2012-08-20 22:46:18 [INFO] Loading properties
    2012-08-20 22:46:18 [INFO] Default game type: SURVIVAL
    2012-08-20 22:46:18 [INFO] Generating keypair
    2012-08-20 22:46:19 [INFO] Starting Minecraft server on *:25565
    2012-08-20 22:46:19 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2012-08-20 22:46:19 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2012-08-20 22:46:19 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connec$
    2012-08-20 22:46:19 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
    2012-08-20 22:46:20 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R2.0-13-g71a238e-b2343jnks (MC: 1.3.1) (Implementing API vers$
    2012-08-20 22:46:20 [INFO] Preparing level "yorn"
    2012-08-20 22:46:20 [INFO] Preparing start region for level 0 (Seed: -1703299171095698546)
    2012-08-20 22:46:21 [INFO] Preparing spawn area: 48%
    2012-08-20 22:46:22 [INFO] Preparing start region for level 1 (Seed: -1703299171095698546)
    2012-08-20 22:46:22 [INFO] Preparing spawn area: 40%
    2012-08-20 22:46:23 [INFO] Preparing start region for level 2 (Seed: 841485606961650051)
    2012-08-20 22:46:23 [INFO] Preparing spawn area: 4%
    2012-08-20 22:46:24 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-08-20 22:46:24 [INFO] Done (4.063s)! For help, type "help" or "?"
    followed by the message posted above every one or two minutes
    thanks for the answer, though!
     
  4. Offline

    andrewpo

    We don't support servers running in offline mode.
    Stop supporting piracy.
     
  5. Offline

    Cap K

    It is a private server and the offline mode is for camera purposes only so that one of us can log in with two clients to film the building process. Be assured we are not tricking Mojang out of their money :)
     
  6. Offline

    andrewpo

    Jolly good. :)

    Out of curiousity, how is CB build #2326 ? Does that cause lag issues for you?
     
  7. Offline

    Cap K

    Like this:
    Code:
    23:03:42 [INFO] Starting minecraft server version 1.3.1
    23:03:42 [INFO] Loading properties
    23:03:42 [INFO] Default game type: SURVIVAL
    23:03:42 [INFO] Generating keypair
    23:03:43 [INFO] Starting Minecraft server on *:25565
    23:03:43 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    23:03:43 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    23:03:43 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    23:03:43 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
    23:03:44 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R1.0-7-g69d634a-b2326jnks (MC: 1.3.1) (Implementing API version 1.3.1-R1.1-SNAPSHOT)
    23:03:44 [INFO] Preparing level "yorn"
    23:03:44 [INFO] Preparing start region for level 0 (Seed: -1703299171095698546)
    23:03:45 [INFO] Preparing spawn area: 44%
    23:03:46 [INFO] Preparing start region for level 1 (Seed: -1703299171095698546)
    23:03:46 [INFO] Preparing spawn area: 36%
    23:03:47 [INFO] Preparing start region for level 2 (Seed: 841485606961650051)
    23:03:47 [INFO] Preparing spawn area: 36%
    23:03:48 [INFO] Server permissions file permissions.yml is empty, ignoring it
    23:03:48 [INFO] Done (4.112s)! For help, type "help" or "?"
    23:04:38 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    23:05:26 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    
    --> The same. Why did you ask?

    Could anybody paste their starting script for 1.3 so I can compare?
     
  8. Offline

    ZachBora

    im on windows tho
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx6G -jar craftbukkit-1.3.1-R1.0.jar
    PAUSE
     
  9. Offline

    andrewpo

    Can you post your system specs please? And a list of plugins if applicable.
     
  10. Offline

    Cap K

    no plugins are active as said in the op.
    the specs should not be relevant as i can play lag free with the rb for 1.2 but here we go:
    Code:
    Linux
    java version "1.7.0_03"
    OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)
    OpenJDK Client VM (build 22.0-b10, mixed mode, sharing)
    • AMD Athlon(tm) II X2 240e Processor
    • MSI 880GMA-E45 Mainboard
    • 12 GB RAM, 4 of those on the Minecraft virtual machine
    Thanks for caring. (mind posting your startscript?)
     
  11. Offline

    andrewpo

    You shouldn't be using IcedTea - change to Oracle/Sun Java 6/7
     
  12. Offline

    bastion


    your java is out of date, it should be _05, which linux are you running, ie ubuntu 12.04, cent os?

    I also cant find the amd processor you have in their listings, is it 64bit? if so is the os 64bit?

    Code:
    #!/bin/sh
     
    # what to run
    folder="/data"
    files="lbm"
    mc1="cb.jar"
    mc2="minecraft_server.jar"
     
    cd $folder/$files
     
    java -server -Xmx2G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -jar $folder/$files/$mc1 nogui
    here is my start up shell file. i use this with 64 bit java on ubuntu 12.04 64bit. I do not use screen but you should be able to figure out how to do that since you use it.

    oracle is not in most linux repos so we use openjava because it is, there should not be any problem using openjava icedtea with minecraft, i have been using it for months with no trouble at all on ubuntu.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 28, 2016
    Cap K likes this.
  13. Offline

    Cap K

    nice. i used your xx-options and its running better now. the lags i now get are periodic. every 50 seconds or so everything will stop moving for about 6 seconds and then catch up super fast. is this problem known?

    Aaaand thats it. This worked and it seems i have to wait for a build that does not have this problem. thanks everyone!

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

    andrewpo

    Nothing wrong with CB - You should find a repository that has oracle/sun java.
     
  15. Offline

    Kalas2626

    i use oracle on ubuntu and it works just fine. just do a manual install,its not that hard
     
  16. Offline

    bastion

    That's great, if you wish to go to the trouble to manually install oracle java on your system more power to you, I was responding to andrewpo, who was saying that openjava/icedtea was bad and not to use it. I referred to openjava being part of most linux repos and that it is quite simple to install using any of the repo methods for linux's different varieties. Installing oracle may not be that hard, but it is inconvenient and not necessary mainly because openjava works just fine.
     
Thread Status:
Not open for further replies.

Share This Page