Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

The background to my question is as follows. I currently rent a virtual private server from a major hosting company, which I use to run a minecraft server. I have a suspicion that there may be bad ram on the host that I'm running from due to the fact that the game's map files keep corrupting. Given that the process I use to operate the server has the game's map files stored in ramdisk, this is why I suspect that there may be a memory error.

So, my question is, if one does not have root on a system, and does not have physical access to the system, what indications or troubleshooting steps might I use to prove/disprove that the problem is bad ram on the host system?

share|improve this question
    
I'd like to believe that a "major hosting company" would do this every few months or something. At the very least, they should certainly have the capacity to do it fairly easily. Have you asked them? I have found problems on a VPS host before and they were understandably grateful for the heads-up. –  TAFKA 'goldilocks' Jan 20 '13 at 14:22
    
@goldilocks indeed, and that's why I want to validate it first before reporting it to them. Have to have some sort of metric available before I start claiming their environment is to blame. Alas, I'm pretty sure it's just Minecraft and it's ragtag family of plugins. –  Peter Grace Jan 21 '13 at 14:39
add comment

1 Answer

As long as you don't have root, you can't test all of the memory.

There are several programs out there for testing the memory, but I suspect most or all of them require root access.

What you could try is to generate a large file with random data, the size of your ramdisk, run a checksum like sha1, copy it over and then compare the checksum. Repeat this hundreds of times with a script, and you may be approaching a method to test the memory. Note that this does not test random-access writing, but only one way of interacting with the memory.

I would not suspect there to be a physical problem just yet, as there are so many layers that could go wrong in between.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.