Public bug reported: Binary package hint: php5
Ubuntu 10.10 php5-5.3.3-1ubuntu9.3 amd64 When using php5-fpm's fastcgi_finish_request() (see http://php.net/manual/en/install.fpm.php) the same client cannot request another php script until the first one has finished. Example: Assume php-fpm and a webserver using it is set up and located on localhost. file1.php: <?php echo 'started processing'; // this will end the current fastcgi req. fastcgi_finish_request(); // assume time consuming operations (i.e. video conversion) sleep(120); ?> file2.php: <?php echo 'access file two.'; ?> First access http://localhost/file1.php This works as expected by showing "started processing" and request is finished immediately. PHP is processing in Background. Now try to access http://localhost/file2.php from the same browser instance (like a normal user would access the next page by clicking a link). One would expect it will show "access file two." but instead the browser is busy until the 120seconds from file1.php's sleep are over. Also firing two Ajax request at the same time are not processed concurrent, the first is blocking the second. ** Affects: php5 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/710985 Title: php5-fpm does not allow concurrent requests -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs