Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled reboot for Sidekiq? #31

Open
scrappydog opened this issue Jan 18, 2023 · 2 comments
Open

Scheduled reboot for Sidekiq? #31

scrappydog opened this issue Jan 18, 2023 · 2 comments

Comments

@scrappydog
Copy link

image

Approximately every two days my Sidekig service crashes and restarts (as shown by this memory utilization graph). It recovers quickly, but it seems like having a scheduled daily restart would be a little more graceful.... thoughts?

@michaelwittig
Copy link
Contributor

What's the memory config of the sidekiq container in your task definition?

@compuguy
Copy link

compuguy commented Jul 3, 2023

I suspect your issue here @scrappydog is your single Sidekiq is getting into a OOM (out of memory) condition. I had the same issue when I deployed istoleyour.pw. If you're using the stock config with Sidekiq having only 1 gig of memory, you may need to either increase the instance size, or split out the various Sidekiq queues to separate containers. More info on how this works, and how you can split things out can be found in these articles:

You can also take a look at my fork & branch for istoleyour.pw: https://github.com/compuguy/mastodon-on-aws/blob/istoleyourpw-deploy/mastodon.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants