I am running a server on Ubuntu 12.04. The operation I'm trying to perform is a git clone, as part of a new backup system I'm implementing. The source and destination are both local, so there is no network activity involved in the clone.
This server is hosting Minecraft, and I would like to be able to do things like this in the background while the server is running. However, each time I attempt it, it locks up the server and kicks everyone off despite my best efforts to limit the impact on resource usage.
Here's the command which I was sure would work:
nice -n 19 ionice -c 3 git clone bukkit backup
From what I've read, this should give the process lowest CPU priority and "idle only" disk priority. However, it still has the same effect of locking up and timing out everyone connected to the Minecraft server. To be clear, the git repository is not in the active server folder, so there isn't any kind of file-access conflict.
I can give details on hardware specs if necessary. Thanks.