For some reason, my modded Forge minecraft server has been steadily falling in performance every time it's run now, and has gotten to the point where it's lagging my entire computer, giving clients on the server immense rubberbanding, and makes any games run while the server is up unplayable due to FPS stuttering. It oftentimes just straight up crashes after several minutes, after not responding to itself for a while (ticks taking 15 seconds to several minutes at a time sometimes)
I am not sure what is causing it, and the server logs I have aren't showing anything, other than saying it "took a while to load the tick" or something like that. And it keeps saying everything's moving too quickly (even though it's not, it's just me flying around in creative mode sometimes, and other times it's me sailing one of my DaVinci's Vessels boats).
I wish I knew why this was happening. I thought maybe it was MovingWorld or DaVinci's Vessels throwing a fit, but the FPS drop issue continues to persist even with those two mods removed.
My Minecraft specs:
Version 1.12 (not 1.12.1 or 1.12.2)
Mods I am using:
My computer stats:
Operating System: Windows 8.1 64-bit (6.3, Build 9600)
System Manufacturer: ASUSTeK COMPUTER INC.
System Model: G551JW
Processor: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (8 CPUs), ~2.6GHz
Memory: 16384MB RAM
DirectX Version: DirectX 11
DxDiag Version: 6.03.9600.17415 64bit Unicode
Card name: Intel(R) HD Graphics 4600
Card name: NVIDIA GeForce GTX 960M
Please help me figure out what's causing the issue. I hope my world files are not corrupted or anything. I'd hate to have to restart again after all the effort I put into getting this server up and running.
Also I can't download the archived versions. It says I have to create an Oracle account to download it, and to do that it requires me to enter a ton of personal information that I'm not ever going to give them. It acts like I need to be some business executive to use Java.
This is what I get when I try to download one of the Java files:
yes I did read it that's why I asked for the missing info you do not say how often the server restarts, you don't include a paste bin of your startup script so we do not know how your server is configured, you say fps issues which is client side but no info on how the client is configured or paste bins of logs etc there are no timing reports these are the basics to work out issues
Ok so so far I've tried downgrading to 8.144 and then 8.141 and neither version of Java solved the lag stuttering problem.
Let me again clarify that this is FPS lag, and it is affecting all programs on my computer whenever I run the minecraft server .jar. This has never happened before and the server has always ran rather stable. This FPS lag effect happens on both modded and vanilla server jars.
It used to just affect other non-java programs if they were ran at the same time as the server, but the fact that it now affects my Minecraft client as well makes it so that the server is unplayable (since I can't even play on it with my client). I want to find out what changed in my system that's caused this to happen, but the only thing that changed between when this started and before it was happening was the java version. I've already tried downgrading to the previous versions of Java 8 and it has not helped.
Ok so there were two things I just tried that both kind of worked.
Both my Minecraft client and the server were set to utilize all 8 of my CPU cores together, and I tried splitting the CPU cores to 4 for each (the client would use the first 4, then the server would use the last 4) and that solved the FPS stuttering issue I was having with my client while the server was running.
I then noticed that my Minecraft client was running its integrated version of Java (version 1.8.0_025) while the server was running version 1.8.0_141, so I set my client to run with 1.8.0_141 like the server from the same javaw .jar file in the java installation files, and set them to both use all cores together, and the FPS stuttering problem was also solved again.
However, in both situations I was unable to solve the intense rubberbanding lag issue, which is the other half of the problem. The server is at least playable now, but it makes flying in creative and travel by DaVinci's Vessels difficult, as they continually stop moving and losing all intertia, and then have to re-accelerate again. This means I cannot reach my top possible speed in my boats by a wide margin, but I am still able to play on the server without my client stuttering, FPS-wise.
I am going to update my Java environment again to 0_151 from 0_141 and see if that further helps improve performance. I'll post back with the details on that after I try it.
Also, is there a server starting line argument that lets me allocate more CPU usage to the server? My client heavily uses RAM but not much CPU, while the server is heavily relying on CPU and not as much RAM. I want to ensure the server gets as much CPU strength as it needs and that it's not getting needlessly bottlenecked by an arbitrary CPU usage cap/limit.
How much RAM have you allocated to the server? What are the temperatures for your processors when both (Client/Server) are running? Is your CPU usage maxing out to 100% when you run both instances? What is your system's total amount of RAM?
It is preferable to run the server and the game client on different machines so that you can take off some load from your own gaming setup.
When the server is crashing for a tick that took longer than expected, means that your system is overloaded and can't keep it up.
And just as an FYI, the startup script is the one you execute to start the server such as: