Slightly off topics, when developing my own projects, Sidekiq with Sidetiq consumses memory too much (heap increase 100mb per hour). Same configuration, ruby 2.3.1, rails 4.x, latest sidekiq. Seems like this is the problem with Ruby 2.3.1.
Some people recommend me to just switch to jRuby because of JVM does GC better, but i don’t really know.
I am also getting this on my machine with 64gb of ram. Running 8 sidekiqs, and 16gb allocated to shared db.
Machine also runs apache2 serving up a wordpress site.
I am also getting periodic slow downs on the forums, dropping them to a crawl (a minute or so to load a thread). I have a feeling it is the daily backup. But havn’t really pinned it down yet.
I have reduced the workers to 4 for the time being. Seams I mistook my hardware configuration, and thought the server had dual 4 Core Xeons, but it only has one. We will see how it goes.
Edit: Seems it is an apache2 ProxyPass issue. Skipping the proxy makes it nice and fast.
I’m running 1.8.0 Beta6 and seeing this in my logs. Already did a rebuild of the app since I changed the domain name of the forum on Saturday and everything appears (front end) to be running fine. I have ample memory 22GB available.
Sidekiq is consuming too much memory (using: 540.01M) for 'photographic.community', restarting
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.7/lib/logster/logger.rb:93:in `add_with_opts'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.7/lib/logster/logger.rb:50:in `add'
/usr/local/lib/ruby/2.3.0/logger.rb:498:in `warn'
config/unicorn.conf.rb:123:in `check_sidekiq_heartbeat'
config/unicorn.conf.rb:146:in `master_sleep'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.2.0/lib/unicorn/http_server.rb:284:in `join'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.2.0/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.3.0/bin/unicorn:22:in `load'
/var/www/discourse/vendor/bundle/ruby/2.3.0/bin/unicorn:22:in `<main>'
That’s the problem @codinghorror it’s brand new and not really high volume yet. Any suggestions on changing any of my app.yml settings as you can see I have 22Gb available in total allocated to the box.
Nope it was a clean install. Only two small sites running on Nginx, neither of which are public only git wordpress sites I use for versioning control while developing. Other than that Discourse can have the entire server to itself.
Yep. Seeing the exact same thing too. I have three identical Discourse servers. They are dedicated (no other application is served off of them, and have never received any imports from another Forum). Right now, the logs are only writing about the issue on one of them (this one, however, does get the most hits, and posts though). The write to the log, however, followed a complete degredation of all services (app stopped responding, discourse site stopped drawing, and I could not ssh into the box). Had to cycle power to get back into it.
I’ve applied the band-aid of increasing memory on this one server from 4Gb to 8GB, and have not seen recurrence in the last 24 hours.