I'm trying to figure out if the absence of the restart.txt file in the tmp folder of a Rails ap开发者_开发问答p can cause any kind of memory leakage or infinite loops.
As far as I'm aware, that file is only present to have its timestamp checked via this simplified algorithm each time a request comes in:
- Is there a
tmp/restart.txt
? - If so, is its last-updated timestamp newer than any passenger instance?
- If so, kill the passenger instance and start a new one.
Not having a tmp/restart.txt
file won't have any negative side effects.
精彩评论