Johnyboy Posted August 16, 2013 Posted August 16, 2013 I recently created a server on my older computer a 2.4ghz quadcore Windows 7 64bit computer with 6 gigs of ram with 2 gigs dedicated to the server. 64 bit java. At first everything was fine, was able to easily handle me and a few friends. I was busy with work for a few days and after logging in after that few day absence I noticed a slight lag in the world ( nothing game breaking, but certainly was not there before ). I restarted the server using the GUI to trobleshoot the problem thinking it was the memory, but no. The server sits at about 180MB of ram with me on it and the cpu is not anywhere near capping out. The only thing i was able to notice was that the average tick normally would sit at about 5ms, but every once in awhile it would jump up to 25ms which i belive is my problem. Anyone know what may have caused this? TL; DR server was running without lag, now has slight lag even though it sits at 180MB of ram out of 2Gigs. I mean it has 1.8Gigs of ram remaining.
CharlieChop Posted August 16, 2013 Posted August 16, 2013 im not sure.... but maybe the server has those spikes because its running something. are there any dim anchors? are those anchors close to some complicated stuff like quarries importing constantly into an ME network? Big computercraft programs running? Once ,in the server i played, i caused a massive lagg spike everytime i logged into my base. the reason? my fertilizer farms were not properly dumping the fertilizer and it was being dropped to the ground. the result was that the retarded amount of items on the floor caused a massive lag spike that never went away every time i logged into my base. it got that bad because i left a dim anchor and the game just kept producing fertilizer.
Discord Moderator plowmanplow Posted August 16, 2013 Discord Moderator Posted August 16, 2013 do you have something installed that lets you query the entities that are loaded? There might be a TON of animals/monsters/items somewhere that only get loaded when the chunks get activated. A tool like this can be very handy. I logged in and the server was at 15 TPS (down from the default 20). Did a quick query and noticed that the entity count was over 175,000. Someone's gigantic quarry had overflowed. Easy fix at that point.
weirleader Posted August 16, 2013 Posted August 16, 2013 do you have something installed that lets you query the entities that are loaded? There might be a TON of animals/monsters/items somewhere that only get loaded when the chunks get activated. A tool like this can be very handy. I logged in and the server was at 15 TPS (down from the default 20). Did a quick query and noticed that the entity count was over 175,000. Someone's gigantic quarry had overflowed. Easy fix at that point. any entity-query plugin suggestions? I wouldn't know where to begin looking for something like that.
Discord Moderator plowmanplow Posted August 16, 2013 Discord Moderator Posted August 16, 2013 I just use a current build of MCPC+ and use a combination of Essentials /lag command, WorldEdit's //remove command, and ChickenChunks /chunkloaders.
Johnyboy Posted August 16, 2013 Author Posted August 16, 2013 I do have chunk loaders scattered around the map from me and my friends, but we havent added any recently enough. I guess i can take a look into MCPC+ if i find anything ill let you guys know
Johnyboy Posted August 16, 2013 Author Posted August 16, 2013 I found 202 entities on my overworld. Is that enough to cause this lag? Sorry I noticed that im stupid and could've edited my post. im sorry!
Discord Moderator plowmanplow Posted August 16, 2013 Discord Moderator Posted August 16, 2013 202? No, that is probably just the animals/monsters. Entity count for mobs shouldn't be an issue until you get well over 1000s and items MUCH higher than that. (provided your server is beefy-ish)
Jebussz Posted August 16, 2013 Posted August 16, 2013 I remember one time i had a friend on my server open up a bunch of dimensional doors to create those rifts. When he did that there were random jumps in the server ticks. Maybe that is your issue? If so all you need to do is delete those rifts using a rift remover.
Johnyboy Posted August 16, 2013 Author Posted August 16, 2013 Omg thanks Jebussz, that is what happened and it fixed my issue! after deleting those rifts my average tps went back to 20. I told my friend to use MFR to farm enderman so that wont happen again!
Discord Moderator plowmanplow Posted August 16, 2013 Discord Moderator Posted August 16, 2013 If it is DD, you might want to also double check your settings for rift block damage and rift growth in the config file.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now