Closed radamanthus closed 6 years ago
This fixes #345
Ensure that dj worker processes do not become orphans
Low
DelayedJob custom chef recipe
See QA instructions
Test on configuration A_dj
Configuration A rails_activejob_example (delayed_job branch) App Unicorn Ruby 2.3 RubyGems 2.6.4 Postgres 9.4 US East Virginia Solo
Boot the test environment under the QA stack
Enable the delayed_job recipe.
Modify the recipe to install DelayedJob on the solo instance
Modify the recipe and set a very low worker memory limit (e.g. low enough to always trigger the memory limit even with zero workload, e.g. 10MB).
Upload custom cookbooks to the environment
Run chef
Observe the delayed_job processes by running ps -ef | grep elay
Make sure:
Tested the pull request against provided testing procedure. Everything works like expected. LGTM from my side.
Backport changes made in V5 to improve worker termination