When I type a command into my Bukkit server console it takes awhile to actually DO anything. Also, people cannot connect to my server. WHAT IS WRONG AND HOW CAN I FIX IT?!?!?!
Plugins:
AcceptRules
BKCommonLib v1.24
BlockDisguise
BlockPermissions
DisguiseCraft
Essentials (Essentials Chat, GroupBridge, GroupManager, Spawn)
iConomy
InfChests
Lockette Minecars
Multiverse-Core-2.4
Multiverse-Inventories-2.5
Multiverse-Portals-2.4
RealPlugin
RealShop2
Ships
SWatchdog
Vault
WorldEdit
__________
These are my plugins, but I plan to get rid of RealPlugin, RealShop2, and SWatchdog.
Specs:
Windows 7 Professional Service Pack 1
Processor: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz 3.16 GHZ
RAM: 8GB
64 Bit Operating System
I am using craftbukkit-1.5.1-R0.1.
I have Java Version 7 Update 7 (build 1.7.0_07-b11)
What server.log file? The really big one that's been logging since the start of my server?
Your console is always going to lag on a home hosted server.
I beg to differ. I have run a number of servers from my home pc on many different hardware configurations and the only time I have experienced lag is when a single plugin (most often world edit) is trying to process a large task. I run a server for personal use on a daily basis and it never lags of its own accord. If your home based server is always lagging, then maybe you should look at the machine your running it on rather then assuming that every home based server lags. Bear in mind that most paid for servers run on slower hardware then most personal computers made in the last 3 years. One of the best companies around, DaddyCheese, only uses 2.4ghz xeons and they rarely have lag issues.
Anything less then a dual core @ 2.0ghz with 2gb of ram isn't worth hosting a server on.
Full disclosure: The current machine I use to run my personal server has 8 cores @ 4.0ghz with 32GB of ram. However I have run my server (with all the same settings/plugins) on a 1.8ghz dual core machine with only 2gb of ram and felt no appreciable lag.
When I type a command into my Bukkit server console it takes awhile to actually DO anything. Also, people cannot connect to my server. WHAT IS WRONG AND HOW CAN I FIX IT?!?!?!
Elerz, the best way to trouble shoot bad response time from the console is to disable all your plugins and turn them on one by one, starting with the most important and ending in the least important. as you turn each one back on, check and see if the lag has returned, and when it does you will know if it was the last plugin you turned on. once you find a troublesome plugin, dissable it and keep going, just in case you find another problem plugin.
Once you have determined it was a specific plugin, see if there is an update available, or contact its developer to see if he/she has a solution.
If The lag is present with all plugins disabled, then you should review your server settings file, and the amount of ram you allocated for the server to use. You may also want to check for an update for Craftbukkit.
The Ram allocation can be edited like so:
Open your startup *.bat file in notepad and find this line:
Change the value after both Xmx and Xms to a higher number. DO NOT EXCEED THE AMOUNT OF RAM THE MACHINE ACTUALLY HAS. For your machine I would not go over 4gb of ram, since Windows needs some ram and you will probably be using the same machine to play minecraft on your server.
These two settings correspond to the max and min amount of ram that the server can use. setting the min to less then the max will allow the server to dynamically change the amount within the min and max range when needed. However, this can cause more lag on an already lagging system, due to the extra cpu cycles needed to change the setting in real time.
If you are unsure how your machine will respond to the server constantly changing the allocated ram, set both numbers to the same value, and save the *.bat file. This way the server will never try to change the ram size, and wont have the potential to cause extra lag.
I beg to differ. I have run a number of servers from my home pc on many different hardware configurations and the only time I have experienced lag is when a single plugin (most often world edit) is trying to process a large task. I run a server for personal use on a daily basis and it never lags of its own accord. If your home based server is always lagging, then maybe you should look at the machine your running it on rather then assuming that every home based server lags. Bear in mind that most paid for servers run on slower hardware then most personal computers made in the last 3 years. One of the best companies around, DaddyCheese, only uses 2.4ghz xeons and they rarely have lag issues.
Your spec are mostly likely better than his.
Rollback Post to RevisionRollBack
If My Post Helped You, Please Give It A Like! Please Read Our Rules! ->Click Here
Well yes, but that wasn't the point. You said: "Your console is always going to lag on a home hosted server.", as though its a fact for all home hosted servers. And then to concede that my specs are probably better and thus don't lag, contradicts your own statement.
Either way its not important, so long as Elerz's issue gets resolved.
I tried your idea, jack324. I found that the faulty plugin is Multiverse. I've tried updating it, and didn't work. I NEED that plugin, so what can I do?
I tried your idea, jack324. I found that the faulty plugin is Multiverse. I've tried updating it, and didn't work. I NEED that plugin, so what can I do?
You could try using the latest devbuild. Follow this link to multiverse-core's Jenkins dev site, and under "Last Successful Artifacts" find "Multiverse-Core-2.5.jar" and download it.:
AcceptRules
BKCommonLib v1.24
BlockDisguise
BlockPermissions
DisguiseCraft
Essentials (Essentials Chat, GroupBridge, GroupManager, Spawn)
iConomy
InfChests
Lockette Minecars
Multiverse-Core-2.4
Multiverse-Inventories-2.5
Multiverse-Portals-2.4
RealPlugin
RealShop2
Ships
SWatchdog
Vault
WorldEdit
__________
These are my plugins, but I plan to get rid of RealPlugin, RealShop2, and SWatchdog.
Specs:
Windows 7 Professional Service Pack 1
Processor: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz 3.16 GHZ
RAM: 8GB
64 Bit Operating System
I am using craftbukkit-1.5.1-R0.1.
I have Java Version 7 Update 7 (build 1.7.0_07-b11)
What server.log file? The really big one that's been logging since the start of my server?
Please Read Our Rules! -> Click Here
I beg to differ. I have run a number of servers from my home pc on many different hardware configurations and the only time I have experienced lag is when a single plugin (most often world edit) is trying to process a large task. I run a server for personal use on a daily basis and it never lags of its own accord. If your home based server is always lagging, then maybe you should look at the machine your running it on rather then assuming that every home based server lags. Bear in mind that most paid for servers run on slower hardware then most personal computers made in the last 3 years. One of the best companies around, DaddyCheese, only uses 2.4ghz xeons and they rarely have lag issues.
Anything less then a dual core @ 2.0ghz with 2gb of ram isn't worth hosting a server on.
Full disclosure: The current machine I use to run my personal server has 8 cores @ 4.0ghz with 32GB of ram. However I have run my server (with all the same settings/plugins) on a 1.8ghz dual core machine with only 2gb of ram and felt no appreciable lag.
Elerz, the best way to trouble shoot bad response time from the console is to disable all your plugins and turn them on one by one, starting with the most important and ending in the least important. as you turn each one back on, check and see if the lag has returned, and when it does you will know if it was the last plugin you turned on. once you find a troublesome plugin, dissable it and keep going, just in case you find another problem plugin.
Once you have determined it was a specific plugin, see if there is an update available, or contact its developer to see if he/she has a solution.
If The lag is present with all plugins disabled, then you should review your server settings file, and the amount of ram you allocated for the server to use. You may also want to check for an update for Craftbukkit.
The Ram allocation can be edited like so:
Open your startup *.bat file in notepad and find this line:
java -Xmx####M -Xms####M -jar (crafbukkit.VER#).jar
Change the value after both Xmx and Xms to a higher number. DO NOT EXCEED THE AMOUNT OF RAM THE MACHINE ACTUALLY HAS. For your machine I would not go over 4gb of ram, since Windows needs some ram and you will probably be using the same machine to play minecraft on your server.
These two settings correspond to the max and min amount of ram that the server can use. setting the min to less then the max will allow the server to dynamically change the amount within the min and max range when needed. However, this can cause more lag on an already lagging system, due to the extra cpu cycles needed to change the setting in real time.
If you are unsure how your machine will respond to the server constantly changing the allocated ram, set both numbers to the same value, and save the *.bat file. This way the server will never try to change the ram size, and wont have the potential to cause extra lag.
Common values used:
1GB: 1024
1.5gb: 1536
2Gb: 2048
3gb: 3072
4gb: 4096
6gb: 6144
8gb: 8192
I hope this helps!
Your spec are mostly likely better than his.
Please Read Our Rules! -> Click Here
Well yes, but that wasn't the point. You said: "Your console is always going to lag on a home hosted server.", as though its a fact for all home hosted servers. And then to concede that my specs are probably better and thus don't lag, contradicts your own statement.
Either way its not important, so long as Elerz's issue gets resolved.
You could try using the latest devbuild. Follow this link to multiverse-core's Jenkins dev site, and under "Last Successful Artifacts" find "Multiverse-Core-2.5.jar" and download it.:
http://ci.onarandombox.com/job/Multiverse-Core/
Before you use this devbuild version, be sure to remove the old version's multiverse-core folder, since the new one will need to creat its own.
hope this helps!
lol I didnt even see you posted that.