You are correct, this is generally a bad idea because the mongod
instances will compete for memory (unless, of course, you have enough
memory for them all). It depends on how fast you need things to go,
though: if fairly regular disk access (slowness) is okay, then it
should work fine. (One mongod wouldn't dominate unless it was the
only one reading/writing: everyone requesting data would get some
memory.)