how do i stop an php/mysql process?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    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
  • Jimbo
    Confirmed User
    • Oct 2001
    • 3989

    #2
    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

    Comment

    • notjoe
      Confirmed User
      • May 2002
      • 5599

      #3
      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

      Comment

      • Jimbo
        Confirmed User
        • Oct 2001
        • 3989

        #4
        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

        Comment

        • who
          So Fucking Banned
          • Aug 2003
          • 19593

          #5
          killyourself -now

          do it from home.

          Comment

          • alex79
            Confirmed User
            • Jun 2002
            • 996

            #6
            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

            Comment

            • blazin
              Confirmed User
              • Aug 2002
              • 2781

              #7
              /path/to/apachectl graceful
              I don't endorse a god damn thing......

              Comment

              • blazin
                Confirmed User
                • Aug 2002
                • 2781

                #8
                actually - I just thought - that will wait for the processes to finish before restarting
                I don't endorse a god damn thing......

                Comment

                Working...