Unable to terminate perl

Posted on 2003-03-27
Medium Priority
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.
Question by:SilentRage
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

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.


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.
LVL 20

Expert Comment

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.

Accepted Solution

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


Community Support Moderator
Experts Exchange

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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

771 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