forem.dev Community

loading...

Discussion on: Sidekiq Memory Issues?

Collapse
joshpuetz profile image
Josh Puetz

Hi Elliott!

We definitely see high memory usage with Sidekiq on production Forems. One thing to consider is what KIND of Heroku dyno's you're throwing at it: different dynos have different memory amounts.

One other thing to look at is how much swap your dyno's are using: having a high level of swap over time means you're definitely maxing our your memory usage and should add more capacity in terms of more dynos or high capacity dynos.

Collapse
bighitbiker3 profile image
Elliott McNary Author • Edited

Interesting I'll look more in to the memory swapping and see!

I was just throwing standard dynos at it and got it up to 2GBs ram and then we'd blown past my monthly budget for this little experiment so I started looking into other solutions.

While I'm sure the performance line of dynos would have been plenty they are just out of the budget for right now

Collapse
joshpuetz profile image
Josh Puetz • Edited

You bring up a good point: we don't really have any published minimum and recommended server specs for running a forem instance. I've added an issue to add such documentation here: github.com/forem/forem/issues/12386

Thread Thread
bighitbiker3 profile image
Elliott McNary Author

Awesome thank you! Let me know if there's anything I can do to help