I have Apache 2.2 PHP 5.3 MySQL 5.5 application. A form on page1.php accepts user input. Values are passed to page2.php using GET. PHP script on page2.php runs MySQL query and shows results. Depending on the user input parameters query may run from 3 to 900 seconds.
In my tests results from any query that runs < 300 sec are shown OK. Longer running queries are completed OK on the server (I see CPU load goes from 90% to 0% after lets say 500 sec) but browser is not showing result and keeps showing in the status bar "Transferring data from my.host.org ..."
At this time when I am trying to open any page of my application in new instance of the same browser (Firefox) it says "Connecting..." on the tab header and "Waiting for my.host.org ..." in the status bar. Opening any page of my application in other browser (IE) at this time goes OK.
Below are setting I have changed/set so far but they did not help. Any ideas would be helpful. Thank you.
apache2.conf:
Timeout 300 -> 1800
php.ini:
user_ini.cache_ttl = 300 -> 1800
max_execution_time = 30 -> 1800
default_socket_timeout = 60 -> 1800
mysql.connect_timeout = 60 -> 1800
page2.php:
ignore_user_abort(1);