I am running into an issue on a padrino API utilizing Sequel 5.19.0. The last year and a half we have noticed the memory in our ECS services going up and up to above 100%. We have been mitigating this with simply recycling the containers. But RDS shows that each time this is happening, the DB connections are going up as well and it is causing a lot of issues as we are scaling.
In the application, the database is connected via: ``` connection_pool_size = ENV['SEQUEL_POOL_SIZE'] || 4 Sequel::Model.db = Sequel.connect(config, :max_connections => connection_pool_size, :loggers => [logger], :after_connect=>proc{|c| c. execute("SET application_name TO '#{svc_name}-#{SecureRandom.uuid}'")}) ``` Before it was ``` Sequel.connect(config, :loggers => [logger]) ``` I'm not sure that change is what causing the behavior but the timeline would be "roughly" around then. Its hard to say for sure when this actually began. Is there anything that stands out in the above that would lead to a connections exceeding the pool size and/or causing the memory leak? Thanks! -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/02b7d704-e226-4611-9feb-1a68e373cce6n%40googlegroups.com.