Problem Server experiencing lag and CPU spikes

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

VitalyChernobyl

New Member
Jul 29, 2019
5
0
0
Alright.

I'm running a server out of my office.
Its an Intel Dual Xeon E5620 system running Windows Server 2008 R2 64 Bit
The VM we are using is set to use 4 cores, and 8 gigs of ram total.
We are currently running Direwolf20. I believe it is whatever is the newest, so 5.3.2.
We have not added anything extra and it is set to run with a min of 5 gigs of ram and a max of 7.

What I am experiencing is a lot of lag in game. It isn't always and doesn't really even seem to be related to the number of people on the server. Memory spikes when we expect it to, I see a lot of memory usage when I generate new mystcraft ages.

The real thing that concerns me is that I will occasionally connect to the VM and see that it is using 90% to 100% CPU. After stopping the DW20 server and restarting it it will run fine for a while.

The only other thing we can think of that might be causing lag would be that the office only has a 5mbps upload speed which might be a little light for the server. The hardware server has one other VM running a vanilla minecraft server with a significantly lower population, although they are experiencing lag as well.

Network bottlenecking doesn't really explain my CPU spikes.

Any thoughts? I can find out more specifics about the hardware. I'm honestly not 100% positive on the CPU allocation. I'll double check that.
 

VitalyChernobyl

New Member
Jul 29, 2019
5
0
0
I will try that start file, and changing out the ram config.

I don't need to allocate any ram for the vanilla server. The physical device has something like 48 gigs of ram so its VM has a different set of ram allocated to it. I will try increasing the ram left over for the OS. I could probably even increase the ram for the VM if I needed to.

EDIT: Also thanks for helping. I'm still new to this running a server thing. Luckily my friends are patient.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
My bad, I thought it was only 4 cores and 8 gigs of memory for the actual hardware, I would suggest starting with the amount of memory I set, and increase as needed, but not beyond 32 gigs, that reduces performance.
 

VitalyChernobyl

New Member
Jul 29, 2019
5
0
0
My bad, I thought it was only 4 cores and 8 gigs of memory for the actual hardware, I would suggest starting with the amount of memory I set, and increase as needed, but not beyond 32 gigs, that reduces performance.


I am doing that. My company does offsite backup and the server is a repurposed dual xeon machine that we use for offsite visualization of computers. It should have the power it needs to run a minecraft server. Admittedly its running on a VM with only a fraction of the processors and not the typical amount of upload bandwidth, but it should still be decent. Hence my dismay.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Have you tried running it outside of a VM, maybe its the VM somehow setting a limit that server keeps hitting? I don't advise running it outside of a VM full time, just do it for testing.