Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Unable to terminate perl

Posted on 2003-03-27
3
Medium Priority
?
385 Views
Last Modified: 2011-09-20
I run apache on my Win2k operating system.  When a perl CGI is executed, and perl locks up, how do I terminate that process?  Usually the locked up perl doesn't take any processing time, but just yesterday I had executed the CGI twice and had infinite loops.  In the tasklist I saw that each one was using 50 percent of my CPU, and really lagging me bad.  I tried to terminate them, but I got a access denied error.  I tried shutting down apache, but the perl processes were still there.  Each one had a process name of "perl.exe" and there were no other perl related processes.

I ended up having to reboot - which isn't good since I host other services as well including IRC where the people are usually active.
0
Comment
Question by:SilentRage
3 Comments
 
LVL 1

Author Comment

by:SilentRage
ID: 8432920
I've finally found my answer.  I don't know how to get perl to terminate itself, but I did find out how to terminate processes that you ordinarily wouldn't have permission to terminate.

http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0398/win320398.htm&nav=/msj/0398/newnav.htm

Great article.  They provided some code for a small program in C.  I copied it, compiled it, and slapped those dead perl processes into... well, hell.  That's it, they're in hell.  Good grief they've given me enough hell they deserved a taste.
0
 
LVL 20

Expert Comment

by:jmcg
ID: 8433033
Since you had to find the answer for this on yourself, you should go to Community Support and request a moderate refund your points to you.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 8437916
PAQ'd and points refunded

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question