Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-01-2003, 06:19 AM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2003, 06:22 AM   #2
Jimbo
Confirmed User
 
Industry Role:
Join Date: Oct 2001
Location: Montreal
Posts: 3,989
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.
__________________
free sex videos
Jimbo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2003, 06:54 AM   #3
notjoe
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
Quote:
Originally posted by alex79
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
killall -HUP httpd

type the above as root from the command line prompt
notjoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2003, 06:57 AM   #4
Jimbo
Confirmed User
 
Industry Role:
Join Date: Oct 2001
Location: Montreal
Posts: 3,989
Quote:
Originally posted by notjoe


killall -HUP httpd

type the above as root from the command line prompt
thats a radical way of doing it hehe
__________________
free sex videos
Jimbo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2003, 07:02 AM   #5
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
killyourself -now

do it from home.
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2003, 07:07 AM   #6
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2003, 07:12 AM   #7
blazin
Confirmed User
 
Join Date: Aug 2002
Posts: 2,781
/path/to/apachectl graceful
blazin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2003, 07:13 AM   #8
blazin
Confirmed User
 
Join Date: Aug 2002
Posts: 2,781
actually - I just thought - that will wait for the processes to finish before restarting
blazin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.