Lagg Halt Command #83


  • New
  • Enhancment
  • Enhancement
Open
Assigned to bob7l
  • _ForgeUser12604474 created this issue Jun 22, 2015

    Pastebin link to your Config (I will ignore your ticket if it doesn't contain this:
    http://pastebin.com/2V4KVxK6

    What steps will reproduce the problem?
    1. do /lagg halt
    2.
    3.

    What is the expected output? What do you see instead?
    Tnt and Fire are disabled!

    What version of the product are you using?
    2.7.7

    Do you have an error log of what happened?
    No errors

    Please provide any additional information below.

    If possible, could you make a config where you edit the things that are disabled in /lagg halt. 1.8 spigot servers are laggy as hell, and /lagg halt fixes the problem to have 20 tps. THank You

  • _ForgeUser12604474 added the tags New Enhancment Jun 22, 2015
  • bob7l removed a tag Defect Jun 23, 2015
  • bob7l added a tag Enhancement Jun 23, 2015
  • bob7l posted a comment Jun 23, 2015

    I suppose it wouldn't hurt to allow more customization but you might wanna investigate your low TPS issue.

  • _ForgeUser12604474 posted a comment Jun 23, 2015

    We disabled every plugin one by one. Our server is a faction server with main things such as mcmmo, factions, faction chat, faction mobs, and server logging such as log block.

    Low players don't cause lag, as more players join: the tps drops down to 10 tps and randomly rises and drops down.

    We noticed that paperspigot is pretty laggy for servers, and the regular spigot is better, but it's still laggy.

  • bob7l posted a comment Jun 23, 2015

    @sammei19021: Go

    Run /timings on For around 5 minutes and paste the timings on here. /timings paste

  • bob7l posted a comment Jun 24, 2015

    @sammei19021: Go

    Just as i expected. You have wayy too many mobs and your processor simply cannot handle that much AI processing.

    You have a few solutions however..

    1) You can enable Clearlag's TPS monitor system and execute /lagg killmobs upon reaching a low TPS.

    So something like this..

    tps-meter:
      enabled: true
      interval: 15 
      tps-trigger: 16.0
      commands:
        - 'lagg killmobs'
    

    2) Directly edit bukkit's config and lower the spawning limits.

    This will (of course), decrease mob spawning. So the lower the values, the less mobs allowed to spawn. The limits i listed below should be suitable for your server. You can also make a lot more alterations in SPIGOT's own config (Like spawn-range).

    spawn-limits:
      monsters: 15
      animals: 5
      water-animals: 1
      ambient: 5
    

    Edit: Also that "IP-Check" plugin you're using is causing massive delays. I'm going to assume he's doing an I/O operation in the main thread which is generally a big no no as it's known for taking awhile - and causing hangs. I recommend you show the developer of that plugin your timings and suggest that he move these read operations to a separate thread - or even better use the "AsyncPlayerPreLoginEvent" event which utilizes the users login thread.


    Edited Jun 24, 2015
  • _ForgeUser12604474 posted a comment Jun 24, 2015

    Could you explain more about the mob config.

    I never really touched those, and confused on most of them.

    Could you help me out?

  • _ForgeUser12604474 posted a comment Jun 24, 2015

    http://pastebin.com/h1Bj4M8r

    That is my spigot.yml

    I suspect that a lot of these are too high :(


To post a comment, please login or register a new account.