cpu & memory limits
Posted by: dv8
Posted on: 2008-06-18 21:40:00
I'm trying to put together some scripts for manipulating jpegs with the imagemagick convert program. Unfortunately, I end up with my tasks being killed intermittently.
I realize these are relatively cpu/memory intensive operations, but they're not time critical - i.e. if it takes 10 minutes to complete the operation, I'm fine with that. I've tried using the nice command within the scripts, but that doesn't seem to make much of a difference.
I have several questions:
1. What are the cpu/memory limits that cause a task to be killed on dreamhost. This seems to be related to the load on the servers more than the task that I am running.
2. How can I avoid triggering such limits? Is the nice command the way to do this? How can I effectively use nice?
Any tips or hints on your experiences greatly appreciated.