- 
                Notifications
    You must be signed in to change notification settings 
- Fork 124
Closed
Description
JRuby application servers that can do hot redeploys will shut down the old JRuby runtime without exiting the process. In the consumer processor, analytics-ruby creates a thread that won't shut down until the process dies. This thread will cause a stopped JRuby runtime to sit around in memory much longer than necessary (they appear to be weakrefs and as such, should eventually be GC'd).
The simple fix is to flag the thread in an at_exit handler. I did this for another project:
The additional trick here will be to stop the consumer queue from blocking.
Metadata
Metadata
Assignees
Labels
No labels