For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > May 2007 > Re: [PHP-DB] Script 'hanging' for a long time before exit









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Script 'hanging' for a long time before exit
Chris

2007-05-17, 9:58 pm


> $ php plot_graph.php 2; date
> 16:27:59: Script Starting
> 16:27:59: executing Query
> 16:28:01: Number of results:53068
> 16:28:01: Fetching Results
> 16:28:03: Freeing result set
> 16:28:03: Closing DB connection
> 16:28:03: Done
> 16:28:03: Exiting
> Thu May 10 16:28:22 BST 2007


Looks like this is the only one you need to worry about.

Does it happen consistently (ie every time) ? Maybe the server was under
load and it took a while to release the resources or something.

If it does happen consistently maybe you can use gdb or something to
work out what/where/why.

--
Postgresql & php tutorials
http://www.designmagick.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com