开发者

What happens when restart.txt is not present in the tmp folder for Passenger?

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:

  1. Is there a tmp/restart.txt?
  2. If so, is its last-updated timestamp newer than any passenger instance?
  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