Page 1 of 1

timeline always incomplete, might waiting database?

Posted: Thu May 03, 2012 4:44 am
by wvoyance
Attached is my screen of firefox.
The program call AJAX to a server PHP program to obtain some data from other site.
The data has came back. But the firebug timeline, shown at the bottom of the
attached figure is always waiting.

I have ever tried to discard it, and continue to run another instance...eventually database conplained about
too many connection.

I am not sure where does the problem came from? Did I made any mistake on my program or it is the server's problem?

Re: timeline always incomplete, might waiting database?

Posted: Fri May 04, 2012 9:51 am
by x_mutatis_mutandis_x
Make sure you close connections to DB after you finish running your queries (especially when you are using AJAX and there is a possiblity of asynchronous requests).