Hi.
The problem is that each of the jobs is backgrounded (by the &) so you
end up creating 2000 processes in saveimage() all trying to do
conversions at the same time and taking the machine to it's knees.
You just need to remove the & from the two $job= lines.
-Craig

On Jul 30, 3:48 pm, "Aaron Cooper" <[email protected]> wrote:
> Hi all. I'm looking at some inherited (and old) code for a client after they 
> have found that a particular image manipulation script that is run on a cron, 
> is routinely crashing the server. The machine still functions, and responds 
> to PING. But no http, ssh, ftp or IO seems to respond.

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to