Re: [PHP] Re: PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Marc Venturini
Martin ZvarĂ­k wrote: > > Marc Venturini napsal(a): > >> > >> Hi all, > >> > >> I wrote a PHP script running in Apache which takes more than 30 seconds > to > >> complete. It uses set_time_limit() to extend the time it is allowed to > &g

Re: [PHP] PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-11 Thread Marc Venturini
Thanks for your contribution Virgil. Unfortunately my file is not index.php (nor anything else declared in a DirectoryIndex directive). I'm planning to fix the issue using a lock to test that the script is not already running before starting it again, but I would like to find out the explanation f

[PHP] PHP/Apache: script unexpectedly invoked multiple times in parallel every 30 secs.

2009-03-10 Thread Marc Venturini
Hi all, I wrote a PHP script running in Apache which takes more than 30 seconds to complete. It uses set_time_limit() to extend the time it is allowed to run. The script generates thumbnails from a list of images. Upon completion, the script redirects the browser to another page using HTTP headers