hmmm merlyn must be recuperating from OSCON ... he does have an article on that topic.
| [reply] |
| [reply] |
I don't think Apache is a factor here, since it knows you're still alive because your process is alive. The problem likely is that the browser on the other end times out. There are ways to handle this, but it's hard to give specific advice without knowing more about your situation.
Could you split the query into seperate chunks and send each bit to the browser? Could you fork off a process which will run the query while the parent sends data back to the browser?
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
| [reply] |
Hacking up the query would be very possible, actually. What it does is to select a field from one table and counting the number of rows in another table (using group by). I guess I could just select everything from the first table and then do multiple selects from the second one (sending bits back when they are ready).
I think I'll have a go. Thanks for the idea!
| [reply] |
You can set proper values of KeepAlive and Timeout in the httpd.conf file of Apache, I guess. | [reply] |