Jump to content

Server TPS bei 13 Konstant?


René Peter Granat
 Share

Recommended Posts

Hallo Ich habe soeben einen MC FTB Infinity Server am laufen mittels KCauldron und Plugins.. Ich bin der einzige Spieler drauf. Wie kann es also sein das bei einem server mit 30gb ram zuweisung und einer PermSize von 2gb Zu solch einem Lag kommen:?

[00:19:41 INFO]: CONSOLE issued server command: /lag

[00:19:41 INFO]: Uptime: 6 minutes 52 seconds

[00:19:41 INFO]: Current TPS = 13.225

[00:19:41 INFO]: Maximum memory: 26,667 MB.

[00:19:41 INFO]: Allocated memory: 8,033 MB.

[00:19:41 INFO]: Free memory: 2,853 MB.

[00:19:41 INFO]: World "world": 697 chunks, 555 entities, 235 tiles.

[00:19:41 INFO]: World "DIM-7": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-100": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-34": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-37": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-38": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-39": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-42": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-19": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM-112": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: Nether "DIM-1": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: The End "DIM1": 0 chunks, 0 entities, 0 tiles.

[00:19:41 INFO]: World "DIM_MYST-2147483648": 64 chunks, 304 entities, 14 tiles.

[00:24:44 INFO]: CONSOLE issued server command: /online

[00:24:44 INFO]: There are 1 out of maximum 20 players online.

[00:24:44 INFO]: Admins: Yagudo

Was kann man dagegen tun ? Ist das Schlimm? So sieht mein Selbstverfasstest Startscript aus:

