in reply to Perl script 'hanging' a server?
Look for things that vary based on user input. Could some bad input hang the script? Do certain users have tons of data in your database that could make your queries take a long time? You could try logging the input for a while so that if something like this happens again you will be able to go through it and look for the problem.