Re: [PHP] shell_exec seems to hang other web requests while running convert

2008-12-23 Thread Nathan Nobbe
On Tue, Dec 23, 2008 at 1:18 AM, German Geek wrote: > We can live with the fact that it will take a little longer to process the > images. The image processing is only done by 2 people, about once a month, > just to save them time (they would do it with photoshop otherwise and it is > really bori

Re: [PHP] shell_exec seems to hang other web requests while running convert

2008-12-23 Thread German Geek
We can live with the fact that it will take a little longer to process the images. The image processing is only done by 2 people, about once a month, just to save them time (they would do it with photoshop otherwise and it is really boring and time consuming). In fact, i might set up an automatic e

Re: [PHP] shell_exec seems to hang other web requests while running convert

2008-12-22 Thread Nathan Nobbe
On Mon, Dec 22, 2008 at 11:34 PM, German Geek wrote: > cron is a good idea, havent thought about that. One could use the nice > program then to give it the lowest priority, because other requests are more > important than this and another server gives the issue of transfering files > back and for

Re: [PHP] shell_exec seems to hang other web requests while running convert

2008-12-22 Thread German Geek
cron is a good idea, havent thought about that. One could use the nice program then to give it the lowest priority, because other requests are more important than this and another server gives the issue of transfering files back and forth. Another soln would be to run it with & in the background (w

Re: [PHP] shell_exec seems to hang other web requests while running convert

2008-12-22 Thread Nathan Nobbe
On Mon, Dec 22, 2008 at 9:06 PM, German Geek wrote: > Hi All, > > The following problem: > > Our client is converting pdfs to images with a web interface. At the moment > I'm using convert from imagemagick with shell_exec (i know i could use the > imagick module, but this would require quite a bi