Hello There, Guest! Login or Register


URGENT: RAM Issues
#1
Hello sir(s),

Las Venturas Mineground has grown quite rapidly when it began, and it's still steadily growing, but not as fast as it was. To put things in to perspective, we have currently a 670 megabyte map, and 91 whitelisted members. That's 91 members that have applied and built things in our server. All together, we have had 173 unique visitors join LVM.

Most Minecraft servers that have similar map sizes and player counts are running with anywhere between 4 and 16 gigabytes of RAM. Along with the abundance of RAM, they also have CPU's with fast clock speeds. The reason for the faster processors versus more cores, is because Minecraft/Bukkit tend to only run in one core.

For those that aren't aware, currently LVM is running on just 1 gigabyte of RAM. When I say "just 1 gigabyte", don't take this the wrong way. I, (and not to speak for Rien), but both of us are very grateful that Management decided they would run the server on LVP's services, and even made it an official part of the community. I also understand that the Minecraft server doesn't take priority over other services that are running on the box, nor do I think it should. Anyway, as time goes on, we have been having more and more server crashes. Usually they were quite rare, maybe once every few days. This wasn't such a big deal. However, recently, the server has become much more laggy, and using much more resources. I had to reduce map backups from every half hour to once per hour, because it was causing way too much lag when they would take place. Now, it's just gotten to the point where the server can't even run for more then 10 hours without crashing. Not only is the server crashing about every 3-6 hours because it is running out of RAM, but each time it crashes, the map is rolled back by multiple hours because of the abrupt crash; the map doesn't get a chance to save. Players are loosing lots of their work, and are getting very angry (rightfully so).

For the time being, I disabled backups. This is a major problem, but it makes the server crash less often. I know that LVP doesn't have as much income as it used to, so I do understand that we are limited with what we can do. From what I know, the server currently has a total of 4 gigabytes of RAM. In short, if we can't increase the Minecraft server's ram, it won't be able to run for much longer. So, the question is, how much RAM does the server already have that could be assigned to the Minecraft server? If there isn't much left, what would be the cost to purchase more? If that information is something that Management would like to keep to themselves, I understand and respect that.

Thank You for your time, I hope something can be done soon.
Ryan Stohr
"MacSto'
Reply
#2
No can do.
Server has 4 GB RAM, and almost everything is in use already.

[root@play ~]# free -m
            total      used      free    shared    buffers    cached
Mem:          3830      3652        178          0        277      1283

I don't think that we can upgrade our memory, I don't see any options at Leaseweb to do this. Only a new dedicated server.. but it costs money we don't have. (50% monthly increase, or even 100% if we want 16GB)
Also, I doubt that most servers are running with 4-16 GB dedicated to Minecraft. Maybe server total, in that case we do have that amount ;)
If I check MC hosting providers, 4GB dedicated to MC should give you 60 player slots. We are using 1 GB, this should equal 15 slots, and I guess this is somewhat correct. 1.5 GB provides ~20 slots, but we don't have the memory for that.

Reply
#3
Wow, I didn’t realize how much of the RAM was actually in use :X. In this case, I propose we bring the map in to the editor, and try to make it a square (as tight as we can get without deleting peoples buildings), and create world boundaries. We need to get the map size down as much as possible, so we can hopefully restore backups. I’m out of town and will be for about a week, so maybe Rien can look in to resizing the map?
Reply
#4
I'll try to fuck around with MCedit, and look for a plugin that makes some decent boundaries.
Reply
#5
Rien's going to break everything :(
Reply
#6
But then what? The world be eventually be all used up?
Reply
#7
Indeed, sadly. At some point, it will become completely full. Originally I didn’t want world boundaries, but we really have no other choice at this point.
Reply
#8
That's not really good either..

What does the CoD4 server use? It's barely ever being used. And when it is used, people don't play very long. Maybe that can be terminated (MrBondt?)?
Reply
#9
I've been looking into another possibility, although I don't know yet if I want that...

Short intro:
My current HTPC is quite okay, for video playback that is. Intel Atom D525 based thingy, which means no powerful CPU, but a decent GPU. I can watch video in 1080p without problems, as long as they can use the GPU. Software or video's without GPU acceleration are dependent of CPU power, which it lacks. So running other programs is kinda slow. Plus the fact that the motherboard only supports 4GB memory, which I have maxed out already :+

Now, I *can* upgrade my HTPC. But since it is an Intel Atom, the CPU is integrated in the mobo. Meaning I need to buy a new motherboard, CPU, and 8+GB memory.
For a quick reference, a nice configuration will cost me € 273,70 for a, hopefully, suitable motherboard to fit my use, an Intel Core i3 2100 and 16GB DDR3 Kingston HyperX memory. Enough for minecraft? (For 8GB: - €60 (aka ~ € 210) and 12GB: -€ 30 (aka ~ €240).

I can probably sell my old HTPC's motherboard including memory for 150-200 euro. So it will cost 100-150 euros to upgrade.
At this point I haven't searched any benchmarks yet, so I don't know if this will fit my needs (1080P playback + minecraft :P)

Now the downsides/hesitates:
- Current HTPC is low voltage, so it will most likely consume more power. 24/7. I have to look into that.
- Can I watch my movies/series without stuttering due to minecraft0rz... Importantos to me! :P
- I don't really like the idea of everyone having my public IP, but on the other hand it is not a lame SA-MP community.

Internet upload speed is not a problem. (Currently it is, because I don't have any internet at all..) Once they connect my apartment to the fiber network, I will have 50 mbit upload, so yeah, that should be enough.

Not sure if you are willing to pay a little bit for this upgrade, and covering the costs a little bit.
Maybe even a small monthly fee for my electricity bill.

At this moment I'm still busy moving to my new apartment, so I don't have much spare time, but the hardware could be arranged within 1, 2 weeks. Getting it up and running a few days.
The biggest problem is that nobody exactly knows when our apartments are getting connected to the fiber network :( So I can't provide an estimated timeline for this plan. Plus I don't want to buy the stuff to quickly with a small chance that it doesn't meet the requirements.
Reply
#10
That’s a great offer, and could be a perfect alternative. Before we jump right in to it though, are we sure that Leaseweb can’t upgrade the server to 8gb without having to choose an entirely different package? (obviously there will be a cost increase, but would it really be 50-100 percent?) I looked on their site as well, but afaik LVP pays ~50 euros/mo, for a quad core? I don’t even see that on the site :P
Reply