PDA

View Full Version : Forcing A Perl Script to Time Out



quackweb
02-05-2004, 06:30 PM
Hi Everyone:

I have a few users that are resources hogs with their perl scripts because they take so long to process sometimes. One client has a script that is always crashing one of our servers. I was wondering how to turn on the perl feature that causes scripts to time out after a certain amount of time. I remember when I had my personal site with communitech (now Interland -shivers-) they had perl scripts time out after 5 minutes. Does any one know how to make this happen? Any help is greatly appreciated!

toml
02-06-2004, 08:41 AM
Try the Process Resource Manager from R-fx Networks Here (http://www.rfxnetworks.com/prm.php) . I have not tried it yet, but it should kill any process that exceeds a certain level.