Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have written a small python script that is cron'd every hour under LUbuntu to

  • check internet-connection is stalled/alive (openvpn tunnel randomly stalls)
  • close transmission
  • reconnect openvpn
  • start transmission

However transmission always randomly crashes few hours after the script has started it. It seems that the whole python-scripts is blocked by the Popen command and waits for an input (hitting ENTER is sufficient). However the pid of transmission is always properly logged so it does not seem to hang when run by cron?

Any idea how to trace what causes the crashes? Any adviceon the Popen?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.