I've got a php/linux web site. My php processes periodically need to run executables to do things like manipulate images. I'd like to limit the amount of memory and CPU those sub-processes can consume, but I'd like for the limits to be different than what my php processes are limited to. What is the simplest way to accomplish that?
Thanks!