Yelp / zygote

A Python HTTP process management utility.
http://opensource.yelp.com/
Apache License 2.0
40 stars 15 forks source link

keep open file descriptors to the paths that zygote itself needs open #25

Closed Roguelazer closed 12 years ago

Roguelazer commented 12 years ago

Zygote needs the static and template paths from the initial version of zygote that was launched to still be there. If you're using a deployment system which cleans up old versions of code, then it's possible that they might be cleaned up. Now it'll keep an open file descriptor to those directories to give a signal to such a deployment system to not be so aggressive with the cleaning.