Help IMMEDIATELY script is making thousand files nonstop

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
BalSagoth
Forum Newbie
Posts: 4
Joined: Mon Nov 17, 2003 12:32 am

Help IMMEDIATELY script is making thousand files nonstop

Post by BalSagoth »

Please help. I was copying a zip files from a website using the copy() function. I accidently messed up my loop, and now my zip files are growing and growing. Even though the zips don't belong on the server I am copying to, they are making blank zip files. The loop is never ending. I've made about 20 thousand zip files and I'm frantically panicking. How can I KILL THIS SCRIPT???

Thank you so much
User avatar
PrObLeM
Forum Contributor
Posts: 418
Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:

Post by PrObLeM »

DELete IT!
BalSagoth
Forum Newbie
Posts: 4
Joined: Mon Nov 17, 2003 12:32 am

Post by BalSagoth »

I did delete it and it didn't stop the script. It went to about 25 thousand zip files
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

if you're on linux you can kill the process.

ps -ef | grep "user that is running process"
find the process and type
kill [process id]
Post Reply