Comments (2)
https://github.com/schneems/puma_worker_killer#turn-on-rolling-restarts---heroku-mode
from puma_worker_killer.
here's the test app (using the same gems as production app): https://github.com/kevinhq/jemalloc-test-heroku
I can run it with 15 workers (min thread 8, max threads 32)
PumaWorkerKiller: Consuming 2221.50390625 mb with master and 15 workers.
That's a report from PumaWorkerKilller. It consumes more than 2 gb memory, but no R14 error (run it on free dyno)
At the same time, here's the report from Heroku's metric:
source=web.1 dyno=heroku.210462585.db88a779-6118-4b99-9867-c362c3c09f7b
sample#memory_total=449.35MB
sample#memory_rss=449.34MB
sample#memory_cache=0.01MB
sample#memory_swap=0.00MB
sample#memory_pgpgin=122112pages
sample#memory_pgpgout=7078pages
sample#memory_quota=512.00MB
memory_total=449.35MB vs 2221 mb from PumaWorkerKiller.
from puma_worker_killer.
Related Issues (20)
- Puma Worker Killer の導入 HOT 1
- Unable to get it working with 3.12 / Rails 5.2 HOT 4
- Cannot kill workers HOT 4
- Need more clarity on some of the configurations HOT 1
- Determine better ram default HOT 5
- New puma v4.0.0 available
- is it proper to call ActiveRecord::Base.establish_connection when on_worker_boot HOT 2
- [ruby] <defunct> HOT 3
- No PumaWorkerKiller logs when upgrading to Puma 4.1.0 HOT 1
- warning: conflicting chdir during another chdir block HOT 3
- Allow pre_term with enable_rolling_restart HOT 1
- Web worker not getting killed on Heroku HOT 3
- Using RuboCop? HOT 4
- No restart of pumas with your instructions. HOT 1
- Not seeing 'PumaWorkerKiller: Consuming XXX mb' stdout logging after SIGUSR1 signal to master pid HOT 4
- puma 5, rails s error HOT 1
- Restarts at a lower limit after enabling jemalloc HOT 1
- memory calculations are "not useful" HOT 2
- Please add support for rack >= 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puma_worker_killer.