We have a script that processes very large files occasionally. (EPS graphics for print). Some of the files reach 500M to 1G.
When we process those files on our development server, the server becomes unresponsive until the processing is complete.
Is there a way to limit the amount of CPU consumed when we use shell_exec to call imagemagick?
Is there a way to limit the cpu usage in any other way of calling imagemagick? (Perhaps spinning off a separate thread of apache or PHP an calling imagemagick the PHP way?)