i have never seen proxy::exec leading to a deadlock. How are you handling the situation when the perl script never returns? ns_proxy (the machinery used by proxy::exec) has several timeouts . Can it be that your server is running out of slaves? Are you using AOLserver or NaviServer?