?
Solved

Unable to terminate perl

Posted on 2003-03-27
3
Medium Priority
?
376 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
[X]
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
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

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