Problem/Bug TPS Drop and Lag

Discussion in 'Bukkit Help' started by Higgsboson728, Apr 17, 2016.

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

    Higgsboson728

    Hello all!

    Recently, I have been running into some lag issues on my server.

    For example, I get many "Can't keep up!" messages in my console (once every 20 seconds) and the TPS shows 6~15 when I do /tps. This never happened before, and it started when I installed a plugin called PlotSquared. I uninstalled the plugin, but the problem persists. I have 31 plugins, and 8 worlds.

    /tps:

    Uptime: 13 minutes 27 seconds.
    Current TPS = 4.52
    Maximum Memory: 4,607Mb
    Allocated Memory: 4,607Mb
    Free Memory: 3,682Mb

    The server crashes after around 2 minutes of starting it up, so I set my Maximum Tick to "-1" in the server.properties file to disable watchdog.


    Code:
    12.04 13:22:39 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 6075ms behind, skipping 121 tick(s)
    12.04 13:23:02 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 9427ms behind, skipping 188 tick(s)
    12.04 13:23:20 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 9470ms behind, skipping 189 tick(s)
    12.04 13:23:33 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 5789ms behind, skipping 115 tick(s)
    12.04 13:23:54 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 8368ms behind, skipping 167 tick(s)
    12.04 13:24:06 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 5732ms behind, skipping 114 tick(s)
    12.04 13:24:30 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 9683ms behind, skipping 193 tick(s)
    12.04 13:24:44 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 6293ms behind, skipping 125 tick(s)
    12.04 13:25:06 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 8816ms behind, skipping 176 tick(s)
    12.04 13:25:19 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 6091ms behind, skipping 121 tick(s)
    12.04 13:25:40 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 8504ms behind, skipping 170 tick(s)
    12.04 13:25:53 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 5737ms behind, skipping 114 tick(s)
    12.04 13:26:14 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 8017ms behind, skipping 160 tick(s)
    12.04 13:26:26 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 5845ms behind, skipping 116 tick(s)
    This only happens when I am on the server, and "Can't keep up!" messages do not show when I am not on.
    So, when I am not on the server and someone else is, the TPS is 20 and there are no "Can't keep up!" messages in the console.

    Can anyone help me with this?

    Thanks!

    ~~Higgsboson728
     
    Last edited: Apr 18, 2016
  2. Offline

    RoinujNosde

    Run /timings and paste the result.
     
  3. Offline

    Higgsboson728

    Code:
    CoreProtect v2.12.0
        PlayerJoinEvent Time: 198200 Count: 1 Avg: 198200
        PlayerCommandPreprocessEvent Time: 231564 Count: 3 Avg: 77188
        BlockIgniteEvent Time: 424836 Count: 2 Avg: 212418
        Total time 854600 (0s)
    WorldEdit v6.1;no_git_id
        PluginEnableEvent Time: 1182710 Count: 28 Avg: 42239
        PlayerCommandPreprocessEvent Time: 284758 Count: 3 Avg: 94919
        Total time 1467468 (0s)
    ColoredSigns v4.25 Release
        Total time 0 (0s)
    NoRain v0.2
        PlayerCommandPreprocessEvent Time: 62517 Count: 3 Avg: 20839
        Total time 62517 (0s)
    BloodParticles v0.5.0
        Total time 0 (0s)
    Essentials vTeamCity
        PluginEnableEvent Time: 3704986 Count: 24 Avg: 154374
        PlayerJoinEvent Time: 957380 Count: 1 Avg: 957380
        PlayerJoinEvent Time: 17717842 Count: 1 Avg: 17717842
        PlayerMoveEvent Time: 1682307 Count: 83 Avg: 20268
        PlayerTeleportEvent Time: 2887072 Count: 64 Avg: 45110
        PlayerTeleportEvent Time: 1244356 Count: 64 Avg: 19443
        PlayerCommandPreprocessEvent Time: 206526 Count: 3 Avg: 68842
        WorldLoadEvent Time: 7048897 Count: 6 Avg: 1174816
        PlayerLoginEvent Time: 554388 Count: 1 Avg: 554388
        Total time 36003754 (0s)
    ClearLag v2.9.0
        Total time 0 (0s)
    PerWorldPlugins v1.3.0
        Total time 0 (0s)
    CrackShot v0.98.1
        Total time 0 (0s)
    AutoMessage v2.5.4
        Total time 0 (0s)
    SpawnJoin v1.0.6.1
        PlayerJoinEvent Time: 89001 Count: 1 Avg: 89001
        Total time 89001 (0s)
    WorldGuard v5.9
        PluginEnableEvent Time: 432538 Count: 18 Avg: 24029
        PlayerJoinEvent Time: 1843933 Count: 1 Avg: 1843933
        PlayerMoveEvent Time: 2595877 Count: 83 Avg: 31275
        PlayerTeleportEvent Time: 12541677 Count: 64 Avg: 195963
        PlayerCommandPreprocessEvent Time: 171436 Count: 3 Avg: 57145
        ChunkLoadEvent Time: 6905434 Count: 3789 Avg: 1822
        WorldLoadEvent Time: 7294399 Count: 6 Avg: 1215733
        BlockIgniteEvent Time: 3251189 Count: 2 Avg: 1625594
        PlayerLoginEvent Time: 66067 Count: 1 Avg: 66067
        PlayerItemHeldEvent Time: 32143 Count: 1 Avg: 32143
        BlockPhysicsEvent Time: 562312 Count: 24 Avg: 23429
        BlockFadeEvent Time: 95581 Count: 2 Avg: 47790
        Total time 35792586 (0s)
    MultiWorld v5.2.6
        Total time 0 (0s)
    VoxelSniper v5.170.0-SNAPSHOT-jnks317-gitfcb8fe1
        PlayerJoinEvent Time: 27593950 Count: 1 Avg: 27593950
        Total time 27593950 (0s)
    ColoredChat v0.3
        Total time 0 (0s)
    PermissionsEx v1.23.4
        PlayerJoinEvent Time: 5533148 Count: 1 Avg: 5533148
        PlayerJoinEvent Time: 94997 Count: 1 Avg: 94997
        PlayerLoginEvent Time: 11641589 Count: 1 Avg: 11641589
        PlayerLoginEvent Time: 10816968 Count: 1 Avg: 10816968
        PlayerLoginEvent Time: 10228 Count: 1 Avg: 10228
        PlayerLoginEvent Time: 37630 Count: 1 Avg: 37630
        Total time 28134560 (0s)
    Signs v1.9.4
        Total time 0 (0s)
    Tablist v1.2.3.7
        PlayerJoinEvent Time: 12044723 Count: 1 Avg: 12044723
        Total time 12044723 (0s)
    Vault v1.5.3-b37
        PluginEnableEvent Time: 780957 Count: 31 Avg: 25192
        PluginEnableEvent Time: 641886 Count: 31 Avg: 20706
        PluginEnableEvent Time: 386316 Count: 31 Avg: 12461
        PluginEnableEvent Time: 241715 Count: 31 Avg: 7797
        PlayerJoinEvent Time: 144490 Count: 1 Avg: 144490
        Total time 2195364 (0s)
    ColoredTexts v1.4
        PlayerJoinEvent Time: 341991 Count: 1 Avg: 341991
        PlayerCommandPreprocessEvent Time: 6209697 Count: 3 Avg: 2069899
        Total time 6551688 (0s)
    MyCommand v5.1.6
        PlayerCommandPreprocessEvent Time: 76849 Count: 3 Avg: 25616
        Total time 76849 (0s)
    Houses v1.6.4.1
        PlayerJoinEvent Time: 608349 Count: 1 Avg: 608349
        Total time 608349 (0s)
    MobArena v0.96.9
        PlayerJoinEvent Time: 1043243 Count: 1 Avg: 1043243
        PlayerLoginEvent Time: 102186 Count: 1 Avg: 102186
        Total time 1145429 (0s)
    ScoreboardStats v0.9.4-SNAPSHOT
        PluginEnableEvent Time: 128297 Count: 6 Avg: 21382
        PlayerJoinEvent Time: 936518 Count: 1 Avg: 936518
        PlayerJoinEvent Time: 117637 Count: 1 Avg: 117637
        PlayerJoinEvent Time: 1830572 Count: 1 Avg: 1830572
        Total time 3013024 (0s)
    PerWorldInventory v1.5.4
        Total time 0 (0s)
    HolographicDisplays v2.1.10
        PlayerJoinEvent Time: 1975997 Count: 1 Avg: 1975997
        ChunkLoadEvent Time: 13801702 Count: 1289 Avg: 10707
        ChunkUnloadEvent Time: 15312161 Count: 3573 Avg: 4285
        Total time 31089860 (0s)
    SignShop v2.10.0
        PluginEnableEvent Time: 36735 Count: 3 Avg: 12245
        PluginEnableEvent Time: 16421 Count: 3 Avg: 5473
        PlayerJoinEvent Time: 44374 Count: 1 Avg: 44374
        WorldLoadEvent Time: 38827780 Count: 2 Avg: 19413890
        Total time 38925310 (0s)
    ASkyBlock v2.9.6.4
        PlayerJoinEvent Time: 50508597 Count: 1 Avg: 50508597
        ChunkLoadEvent Time: 262426767 Count: 646 Avg: 406233
        Total time 312935364 (0s)
    PhatLoots v4.1.0
        BlockPhysicsEvent Time: 1017419 Count: 24 Avg: 42392
        Total time 1017419 (0s)
    MoneyThief v1.2.10
        Total time 0 (0s)
    
    @RoinujNosde
     
  4. Offline

    Higgsboson728

  5. Offline

    RoinujNosde

    I'm not that familiar with Craftbukkit's timings, but try to disable plugins that have a too high PluginEnableEvent count.
     
  6. Offline

    Higgsboson728

    I doubt that plugins are the problem, since I didn't install anything new.
    @RoinujNosde
     
Thread Status:
Not open for further replies.

Share This Page