Jump to content

I'm currently running a small modded Minecraft server for my friends right now. A huge problem I'm having right now and been having in the past is sometimes my server would stop responding entirely, but the command line interface my server uses doesn't crash/disappear. It is until I type any arbitrary character into the command line that the server starts responding again. I can confirm this because my Minecraft server instantly reports that it was running behind and had to skip some ticks. This usually happens with some heavy modpacks, but even with lighter workloads it still does this.

I posted about this same problem a few months ago, with only a one suggested solution related to turning off quick-edit in the command line or something related. I don't think that has solved my problem. Any suggestions are greatly appreciated, because I have exactly no idea why my server behaves like this sometimes.

 

Windows 10 Pro

Gateway DX4350-UR21P (Phenom II X6 1065T, 6GB 1333MHz RAM, Samsung 850 EVO 250 GB)

Link to post
Share on other sites

I am not sure exactly what the problem could be, but if you are mainly going to be using that machine as a Minecraft server then maybe you should install a Linux server distro on it such as Ubuntu Server and then run the Minecraft server on that. It should fix the problem (I had a similar issue to yours and using Linux fixed it) and as a bonus, it will run much faster, but if you need Windows to run other applications then it may not be an option for you.

PC:

AMD Ryzen 9 5900X | AMD Radeon RX 7900 GRE | 32 GB RAM | Arch Linux

Laptop:

MacBook Pro 13" (2019) | Intel Core i5 8279U | 8 GB RAM | macOS

Server:

Intel Core i7 6700K | 16 GB RAM | 2 TB HDD | Debian Linux

Link to post
Share on other sites

10 minutes ago, Husky said:

I am not sure exactly what the problem could be, but if you are mainly going to be using that machine as a Minecraft server then maybe you should install a Linux server distro on it such as Ubuntu Server and then run the Minecraft server on that. It should fix the problem (I had a similar issue to yours and using Linux fixed it) and as a bonus, it will run much faster, but if you need Windows to run other applications then it may not be an option for you.

I've considered a Linux distro, but I use this PC for too many different things. I'll be upgrading my PCs in the coming months so I might make a highly specialized server just for hosting game servers. 

Link to post
Share on other sites

Just now, EragonFTW said:

I've considered a Linux distro, but I use this PC for too many different things. I'll be upgrading my PCs in the coming months so I might make a highly specialized server just for hosting game servers. 

Do you run the Minecraft server in a window, or do you run it in a command prompt? Whichever one you are using, try it the other way and see if it helps. You can also make sure that your Java is up to date and that you are running a 64-bit OS with 64-bit Java installed. You should also use this parameter when starting the Minecraft server: "-d64" (without the quotes) because I believe that it forces the server to run in 64-bit mode which might help.

 

Also make sure that any sleep modes are disabled or set to Never in Power Settings in the Windows Control Panel, also set the power plan to High Performance. Also go to the UEFI/BIOS settings and turn off all power-saving features such as AMD Cool 'n Quiet, C-States, etc...

 

Hopefully that might fix the freezing issue.

PC:

AMD Ryzen 9 5900X | AMD Radeon RX 7900 GRE | 32 GB RAM | Arch Linux

Laptop:

MacBook Pro 13" (2019) | Intel Core i5 8279U | 8 GB RAM | macOS

Server:

Intel Core i7 6700K | 16 GB RAM | 2 TB HDD | Debian Linux

Link to post
Share on other sites

56 minutes ago, Husky said:

Do you run the Minecraft server in a window, or do you run it in a command prompt? Whichever one you are using, try it the other way and see if it helps. You can also make sure that your Java is up to date and that you are running a 64-bit OS with 64-bit Java installed. You should also use this parameter when starting the Minecraft server: "-d64" (without the quotes) because I believe that it forces the server to run in 64-bit mode which might help.

 

Also make sure that any sleep modes are disabled or set to Never in Power Settings in the Windows Control Panel, also set the power plan to High Performance. Also go to the UEFI/BIOS settings and turn off all power-saving features such as AMD Cool 'n Quiet, C-States, etc...

 

Hopefully that might fix the freezing issue.

Server start script does not have -d64 or -server, but log files say "Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_171." I will be updating Java soon, but I highly doubt that this is the main problem. Done this many times before.

My Windows power plan is set to High Performance. I use Bitsum Process Lasso (free version) to manage processes. Hoped it could do something, didn't solve my server problem.

Sleep is disabled, only automatic locking and monitor sleep.

I'll look in the BIOS again, but this OEM board that came with this computer is super locked down and I don't know if there is power management settings. I'll check quickly and leave an edit. 

 

EDIT: AMD Cool 'n Quiet is now disabled. Nothing else related, rest of the power management is regarding sleep states. 

Also forgot to say that my Minecraft server is controlled by a command line interface. It runs off the java process and the command line is what you can modify it with.

Link to post
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

×