Well, I finally, after literally months of trying desperately, managed to get my server up and running. Now, there still remains one problem. While the server is running, I (in the .jar) continuously get the message "[WARNING] Can't keep up! Did the system time change, or is the server overloaded?"
At this time, the speed of the server slows to a deathly crawl, and I usually get murdered by a creeper xD
Now, my question: Is there any way to fix this?
My computer is a e-machines standard windows 7 home edition...with 4 gigs of RAM. So, how do I give the server more RAM, since I've got plenty?
And no, I don't think getting a dedicated server would help right now, as it's just me and two other friends.
Thanks for reading, and I hope that it's not too much to ask!
EDIT: Forgot to mention, it's a Beta server, not Creative xD
I get a similar error continuously, more so now that it went beta.
To compensate for this error I put the priority to high for the java.exe and I can have around 30 players before I get lag death complaints.
The server is:
OS: windows 7 stripped down to the core
CPU: Pentium 4 2.4 ghz
Memory: 1 Gig of some recycled memory
There are many issues compounding this problem from clients network cards being out of date to improper coding on the server code itself.
Network Card modifications:
Start Button > Control Panel > Hardware and Sound > Device Manager > Network Adapters
In your network adapters section right click your adapter and open properties
First off update your drivers on the interwebs
next go to the advanced tab
select Transmit Buffers and change the value from 256 to 512 (this option varies by networking card >.
Also some of my friends overseas run their Javaw.exe for the game client at an "above normal" or "high" priority as well to pick up the slack and reduce lag.
I can also not stress internet connection enough! There are a lot of speed tests out there but few that are global, I use: http://comcast.speedtest.net/
Edit: Doh! I almost forgot the most important tool to date: http://www.pingtest.net/ this will test your ping, jitter and the overall internet connection for online games and VoIP, an invaluable tool for testing both from the server to the location and from the location to the server
Things to consider:
1. your game client uses constant communication to the main server in multi-player mode (some 500k of memory >.
2. speed test the area the person having problems connecting is from. For instance I have friends from New Zeland who had lots of problems and my connection to them is 5mbps download and 3mbps upload with my current home based connection, in this case it was their NIC that needed to be upgraded and modified. Once they set the Buffers to 512 all their disconnect issues went away.
3. For servers like mine we have 3 personal computers, a laptop and the server all on the same switch/router. So we placed the Server in slot 1, personal PC's in 2,3,4 and last the laptop in 5. This helps in giving the server priority over the network, we also turned off all router security as the software on the server is more than enough to protect from all but DNS attacks. Actually the security measures routers use to protect against DNS attacks actually causes lag and latency issues with all MMO and server based games.
In the end you will see this message until @Notch finishes up the server code and finds a better structure for the packet handling and timeout issues we see here. I hope this was both informative and helpful, any questions, comments or what not please reply below.