in reply to Perl script 'hanging' a server?

For web scripts that block temporarily, or are running slower than usual for some external reason, users are quite likely to hit reload, reload, reload for fun and make things even worse.

I'd suggest checking the sql update couldn't possibly block (depends on the db), and if that wasn't the problem, put a 'warn "marker";' at the start of each subroutine to see where things were blocking/spinning.