I am using php and jpgaph to generate a line graph of statistics on an hourly
basis from a mySQL db. I issue a query for each hour and plot the results.
The problem is that, oftentimes, the queries take minutes to execute. I
noticed that when the query runs for 300 seconds, but is still not complete, and another identical query is launched. I don't know why this should happen or
how (if) I can adjust this apparent timeout.
I have set the php script timeout to 900 seconds which should be enough.
Where is this timeout/restart behavior initiated? Php? MySQL? Are there other
parameters I can tweak so that the query can finish and not be re-issued?
Thanks,
Ralph