Jump to content

Server Crash - MCPC+


oryfoxer7410

Recommended Posts

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.

Link to comment
Share on other sites

  • Discord Moderator

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?

Link to comment
Share on other sites

  • Discord Moderator

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
Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

  • Discord Moderator

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.

Link to comment
Share on other sites

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. 

Link to comment
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
×
×
  • Create New...