httpd hangs after user abort

admin

Administrator
Staff member
Hello all

Problem: My script retrieves a lot of data from a MySQL-db. Whenever there is a user-abort or the processing-time exceeds max_execution_time, the database-server shuts down fine (mysql_query("KILL $connection") registered in shutdown-function) -- but the httpd keeps building up to a size of approx. 20 Mbyte and then simply goes to sleep. The process sticks around for about a day, if it's not killed by the server-admin, and there have been threads around for up to three days, just clogging up vm-space...

Any suggestion what I could do? Is there a way to send a kill_thread()-signal to apache from my shutdown-function?

thanx in advance for all your suggestions!
 
Back
Top