![]() |
|||
PHP
IT Tags
Stop Script photo gallery Remove Duplicate objects Mobile site associative arrays indexing solr local server sdf PHP and FLash multiple file uplo Simplexml Parser XHTML UPDATE connection to MYSQL magento ecommerce SimpleXML local server server shutdown Overlapping Layers mysql server Solr XML ajax include check domain Combo box my_thread_global_end Xampp php mail control panel |
server shutdown in progress message
By: Sunil | 24 Sep 2008 7:48 am
I have a function that makes about 4 mysql queries to different tables before it loads the page. If I click on several links on my website, one right after another, I get a "server shutdown in progress" message. This is happening instantly after I click on a link so it doesn't seem like a timing out issue. If I then reload the page the query runs fine.
I have tried connecting and disconnecting to the database right before and after each query as well as connecting once, running all the queries, and then disconnecting and it occurs both ways. I also tried inserting a sleep(2) before each query to slow things down but that didn't help either. I've talked to the tech support at godaddy where the site it hosted and they say it is a scripting problem not a server issue but the site was running fine for 5 months and this never happened before. It's only in the past few weeks that it has started happening.
Anybody have any ideas or suggestions? Comments
Try adding this to the top of your script:
set_time_limit( 0); It is possible that GoDaddy changed the php timeout which broke your script. Keep in mind, if your script is broken somewhere else, this can allow your script to run forever...
By: Admin | 17 Nov 2008
|
