HELP

Discussion in 'Spigot Help' started by Vaikezaaaazsx, Apr 29, 2017.

  1. YO guys!
    MY server has 12 gb ram and 16.5 ghz cpu. IT's VPS host.
    Thing is My server laggs when ram usage is low I don't understand pls help.
     
  2. Gaxan

    Supporter

    Who is your VPS host and what are your starting arguments for spigot?
     
  3. #!/bin/sh
    while true
    do
    java -Xmx4G -Xms2G -jar spigot.jar
    echo "If you want to completely stop the server process now, press Ctrl+C before
    the time is up!"
    echo "Rebooting in:"
    for i in 5 4 3 2 1
    do
    echo "$i..."
    sleep 1
    done
    echo "Rebooting now!"
    done

    My host is vhost.lt
     
  4. Gaxan

    Supporter

    Xmx and Xms should be the same amount of RAM, setting GC would also help

    See here https://www.spigotmc.org/threads/gu...remove-lag-fix-tps-improve-performance.21726/
     
  5. YO guys so problem was MySQL it lagged my server.
    Now I switched to mariaDB no problems :)
    GL to everyone too.
     
    • Like Like x 1
  6. Gaxan

    Supporter

    Good to know, thanks for the follow up. Was it a specific plugin or just MySQL in general?
     
  7. MySQL,I'v got other problem now I can't see my databases in MariaDB tool.
     
  8. Gaxan

    Supporter

    Maria is my girlfriends name, but I'm the only one allowed to look at her DB's.

    Just kidding, I've never used MariaDB or heard of it to be honest.