Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4108

Mongoid 5 & Sidekiq => many open connections

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      I gave mongoid 5 a try in my app.

      The rails side is working without problems, but the sidekiq process is constantly opening connections.
      Only if I restart the process, the connections get closed.

      I get the value from mongodb serverStatus.connections.current metric.

      I use the following client settings in mongoid.yml:

      max_pool_size: 100
      min_pool_size: 30
      

      As I only upgraded the mongoid gem, I assume the problem is not depending on sidekiq.

            Assignee:
            Unassigned Unassigned
            Reporter:
            256dpi 256dpi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: