Unicorn Eating Memory

后端 未结 5 1732
执念已碎
执念已碎 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条回答
  •  庸人自扰
    2021-02-08 00:19

    Try removing newrelic for your app if you are using newrelic. Newrelic rpm gem itself leaking the memory. I had the same issue and I stratched my head for almost 10day to figure out the issue.

    Hope that help you.

    I contact newrelic support team and below is their reply.

    Thanks for contacting support. I am deeply sorry for the frustrating experience you have had. As a performance monitoring tool, our intention is "first do no harm", and we take these kind of issues very seriously.

    We recently identified the cause of this issue and have released a patch to resolve it. (see https://newrelic.com/docs/releases/ruby). We hope you'll consider resuming monitoring with New Relic with this fix. If you are interested in doing so, make sure you are using at least v3.6.8.168 from now on.

    Please let us know if you have any addition questions or concerns. We're eager to address them.

    Even if I tried update newrelic gem but it still leaking the memory. Finally I have to remove the rewrelic although it is a great tool but we can not use it at such cost(memory leak).

    Hope that help you.

提交回复
热议问题