« Happy 12th Birthday, CTDATA | Main | SourceForge Project Recovers Wireless Networks' Master Password »

Trying to Automatically Kill Hanging Programs on Windows Using Perl

One of the things that occasionally causes services on CTDATA's Web Sites to fail is a program that occasionally fails to finish running on one of our Windows NT 4 servers. We have spent a while trying to debug this, only to leave ourselves frustrated because the problem is so infrequent.


In order to improve our uptime, we are looking for ways to write an NT service that will kill processes by certain names that have run for an abnormally long time. Research on the Web has uncovered a brief thread on PerlMonks.com which discusses the writing such a service. Since no one bothered to contribute a code snippet to the thread, we will try to produce something generic, once we have solved our own problem.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About CTDATA

CTDATA Venutures (CTDATA) develops Internet and Intranet applications for corporations and non profit organizations. Our services include:

  • Consulting services for Movable Type and TypePad-based publishing systems (visit our Weblog Improvement website for more information),
  • Financial services business process consulting,
  • Content management system and knowledge management system consulting,
  • Apache web server engineering and hosting,
  • MySQL, Sybase, and Microsoft SQL Server architecture and development,
  • SOAP, REST, and XML-RPC system architecture and programming, including Amazon Web Services and
  • Weblog publishing.
For more information, contact Dave Aiello by email at dave [at] daveaiello.com or call him at +1-267-352-4420.
Copyright © 1995-2010, CTDATA Ventures. All Rights Reserved.
Powered by
Movable Type 4.25