Hello, my server was running on Bukkit 1.0.0 build for about 2 weeks with 20-40 online players without problems. Then i sent a lot of emails and i had to raise slots to 110. 3 days was server running without lags. Then something happened. Server started having lags so we decided to update java and ubuntu. It didnt help. Now we are running the server with 5-8 ticks per second while online are 45-70 players. I updated all plugins and donwloaded new jars. Server is now running on Dev build of bukkit Code: Craftbukkit version git-Bukkit-1.0.1-R1-22-g87867a4-b1637jnks (MC: 1.0.1) (Implementing API version 1.0.1-R2-SNAPSHOT) But server was also lagging while using the latest recommended build Code: Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1) I start server with Code: #!/bin/sh java -server -Xmx10G -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=8 -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Xnoclassgc -XX:UseSSE=3 -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+AggressiveOpts -jar craftbukkit-1.0.1-R2-SNAPSHOT.jar Server was also lagging when i used Code: #!/bin/sh java -Xincgc -Xmx10G -jar craftbukkit-1.0.1-R1.jar This is our server: Linux webserver2 3.0.0-14-server #23-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz 11GiB RAM I hope that its not hardware issue because server was running fine in the past. These are my plugins. Almost all are for 1.0.0 Bukkit. Essentials, Essentilas Spawn, AuthMe (MySQL), EasyBan (MySQL), MineQuery, DynMap, WorldEdit, WorldGuard, Residence, LWC (MySQL), BigBrother (MySQL), Spout, VanishNoPacket, HeroChat, HeroicDeath, NoLagg, Permissions Extended (MySQL), FoundDiamonds, AutoMessage, MyHome (MySQL), KiwiAdmin (MySQL), MineBackup, CraftBall I tried to run server without dynmap and some other plugins for a while but without change. Server.properties: Code: allow-nether=true level-name=world enable-query=true allow-flight=false server-port=25565 query.port=25565 minequery-port=25566 enable-rcon=false level-seed=-6489497964 server-ip=80.79.16.50 debug=false white-list=false spawn-animals=true online-mode=false pvp=true difficulty=3 server-name=Minecraft Project Nemesis gamemode=0 max-players=120 spawn-monsters=true view-distance=10 motd=Minecraft Project Nemesis Log after starting the server: Code: 2012-01-01 21:23:16 [INFO] Starting minecraft server version 1.0.1 2012-01-01 21:23:16 [INFO] Loading properties 2012-01-01 21:23:16 [INFO] Starting Minecraft server on 80.79.16.50:25565 2012-01-01 21:23:16 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! 2012-01-01 21:23:16 [WARNING] The server will make no attempt to authenticate usernames. Beware. 2012-01-01 21:23:16 [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. 2012-01-01 21:23:16 [WARNING] To change this, set "online-mode" to "true" in the server.properties file. 2012-01-01 21:23:17 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-22-g87867a4-b1637jnks (MC: 1.0.1) (Implementing API version 1.0.1-R2-SNAPSHOT) 2012-01-01 21:23:17 [INFO] Starting Minequery server on 80.79.16.50:25566 2012-01-01 21:23:17 [INFO] [PermissionsEx] sql backend registered! 2012-01-01 21:23:17 [INFO] [PermissionsEx] file backend registered! 2012-01-01 21:23:17 [INFO] [PermissionsEx] PermissionEx plugin initialized. 2012-01-01 21:23:17 [INFO] [PermissionsEx] p2compat backend registered! 2012-01-01 21:23:17 [INFO] [PermissionsCompat] Compatibility Layer Initalized! 2012-01-01 21:23:18 [INFO] LWC: Loading shared objects 2012-01-01 21:23:18 [INFO] LWC: Protection cache: 0/10000 2012-01-01 21:23:18 [INFO] LWC: Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so 2012-01-01 21:23:18 [INFO] [PermissionsEx] Initializing sql backend 2012-01-01 21:23:18 [INFO] [PermissionsEx-SQL] Connecting to database "mysql://127.0.0.1:3306/minecraft_1" 2012-01-01 21:23:18 [INFO] [PermissionsEx-SQL] Successfuly connected to database 2012-01-01 21:23:18 [INFO] [Spout] Spout 644 has been initialized 2012-01-01 21:23:18 [INFO] Preparing level "world" 2012-01-01 21:23:18 [INFO] Default game type: 0 2012-01-01 21:23:18 [INFO] Preparing start region for level 0 (Seed: -6489497964) 2012-01-01 21:23:19 [INFO] Preparing spawn area: 65% 2012-01-01 21:23:20 [INFO] Preparing start region for level 1 (Seed: -3324547978957480517) 2012-01-01 21:23:20 [INFO] Preparing spawn area: 85% 2012-01-01 21:23:20 [INFO] [HeroChat] HeroChat version 4.10.3 enabled. 2012-01-01 21:23:20 [INFO] [AutoMessage] version [1.5] loaded 2012-01-01 21:23:21 [INFO] FoundDiamonds v1.8.1.6 STARTED 2012-01-01 21:23:21 [INFO] WorldEdit 5.0 enabled. 2012-01-01 21:23:21 [INFO] WEPIF: Using the Bukkit Permissions API. 2012-01-01 21:23:21 [INFO] WEPIF: Using the Bukkit Permissions API. 2012-01-01 21:23:21 [INFO] CraftBall v1.0 enabled: 1 fields loaded. 2012-01-01 21:23:21 [INFO] [Residence] Found Permissions Plugin! 2012-01-01 21:23:21 [INFO] [Residence] Permissions running in Legacy mode! 2012-01-01 21:23:21 [INFO] [Residence] Loaded... 2012-01-01 21:23:21 [INFO] [Residence] Enabled! Version 2.4.4 by bekvon 2012-01-01 21:23:21 [INFO] [HeroicDeath] 1.11.2 enabled. 2012-01-01 21:23:21 [INFO] [BBROTHER] ------------------------------------ 2012-01-01 21:23:21 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother! 2012-01-01 21:23:21 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs. 2012-01-01 21:23:21 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb 2012-01-01 21:23:21 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications. 2012-01-01 21:23:21 [INFO] [BBROTHER] ------------------------------------ 2012-01-01 21:23:21 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded! 2012-01-01 21:23:21 [INFO] [BBROTHER] Action #1 - BrokenBlock 2012-01-01 21:23:21 [INFO] [BBROTHER] Action #2 - PlacedBlock 2012-01-01 21:23:21 [INFO] [BBROTHER] Action #3 - DestroySignText 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #4 - Teleport 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #5 - DeltaChest 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #6 - Command 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #7 - Chat 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #8 - Disconnect 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #9 - Login 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #10 - DoorOpen 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #11 - ButtonPress 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #12 - LeverSwitch 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #13 - CreateSignText 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #14 - LeafDecay 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #15 - FlintAndSteel 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #16 - TNTExplosion 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #17 - CreeperExplosion 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #18 - MiscExplosion 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #19 - ChestOpen 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #20 - BlockBurn 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #21 - Flow 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #22 - DropItem 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #23 - PickupItem 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #24 - SignDestroyed 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #25 - Heartbeat 2012-01-01 21:23:22 [INFO] [BBROTHER] Action #26 - BlockPistoned 2012-01-01 21:23:22 [INFO] [BBROTHER] Permissions plugin found but disabled. Enabling 'Permissions' (v2.7.7). 2012-01-01 21:23:22 [INFO] [PermissionsCompat] Compatibility layer enabled. 2012-01-01 21:23:22 [INFO] [HeroChat] Permissions 2.7.7 found. 2012-01-01 21:23:22 [INFO] WEPIF: Using the Bukkit Permissions API. 2012-01-01 21:23:22 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.7 2012-01-01 21:23:22 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support 2012-01-01 21:23:22 [INFO] [BBROTHER] BigBrother 1.10.1-SNAPSHOT (build #648) enabled! 2012-01-01 21:23:22 [INFO] [MineBackup] Loading configuration... 2012-01-01 21:23:22 [INFO] [MineBackup] 3 worlds loaded. 2012-01-01 21:23:22 [INFO] [MineBackup] v0.4.8.4 enabled (by ThisIsAreku; unofficial build by ltguide) 2012-01-01 21:23:22 [INFO] [KiwiAdmin] Initialized db connection 2012-01-01 21:23:22 [INFO] KiwiAdmin version 2.1 is enabled! 2012-01-01 21:23:22 [INFO] [AuthMe] MySQL driver loaded 2012-01-01 21:23:22 [INFO] [AuthMe] Connection pool ready 2012-01-01 21:23:22 [INFO] [AuthMe] MySQL Setup finished 2012-01-01 21:23:22 [INFO] [AuthMe] Authme 2.5 enabled 2012-01-01 21:23:22 [INFO] File not found: plugins/Essentials/jail.yml 2012-01-01 21:23:22 [INFO] Loaded Essentials build 2.7.2 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits 2012-01-01 21:23:22 [INFO] Essentials: Using Permissions 2 based permissions. 2012-01-01 21:23:22 [INFO] [PermissionsEx] Superperms support enabled. 2012-01-01 21:23:22 [INFO] [PermissionsEx] v1.17 enabled 2012-01-01 21:23:22 [INFO] Essentials: Using PermissionsEx based permissions. 2012-01-01 21:23:22 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions. 2012-01-01 21:23:22 [INFO] Loaded EssentialsSpawn build 2.7.2 by: essentials team 2012-01-01 21:23:22 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions. 2012-01-01 21:23:22 [INFO] WorldGuard: (world) Single session is enforced. 2012-01-01 21:23:22 [INFO] WorldGuard: (world) TNT ignition is PERMITTED. 2012-01-01 21:23:22 [INFO] WorldGuard: (world) Lighters are PERMITTED. 2012-01-01 21:23:22 [INFO] WorldGuard: (world) Lava fire is blocked. 2012-01-01 21:23:22 [INFO] WorldGuard: (world) All fire spread is disabled. 2012-01-01 21:23:22 [INFO] WorldGuard: Loaded configuration for world 'world" 2012-01-01 21:23:22 [INFO] WorldGuard: (world_nether) Single session is enforced. 2012-01-01 21:23:22 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED. 2012-01-01 21:23:22 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED. 2012-01-01 21:23:22 [INFO] WorldGuard: (world_nether) Lava fire is blocked. 2012-01-01 21:23:22 [INFO] WorldGuard: (world_nether) All fire spread is disabled. 2012-01-01 21:23:22 [INFO] WorldGuard: Loaded configuration for world 'world_nether" 2012-01-01 21:23:22 [INFO] WorldGuard: 0 regions loaded for 'world' 2012-01-01 21:23:22 [INFO] WorldGuard: 0 regions loaded for 'world_nether' 2012-01-01 21:23:22 [INFO] WorldGuard 5.4 enabled. 2012-01-01 21:23:23 [INFO] [MyHome] 1058 homes loaded 2012-01-01 21:23:23 [INFO] [MyHome] Using localization: English (en) 2012-01-01 21:23:23 [INFO] [MyHome] Access Control: Using PermissionsEx v1.17 2012-01-01 21:23:23 [WARNING] [MyHome] Help plugin not detected. Only providing help via /home help. 2012-01-01 21:23:23 [INFO] [MyHome] MyHome 2.1b enabled 2012-01-01 21:23:23 [INFO] [dynmap] Using Permissions 2.7.7 for access control 2012-01-01 21:23:23 [INFO] [dynmap] Loaded 14 shaders. 2012-01-01 21:23:23 [INFO] [dynmap] Loaded 82 perspectives. 2012-01-01 21:23:23 [INFO] [dynmap] Loaded 7 lightings. 2012-01-01 21:23:23 [INFO] [dynmap] Loaded 3 maps of world 'world'. 2012-01-01 21:23:24 [INFO] [dynmap] Loaded 2562 pending tile renders for world 'world 2012-01-01 21:23:24 [INFO] [dynmap] Loaded 2 maps of world 'world_nether'. 2012-01-01 21:23:24 [INFO] [dynmap] Dynmap WebServer started on null:8123 2012-01-01 21:23:24 [INFO] [dynmap] version 0.27-663 is enabled 2012-01-01 21:23:24 [INFO] [NoLagg] NoLagg version 1.53.1 is enabled! 2012-01-01 21:23:24 [INFO] LWC: Loaded 137 locale strings (0 overrides) 2012-01-01 21:23:24 [INFO] LWC: Permissions API: NijiPermissions 2012-01-01 21:23:24 [INFO] LWC: Currency API: EssentialsCurrency 2012-01-01 21:23:24 [INFO] LWC: Loading MySQL 2012-01-01 21:23:24 [INFO] LWC: Using: Mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} ) 2012-01-01 21:23:24 [INFO] LWC: Precached 9559 protections. 2012-01-01 21:23:24 [INFO] LWC: At version: 3,58 (MANUAL) 2012-01-01 21:23:24 [INFO] [VANISH] Version 1.8.7 enabled. 2012-01-01 21:23:24 [INFO] [EasyBan] MySQL driver loaded 2012-01-01 21:23:24 [INFO] [EasyBan] Connected to Database 2012-01-01 21:23:24 [INFO] [EasyBan] Database setup finished 2012-01-01 21:23:25 [INFO] [EasyBan] EasyBan enabled; Version: 2.1 2012-01-01 21:23:25 [INFO] Server permissions file permissions.yml is empty, ignoring it 2012-01-01 21:23:25 [INFO] Done (6,366s)! For help, type "help" or "?" 2012-01-01 21:23:25 [INFO] Starting GS4 status listener 2012-01-01 21:23:25 [INFO] Query running on 80.79.16.50:25565 Can anyone help me with solving this problem? Sorry for my bad English
1. The CPU *could* be part of the lag issue. 2. 11GB RAM? Do you mean 12GB? Who do you use as a provider? 3. Try removing most or all plugins and seeing if it lags.
@battlekid 1. CPU usage isnt 100% 2. 11GB of RAM is allocated to the server 3. Internet provider is I think good... and i have problems with low tickrate, not only with lags 4. when i ran server only with NoLagg performace was fine, bud i dont know which of my plugins may cause low tickrate and lags
@Nathan C MySQL is hosted locally. Essentials, Essentilas Spawn, AuthMe (MySQL), EasyBan (MySQL), MineQuery, DynMap, WorldEdit, WorldGuard, Residence, LWC (MySQL), BigBrother (MySQL), Spout, VanishNoPacket, HeroChat, HeroicDeath, NoLagg, Permissions Extended (MySQL), FoundDiamonds, AutoMessage, MyHome (MySQL), KiwiAdmin (MySQL), MineBackup, CraftBall
A few things. You might not want to host the MySQL server locally. It is a RAM hog and disk hog at times Try running Oracle Sun Java 6 (or 7 which is not in the partner repos for Ubuntu yet) JDK and passing -server to the start script (though I see you already have that option. You must install the JDK however, as the JRE alone doesn't have the ability to use -server option. What version of Ubuntu are you on?
It really depends on how you configure the server. If he has a decent amount of RAM, then it SHOULD be run off the same box. If setup correctly, it will rarely use anything close to 1 GB, since the amount of connections is very few. Also to the OP, you have to tune the server.....running MySQL out of the box with no configuring and tuning is asking for bad performance. Also yeah, the CPU is not that great.....my dual core i3 could outpace it all around. If you can upgrade to some Sandy Bridge CPU.
Yea, that is true, I guess. I'm just used to hosting my webserver, on a different server than MySQL (for security and balance), and so I brought that practice over to my Minecraft server. I don't really see performance degradation with this, as I am getting inter-datacenter transfer speeds with 2 hops (Server->Router->Server)
Here is screen of atop when online were 50 players What about BigBrother? Can it decrease the server tickrate?