#!/bin/bash# Author: Yagudo#  ConfigurationSERVER="2"SERVERMOD="1"CRAFTBUKKITUPTODATEB="1"CRAFTBUKKITUPTODATEP="1"BKUP="/home/mc/backup"BKUPOLD="1"BKUPOLDT="14"CRONBKUPOLD="1"SCRIPTUPDATE="1"DELETECOMMANDS="0"DIR1="/home/mc/FTB/"NAME1="mcserverb-rpg"DESC1="Minecraft Renegade"BKUPWORLD1="1"WORLDNAME1="AG-UniversePVE"BKUPNETHER1="1"PARAMS1="-Xms1024M -Xmx30000M -XX:MaxPermSize=2048M"DIR2="/home/mc/s2"NAME2="mcserverrp"DESC2="Minecraft PvP"BKUPWORLD2="1"WORLDNAME2="AG-UniversePvP"BKUPNETHER2="1"PARAMS2="-Xms4028m -Xmx7000M -XX:MaxPermSize=1024M"DAEMON="java"MODJAR="cauldron.jar"PARAMSE="nogui"# DO not EDITDATE=$(date +%d.%m.%y-%H.%M)RSS_URL=http://dev.bukkit.org/server-mods/linux-server-startscript-menu/files.rssscriptversion="v5.3.2"#   End of configurationSTARTS1() { DIR="$DIR1" NAME="$NAME1" DESC="$DESC1" PARAMS="$PARAMS1" SERVERSTART}STARTS2() { DIR="$DIR2" NAME="$NAME2" DESC="$DESC2" PARAMS="$PARAMS2" SERVERSTART}STOPS1() { DIR="$DIR1" NAME="$NAME1" DESC="$DESC1" SERVERSTOP}STOPS2() { DIR="$DIR2" NAME="$NAME2" DESC="$DESC2" SERVERSTOP}RESTARTS1() { STOPS1 sleep 5 STARTS1 exit 1}RESTARTS2() { STOPS2 sleep 5 STARTS2 exit 1}SAYS1() { if [[ `screen -ls |grep "\\.$NAME1"` ]]; then   screen -S "$NAME1" -p 0 -X stuff "$(printf "say $say1\r")"   sleep 1 else   echo "$DESC1 seems to be offline" fi}SAYS2() { if [[ `screen -ls |grep "\\.$NAME2"` ]]; then   screen -S "$NAME2" -p 0 -X stuff "$(printf "say $say2\r")"   sleep 1 else   echo "$DESC2 seems to be offline" fi}SCREENS1() { if [[ `screen -ls |grep "\\.$NAME1"` ]]; then   screen -r "$NAME1" else   echo "$DESC1 seems to be offline" fi}SCREENS2() { if [[ `screen -ls |grep "\\.$NAME2"` ]]; then   screen -r "$NAME2" else   echo "$DESC2 seems to be offline" fi}RRB() { if [ "$SERVER" = "2" ]; then   STOPS1   sleep 5   STARTS1   sleep 1   STOPS2   sleep 5   STARTS2   exit 1 else   STOPS1   sleep 5   STARTS1   exit 1 fi}STATUS() { if [ "$SERVER" = "2" ]; then   if [[ `screen -ls |grep "\\.$NAME1"` ]]; then     echo "$DESC1 is online"     else     echo "$DESC1 seems to be offline"   fi   if [[ `screen -ls |grep "\\.$NAME2"` ]]; then     echo "$DESC2 is online"     else     echo "$DESC2 seems to be offline"   fi else   if [[ `screen -ls |grep "\\.$NAME1"` ]]; then     echo "$DESC1 is online"     else     echo "$DESC1 seems to be offline"   fi fi}UPDATE() { if [[ `screen -ls |grep "\\.$NAME1"` ]]; then   if [ "$SERVERMOD" = "1" ]; then     if [ ! -d "$BKUP" ]; then       mkdir "$BKUP"     fi     if [ "$SERVER" = "2" ]; then       MULTISERVER_UP     else       SINGLESERVER_UP     fi     if [ "$RESTARTSERVER" = "yes" ]; then       echo "Server up to date please restart server now!!"     else       echo "Server have no Updates, no restart necessary"     fi   fi fi exit 1}SERVERSTART() { if [[ `screen -ls |grep "$NAME"` ]]; then   echo "found running prozess: $DESC"   echo "Dont start the Server twice"   exit 1 else   if [ "$UID" = "0" ]; then     echo WARNING ! For security reasons we advise: DO NOT RUN THE SERVER AS ROOT     for c in $(seq 1 5); do       echo -n "!"       sleep 1     done     echo !   fi   echo "starting the $DESC"   if [ -e "$DIR" ];then     if [ -x "$DIR" ]; then       cd "$DIR"       if [ ! -x $DATA ]; then         echo "$DATA is not executable, trying to set it"         chmod u+x $DATA       else         if [ "$SERVERMOD" = "1" ]; then           screen -dmS $NAME $DAEMON $PARAMS -jar $MODJAR $PARAMSE         else           screen -dmS $NAME $DAEMON $PARAMS -jar minecraft_server.jar $PARAMSE         fi       fi     else       echo "No such directory: $DIR!"     fi   fi fi}SERVERSTOP() { if [[ `screen -ls |grep "$NAME"` ]]; then   echo -n "Stopping $DESC"   echo   screen -dr "$NAME" -p 0 -X stuff "$(printf "save-all\r")"   echo "30 Second Warning."   screen -dr "$NAME" -p 0 -X stuff "$(printf "say Server will restart in 30s !\r")"   sleep 20   echo "10 Second Warning."   screen -dr "$NAME" -p 0 -X stuff "$(printf "say Server will restart in 10s ! Please dissconnect \r")"   sleep 10   screen -dr "$NAME" -p 0 -X stuff "$(printf "stop\r")"   echo "Sopping Server wait 20 Seconds"   sleep 20   screen -r "$NAME" -p 0 -X quit   echo " done."   cat "$DIR"/server.log >> "$DIR"/full_server.log   rm -rf "$DIR"/server.log else   echo "Coulnd't find a running $DESC" fi}SINGLESERVER_UP() { echo "Backing up current binaries..." cd "$DIR1" tar -czf "$NAME1"-"$DATE".tar.gz plugins/* craftbukkit.jar server.log mv "$NAME1"-"$DATE".tar.gz "$BKUP" if [ "$BKUPWORLD1" = "1" ]; then   if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then     mkdir "$BKUP"/"$WORLDNAME1"   fi   tar -czf "$NAME1"-"$DATE".tar.gz "$WORLDNAME1"/*   mv "$NAME1"-"$DATE".tar.gz "$BKUP" fi if [ "$BKUPNETHER1" = "1" ]; then   if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then     mkdir "$BKUP"/"$WORLDNAME1"   fi   tar -czf "$NAME1"_nether-"$DATE".tar.gz "$WORLDNAME1"_nether/*   mv "$NAME1"_nether-"$DATE".tar.gz "$BKUP"/"$WORLDNAME1"/ fi  if [ "$CRAFTBUKKITUPTODATEB" = "1" ]; then   echo "Downloading Bukkit..."   cd "$DIR1"/bukkit_update   wget http://cbukk.it/craftbukkit.jar   until [ -e "$DIR1/bukkit_update/craftbukkit.jar" ]; do     for c in $(seq 1 5); do       echo -n "."       sleep 5     done     if [ -e "$DIR1/bukkit_update/download.fail" ]; then       break       BUKKITUP="fail"     fi   done   echo !   if [ -e "$DIR1/bukkit_update/craftbukkit.jar" ]; then     BUKKITUP="ok"   fi fi if [ "$CRAFTBUKKITUPTODATEP" = "1" ]; then      echo "Downloading Plugin Updates..."   screen -dr "$NAME1" -p 0 -X stuff "uptodate plugin"   screen -dr "$NAME1" -p 0 -X stuff $'\n'   until [ "$PLDMC1" = "ok" ] && [ "$PLDMC2" = "ok" ]; do     if [ -e "$DIR1/bukkit_update/plugins/plugin.ready" ]; then       PLDMC1="ok"     elif [ -e "$DIR1/bukkit_update/plugins/plugin.fail" ]; then       PLDMC1="fail"     fi     for c in $(seq 1 5); do       echo -n "."       sleep 5     done     if [ "$PLDMC1" = "fail" ]; then       break     fi   done   echo !   if [ "$BUKKITUP" = "ok" ]; then     SERVERUP="ok"   elif [ "$PLDMC1" = "ok" ]; then     SERVERUP="ok"   else     SERVERUP="fail"   fi   if [ "$SERVERUP" = "ok" ]; then     echo "Copy updates in the Server folder? (yes/no)"     read pcopy     if [ "$pcopy" = "yes" ] ; then       if [ "$BUKKITUP" = "ok" ] ; then         echo "Update Bukkit"         cp "$DIR1"/bukkit_update/craftbukkit.jar "$DIR1"         chmod 777 "$DIR1"/craftbukkit.jar       else         echo "No Bukkit Update"       fi       echo "Update $DESC1 Plugins"       cp -r "$DIR1"/bukkit_update/plugins/*.jar "$DIR1"/plugins/       echo "done"       PLCP1="ok"       RESTARTSERVER="yes"     else       echo "Updates are in the $DIR1/bukkit_update/plugins Folder"     fi   else     RESTARTSERVER="no"   fi fi if [ "$CRAFTBUKKITUPTODATEB" = "1" ] && [ "$CRAFTBUKKITUPTODATEP" = "1" ]; then   echo "Cleaning temporary Plugins"   rm -f "$DIR1"/bukkit_update/craftbukkit.jar "$DIR1"/bukkit_update/download.fail "$DIR1"/bukkit_update/download.ready   rm -rf "$DIR1"/bukkit_update/plugins/*.jar "$DIR1"/bukkit_update/plugins/*.zip "$DIR1"/bukkit_update/plugins/changelog/*.html "$DIR1"/bukkit_update/plugins/plugin.ready "$DIR1"/bukkit_update/plugins/plugin.fail elif [ "$CRAFTBUKKITUPTODATEB" = "1" ]; then   echo "Cleaning temporary Plugins"   rm -f "$DIR1"/bukkit_update/craftbukkit.jar "$DIR1"/bukkit_update/download.fail "$DIR1"/bukkit_update/download.ready elif [ "$CRAFTBUKKITUPTODATEP" = "1" ]; then   echo "Cleaning temporary Plugins"   rm -rf "$DIR1"/bukkit_update/plugins/*.jar "$DIR1"/bukkit_update/plugins/*.zip "$DIR1"/bukkit_update/plugins/changelog/*.html "$DIR1"/bukkit_update/plugins/plugin.ready "$DIR1"/bukkit_update/plugins/plugin.fail fi if [ "$BKUPOLD" = "1" ]; then   echo "Cleaning old Backups"   find $BKUP -type f -mtime +$BKUPOLDT -delete fi}MULTISERVER_UP() { echo "Backing up current binaries..." cd "$DIR1" tar -czf "$NAME1"-"$DATE".tar.gz plugins/* craftbukkit.jar server.log full_server.log mv "$NAME1"-"$DATE".tar.gz "$BKUP" if [ "$BKUPWORLD1" = "1" ]; then   if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then     mkdir "$BKUP"/"$WORLDNAME1"   fi   tar -czf "$NAME1"-"$DATE".tar.gz "$WORLDNAME1"/*   mv "$NAME1"-"$DATE".tar.gz "$BKUP" fi if [ "$BKUPNETHER1" = "1" ]; then   if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then     mkdir "$BKUP"/"$WORLDNAME1"   fi   tar -czf "$NAME1"_nether-"$DATE".tar.gz "$WORLDNAME1"_nether/*   mv "$NAME1"_nether-"$DATE".tar.gz "$BKUP"/"$WORLDNAME1"/ fi cd "$DIR2" tar -czf "$NAME2"-"$DATE".tar.gz plugins/* craftbukkit.jar server.log full_server.log mv "$NAME2"-"$DATE".tar.gz "$BKUP" if [ "$BKUPWORLD2" = "1" ]; then   if [ ! -d "$BKUP"/"$WORLDNAME2" ]; then     mkdir "$BKUP"/"$WORLDNAME2"   fi   tar -czf "$NAME2"-"$DATE".tar.gz "$WORLDNAME2"/*   mv "$NAME2"-"$DATE".tar.gz "$BKUP" fi if [ "$BKUPNETHER2" = "1" ]; then   if [ ! -d "$BKUP"/"$WORLDNAME2" ]; then     mkdir "$BKUP"/"$WORLDNAME2"   fi   tar -czf "$NAME2"_nether-"$DATE".tar.gz "$WORLDNAME2"_nether/*   mv "$NAME2"_nether-"$DATE".tar.gz "$BKUP"/"$WORLDNAME2"/ fi echo "done"    if [ "$CRAFTBUKKITUPTODATEB" = "1" ]; then   echo "Downloading Bukkit..."   cd "$DIR1"/bukkit_update   wget http://cbukk.it/craftbukkit.jar   until [ -e "$DIR1/bukkit_update/craftbukkit.jar" ]; do     for c in $(seq 1 5); do       echo -n "."       sleep 5     done     if [ -e "$DIR1/bukkit_update/download.fail" ]; then       break       BUKKITUP="fail"     fi   done   echo !   if [ -e "$DIR1/bukkit_update/craftbukkit.jar" ]; then     BUKKITUP="ok"   fi fi if [ "$CRAFTBUKKITUPTODATEP" = "1" ]; then   echo "Downloading Plugin Updates..."   screen -dr "$NAME1" -p 0 -X stuff "$(printf "uptodate plugin\r")"   screen -dr "$NAME2" -p 0 -X stuff "$(printf "uptodate plugin\r")"   until [ "$PLDMC1" = "ok" ] && [ "$PLDMC2" = "ok" ]; do     if [ -e "$DIR1/bukkit_update/plugins/plugin.ready" ]; then       PLDMC1="ok"     elif [ -e "$DIR1/bukkit_update/plugins/plugin.fail" ]; then       PLDMC1="fail"     fi     if [ -e "$DIR2/bukkit_update/plugins/plugin.ready" ]; then       PLDMC2="ok"     elif [ -e "$DIR2/bukkit_update/plugins/plugin.fail" ]; then       PLDMC2="fail"     fi     for c in $(seq 1 5); do       echo -n "."       sleep 5     done     if [ "$PLDMC1" = "fail" ] && [ "$PLDMC2" = "fail" ]; then       break     fi     if [ "$PLDMC1" = "fail" ] && [ "$PLDMC2" = "ok" ]; then       break     fi     if [ "$PLDMC1" = "ok" ] && [ "$PLDMC2" = "fail" ]; then       break     fi   done   echo !   if [ "$BUKKITUP" = "ok" ]; then     SERVERUP="ok"   elif [ "$PLDMC1" = "ok" ]; then     SERVERUP="ok"   elif [ "$PLDMC2" = "ok" ]; then     SERVERUP="ok"   else     SERVERUP="fail"   fi   if [ "$SERVERUP" = "ok" ]; then     echo "Copy updates in the plugin Folder? (yes/no)"     read pcopy     if [ "$pcopy" = "yes" ] ; then       if [ "$BUKKITUP" = "ok" ] ; then         echo "Update Bukkit"         cp "$DIR1"/bukkit_update/craftbukkit.jar "$DIR1"         cp "$DIR1"/bukkit_update/craftbukkit.jar "$DIR2"         chmod 777 "$DIR1"/craftbukkit.jar         chmod 777 "$DIR2"/craftbukkit.jar       else         echo "No Bukkit Update"       fi       if [ "$PLDMC1" = "ok" ]; then         echo "Update $DESC1 Plugins"         cp -r "$DIR1"/bukkit_update/plugins/*.jar "$DIR1"/plugins/         echo "done"       else         echo "$DESC1 have no Plugin updates"       fi       if [ "$PLDMC2" = "ok" ]; then         echo "Update $DESC2 Plugins"         cp -r "$DIR2"/bukkit_update/plugins/*.jar "$DIR2"/plugins/         echo "done"       else         echo "$DESC2 have no Plugin updates"       fi       PLCP1="ok"       PLCP2="ok"       RESTARTSERVER="yes"     else       echo "Updates are in the $DIR1/bukkit_update/plugins Folder"     fi   else     echo "$DESC1 & $DESC2 have no Plugin & Bukkit updates"     RESTARTSERVER="no"   fi fi if [ "$CRAFTBUKKITUPTODATEB" = "1" ] && [ "$CRAFTBUKKITUPTODATEP" = "1" ]; then   echo "Cleaning temporary Plugins"   rm -f "$DIR1"/full_server.log "$DIR2"/full_server.log   rm -f "$DIR1"/bukkit_update/craftbukkit.jar "$DIR1"/bukkit_update/download.fail "$DIR1"/bukkit_update/download.ready   rm -rf "$DIR1"/bukkit_update/plugins/*.jar "$DIR1"/bukkit_update/plugins/*.zip "$DIR1"/bukkit_update/plugins/changelog/*.html "$DIR1"/bukkit_update/plugins/plugin.ready "$DIR1"/bukkit_update/plugins/plugin.fail   rm -rf "$DIR2"/bukkit_update/plugins/*.jar "$DIR2"/bukkit_update/plugins/*.zip "$DIR2"/bukkit_update/plugins/changelog/*.html "$DIR2"/bukkit_update/plugins/plugin.ready "$DIR2"/bukkit_update/plugins/plugin.fail elif [ "$CRAFTBUKKITUPTODATEB" = "1" ]; then   echo "Cleaning temporary Plugins"   rm -f "$DIR1"/full_server.log "$DIR2"/full_server.log   rm -f "$DIR1"/bukkit_update/craftbukkit.jar "$DIR1"/bukkit_update/download.fail "$DIR1"/bukkit_update/download.ready elif [ "$CRAFTBUKKITUPTODATEP" = "1" ]; then   echo "Cleaning temporary Plugins"   rm -f "$DIR1"/full_server.log "$DIR2"/full_server.log   rm -rf "$DIR1"/bukkit_update/plugins/*.jar "$DIR1"/bukkit_update/plugins/*.zip "$DIR1"/bukkit_update/plugins/changelog/*.html "$DIR1"/bukkit_update/plugins/plugin.ready "$DIR1"/bukkit_update/plugins/plugin.fail   rm -rf "$DIR2"/bukkit_update/plugins/*.jar "$DIR2"/bukkit_update/plugins/*.zip "$DIR2"/bukkit_update/plugins/changelog/*.html "$DIR2"/bukkit_update/plugins/plugin.ready "$DIR2"/bukkit_update/plugins/plugin.fail fi if [ "$BKUPOLD" = "1" ]; then   echo "Cleaning old Backups"   find $BKUP -type f -mtime +$BKUPOLDT -delete fi}DLPL1() { rm -rf "$DIR1"/plugins/"$dlpl1".jar "$DIR1"/plugins/"$dlpl1"}DLWO1() { rm -r "$DIR1"/"$dlwo1"}DLPL2() { rm -rf "$DIR2"/plugins/"$dlpl2".jar "$DIR2"/plugins/"$dlpl2"*}DLWO2() { rm -rf "$DIR2"/"$dlwo2"}SCRIPT_MENU() {while :do clear echo "  M A I N - M E N U" echo "$DESC1" echo "1. Start $DESC1" echo "2. Stop $DESC1" echo "3. Restart $DESC1" echo "4. Say on $DESC1" echo "5. Login into $DESC1" if [ "$DELETECOMMANDS" = "1" ]; then   echo "15. Delete Plugin $DESC1"   echo "16. Delete World $DESC1" fi if [ "$SERVER" = "2" ]; then   echo "$DESC2"   echo "6. Start $DESC2"   echo "7. Stop $DESC2"   echo "8. Restart $DESC2"   echo "9. Say on $DESC2"   echo "10. Login into $DESC2"   if [ "$DELETECOMMANDS" = "1" ]; then     echo "17. Delete Plugin $DESC2"     echo "18. Delete World $DESC2"   fi   echo "Generally Options"   echo "11. Restart Both"   echo "12. Serverstatus"   echo "13. Update"   echo "14. Exit" else   echo "12. Serverstatus"   echo "13. Update"   echo "14. Exit" fi echo -n "Please enter option: " read opt case $opt in 1) STARTS1   exit 1;; 2) STOPS1   exit 1;; 3) RESTARTS1   exit 1;; 4) echo "You are going to write on the Server:";   read say1   SAYS1   exit 1;; 5) SCREENS1   exit 1;; 6) STARTS2   exit 1;; 7) STOPS2   exit 1;;  RESTARTS2   exit 1;; 9) echo "You are going to write on the Server:";   read say2   SAYS2   exit 1;; 10) SCREENS2   exit 1;; 11) RRB   exit 1;; 12) STATUS   exit 1;; 13) UPDATE;; 14) echo "Bye $USER";   exit 1;; 15) echo "You are going to delete a Plugin, write Pluginname:";   read dlpl1   DLPL1   exit 1;; 16) echo "You are going to delete a World, write Worldname:";   read dlwo1   DLWO1   exit 1;; 17) echo "You are going to delete a Plugin, write Pluginname:";   read dlpl2   DLPL2   exit 1;; 18) echo "You are going to delete a World, write Worldname:";   read dlwo2   DLWO2   exit 1;; *)  echo "$opt is an invaild option.";   echo "Please select a valide option";   echo "Press [enter] key to continue. . .";   read enterKey;;esacdone}case "$1" incron) if [ "$SERVER" = "2" ]; then   if [ ! -d "$BKUP" ]; then     mkdir "$BKUP"   fi   cd "$DIR1"   tar -czf "$NAME1"-"$DATE".tar.gz plugins/* craftbukkit.jar server.log full_server.log   mv "$NAME1"-"$DATE".tar.gz "$BKUP"   if [ "$BKUPWORLD1" = "1" ]; then     if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then       mkdir "$BKUP"/"$WORLDNAME1"     fi     tar -czf "$NAME1"-"$DATE".tar.gz "$WORLDNAME1"/*     mv "$NAME1"-"$DATE".tar.gz "$BKUP"/"$WORLDNAME1"/   fi   if [ "$BKUPNETHER1" = "1" ]; then     if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then       mkdir "$BKUP"/"$WORLDNAME1"     fi     tar -czf "$NAME1"_nether-"$DATE".tar.gz "$WORLDNAME1"_nether/*     mv "$NAME1"_nether-"$DATE".tar.gz "$BKUP"/"$WORLDNAME1"/   fi   cd "$DIR2"   tar -czf "$NAME2"-"$DATE".tar.gz plugins/* craftbukkit.jar server.log full_server.log   mv "$NAME2"-"$DATE".tar.gz "$BKUP"   if [ "$BKUPWORLD2" = "1" ]; then     if [ ! -d "$BKUP"/"$WORLDNAME2" ]; then       mkdir "$BKUP"/"$WORLDNAME2"     fi     tar -czf "$NAME2"-"$DATE".tar.gz "$WORLDNAME2"/*     mv "$NAME2"-"$DATE".tar.gz "$BKUP"/"$WORLDNAME2"/   fi   if [ "$BKUPNETHER2" = "1" ]; then     if [ ! -d "$BKUP"/"$WORLDNAME2" ]; then       mkdir "$BKUP"/"$WORLDNAME2"     fi     tar -czf "$NAME2"_nether-"$DATE".tar.gz "$WORLDNAME2"_nether/*     mv "$NAME2"_nether-"$DATE".tar.gz "$BKUP"/"$WORLDNAME2"/   fi else   if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then     mkdir "$BKUP"/"$WORLDNAME1"   fi   cd "$DIR1"   tar -czf "$NAME1"-"$DATE".tar.gz plugins/* craftbukkit.jar server.log   mv "$NAME1"-"$DATE".tar.gz "$BKUP"   if [ "$BKUPWORLD1" = "1" ]; then     if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then       mkdir "$BKUP"/"$WORLDNAME1"     fi     tar -czf "$NAME1"-"$DATE".tar.gz "$WORLDNAME1"/*     mv "$NAME1"-"$DATE".tar.gz "$BKUP"/"$WORLDNAME1"/   fi   if [ "$BKUPNETHER1" = "1" ]; then     if [ ! -d "$BKUP"/"$WORLDNAME1" ]; then       mkdir "$BKUP"/"$WORLDNAME1"     fi     tar -czf "$NAME1"_nether-"$DATE".tar.gz "$WORLDNAME1"_nether/*     mv "$NAME1"_nether-"$DATE".tar.gz "$BKUP"/"$WORLDNAME1"/   fi fi   if [ "$CRONBKUPOLD" = "1" ]; then     echo "Cleaning old Backups"     find $BKUP -type f -mtime +$BKUPOLDT -delete   fi exit 1;;autorr) RRB || exit 1;;*)if [ "$SCRIPTUPDATE" = "1" ]; then rssversion=v5.3.2 if [ "$rssversion" = "$scriptversion" ]; then   SCRIPT_MENU else   echo "Startscript have a update, please update to $rssversion" fifiesac
Siehe PARAMS1= Edited by René Peter Granat
Link to comment
Share on other sites

Hi,

13 TPS sind für mein empfinden doch schon relativ niedrig. Ein MC-Server ist grundsätzlich ein 20 TPS Server (außer man passt dies an).

Ganz davon ab kannst du bei so einem Server den -Xms Wert ruhig höher ansetzen, denn die 1Gb werden hierbei sowieso sehr schnell überschritten.

Ansonsten kannst du eventuell ein paar infos zu der Machine geben?

-Yuki

Link to comment
Share on other sites

Nundenn ich habe mal die -Xms auf 4gb hochgeschraut und Xmx auch auf 32000M gesetzt...

Infos zum Server und Maschine:

Auf dem Server Läuft Debian und und ein IRCD..

Und halt ne Wepsite und dieser MC Server

Als Modpack nutze ich FTB Infinity version 1.10.1

Technische details des Hauptroots:

Der Root ist von Hetzner.

Hier die Daten:

Intel? Core™ i7-920 Quad-Core inkl. Hyper-Threading-Technologie

  • Arbeitsspeicher 48 GB DDR3 RAM
  • Festplatten 2 x 2 TB SATA 3 Gb/s 7200 rpm HDD (Software-RAID 1) Enterprise-Klasse
  • Anbindung 1 GBit/s-Port
  • Bandbreite garantiert 200 MBit/s
  • Backup Space 100 GB
  • Traffic inklusive 30 TB*

