![]() |
how do i stop an php/mysql process?
i've maked a php script that use a mysql database..i've inserted set_time_limit(0); in my code and i started the proces.. after around 10 minutes i closed the browser but the script/proces still runing on my server after over a half a hour :(..
in this rhytm the duration of all entire process will be around 5-10 hours.. maybe more.. i've tryed to kill the proces from phpmyadmin but the prosess is still runing .. what can i do to stop the process whitout damage the mysql? thx |
try finding the PID of the process with "top" or "ps" and "kill -9" it ;)
if you ran the php in your browser it should be ahttpd process so kill the one that as been running the longest. |
Quote:
type the above as root from the command line prompt |
Quote:
|
killyourself -now
do it from home. |
thanks guys for your replyes.. i think i will let the proces to finish.. the proces is already at 1/4 from all his job
|
/path/to/apachectl graceful
|
actually - I just thought - that will wait for the processes to finish before restarting :winkwink:
|
| All times are GMT -7. The time now is 10:03 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123