# Backups mislukken meerdere keren om te uploaden naar S3 - werkt uiteindelijk

**URL:** https://meta.discourse.org/t/backups-fail-to-upload-to-s3-several-times-works-eventually/366874
**Category:** Support
**Tags:** backups, s3
**Created:** [20 mei 2025 om 16:26 UTC](https://meta.discourse.org/t/backups-fail-to-upload-to-s3-several-times-works-eventually/366874 "2025-05-20T16:26:08Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [22 mei 2025 om 22:25 UTC](https://meta.discourse.org/t/backups-fail-to-upload-to-s3-several-times-works-eventually/366874/4 "2025-05-22T22:25:27Z")

</div>

I do have this in /logs. This particular warning did not coincide with the backup- I’ll check for that in the morning (backups are done at night). But I didn’t realize Discourse its own memory check- I thought you were referring to the OOM killer. Can I increase the allowed memory size for Sidekiq?

> Message
> 
> Sidekiq is consuming too much memory (using: 547.87M) for ‘ip-172-26-9-xxx-app’, restarting
> 
> Backtrace
> 
> /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active\_support/broadcast\_logger.rb:130:in `block in warn' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `block in dispatch’  
> /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active\_support/broadcast\_logger.rb:231:in `each' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/broadcast_logger.rb:231:in `dispatch’  
> /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active\_support/broadcast\_logger.rb:130:in `warn' /var/www/discourse/lib/demon/sidekiq.rb:59:in `block in rss\_memory\_check’  
> /var/www/discourse/lib/demon/sidekiq.rb:53:in `each' /var/www/discourse/lib/demon/sidekiq.rb:53:in `rss\_memory\_check’  
> config/unicorn.conf.rb:132:in `block (2 levels) in reload’

EDIT: I see this:

> [@Sidekiq is consuming too much memory, restarting](https://meta.discourse.org/t/sidekiq-is-consuming-too-much-memory-restarting/48395/38):
>
> Also, if your server has enough total RAM, you can increase the memory allocation for Sidekiq. Place this in the env: section of app.yml: UNICORN\_SIDEKIQ\_MAX\_RSS: 1000 The default maximum is, I believe, 500mb.

---

_[View the full topic](https://meta.discourse.org/t/backups-fail-to-upload-to-s3-several-times-works-eventually/366874)._