Fehlt sonst noch was ?

Im Leerlauf ist er nun bei 19.bis 20 TPS Nun bin ich mal gejoint und hab gewartet..

Nun ist sie bei Konstante 19,987 TPS .. Bei einem Spieler ..

Ist das gut ?

Link to comment
Share on other sites

Du hast einen Modserver...er muss gute 100-200 Mods 20 mal pro Sekunde komplett durchrechnen. Du wirst nie bei so einem Modpack 20 TPS erreichen, 19,987 ist schon ein verdammt guter Wert. Modserver sind sowieso nicht für die breite Masse ausgelegt wie Minigame Server. Diese sind nicht mal ansatzweise so gut optimiert wie Spigot und Co., sie sollen einfach Spaß machen unter Freunden

Link to comment
Share on other sites

Hi,

also wenn jemand den Server betritt wirst du wärendessen und kurz danach immer einen Abfall der TPS haben, das ist völlig normal.

Wenn er also im Normalbetrieb, also wenn jemand auf dem Server ist und etwas macht zwischen 17 und 20 TPS bleibt, kannst du voll zufrieden sein.

Wie gesagt, ist MC Standard 20 TPS, da geht man aber auch erstmal von einem Vanilla Server aus und der hat in den Ticks erstmal relativ wenig zu tun (wenn man nicht gerade massiv Wasser / Lava / Explosionen berechnen lässt).

Auf einem modded Server steigt die Arbeit in den Tick massiv je nach Mod an und entsprechend muss dies mit Rechenleistung ausgeglichen werden, was bei deinem System eigentlich problemlos handlebar sein sollte.

-Yuki

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...
B
B