Unicorn Eating Memory

后端 未结 5 1714
执念已碎
执念已碎 2021-02-08 00:11

I have a m1.small instance in amazon with 8GB hard disk space on which my rails application runs. It runs smoothly for 2 weeks and after that it crashes saying the memory is ful

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-08 00:29

    You can set up god to watch your unicorn workers and kill them if they eat too much memory. Unicorn master process will then fork another worker to replace this one. Problem worked around. :-)

提交回复
热议问题