Jump to content

Recommended Posts

Posted

Haven't had any issues, running mcpc+ w/Tekkit 1.2.8e. Plugins - Essentials Spawn, Essentials group manager, essentials, prism (recommended mcpc 1.6.4 build). Server runs fine, resources looks good, but I keep seeing this error every 5-6 hours. At times, it will cause a crash. It just started out of nowhere, no recent changes either. 

 

http://pastebin.com/hYWGa3qX

 

 

 

http://pastebin.com/djHYrUYS

 

 

Wanted to see thoughts.

  • Discord Moderator
Posted

These errors look a bit random. Unless you can repeat some action or setup that makes them happen consistently I would throw out a wild guess that you may be running low on PermGen or Heap. I've seen similar-ish errors that are resolved by increasing these. That is, of course, simply an anecdotal observation and the real source of the problem may be only peripherally realated. Give that a shot and see where it gets you. Can you put your startup line with arguments here?

  • Discord Moderator
Posted

Memory balance can sometimes be odd and non-intuitive. It is possible to allocate too much RAM to the server process. In the case of TekkitMain (and I'm just speculating here based on number of mods and such) it is possible that assigning about 94% of your total RAM to the server process may be too much. The OS needs a bit of memory as well and depending on how many concurrent users you have (you haven't specified) it may need a little more.

 

Some anecdotal data from one of my servers:

 

Physical RAM (well, virtual, but same thing in this context): 8G

RAM allocated to server process: 4G

Number of mods reported: 139 (big pack, lots of worldgen)

Concurrent players: <=8

PermSize: 128m

Free memory when no players connected: 2.2G (so OS is taking 1.8 and that escalates when folks are active)

 

There are a number of command line options you may be able to use which could improve your performance for GC and other Java parameters. This command line may be quite old and some of the options may have better alternatives now, but here's my command line which works well for me (open to suggestions).

/usr/local/java/bin/java -Xmx4096M -Xms4096M -XX:PermSize=128m -XX:MaxPermSize=128m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -jar mcpcplus.jar nogui
Posted

So, I added the arguments you are using to my startup script and also lowered my max and min RAM to 20 GB. This leaves 12 GB of the OS. This will serve as a test. If I am stable, I will gradually increase from there. If not, I will let you know. 

 

Thanks for the help. This just came out of nowhere, I really hope this is gone. 

  • Discord Moderator
Posted

How many people are logged in when this last one happened? What are they doing? The log is showing that you have almost 7000 chunks and 1600 entities across your dimensions. What is your view distance set to?

  • Discord Moderator
Posted

Something seems "off". I have to assume that someone (or multiple someones) are using chunk loaders to load massive numbers of chunks. Let's say there are 7 people and a server view distance of 10. That's 3087 chunks if there is no overlap at all. Add in a bit for spawn and you are around 3200 chunks. That's almost 4000 chunks which show as loaded beyond the ones for players unless I've grossly miscalculated something. That is a LOT of chunks.

Posted

chunk loaders are in use on the server and have always been. Our goal is to have a default Tekkit Server. That's the idea and its worked fine, until the last day or so... 

 

I think I found the issue, once i removed prism, the issue seems to have gone away. I'm not seeing errors like I was before. 

 

But yea, we are a private server and we do allow chunk loaders, but even we a large world, we shouldn't be having crashes or these tick loops... 

 

So, I honestly think that Prism was causing the issue. I'll update you if I find out more. 

Posted

BTW, I had to heavily configure Prism to work well with Tekkit, Can I get a pastebin of your coreprotect config? I really don't want to have to go through the testing and fixing stage with another plugin... 

Posted

Thanks so much plowman, CoreProtect is awesome. It just works, which is awesome, there was no configuration beyond my MySQL db setup... 

 

still running error free, so now confirmed it was Prism... 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...