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

Leaking connections since update to 3 version

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.14
    • Affects Version/s: None
    • Component/s: None
    • None

      Hi, suffering from this since the upgrade.

      Unable to find source-code formatter for language: `. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      > db.serverStatus().connections
      { "current" : 2, "available" : 817 }
      

      `

      Unable to find source-code formatter for language: `ruby. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      30.times { Thread.new { MongoidModel.count } }
      

      `

      Unable to find source-code formatter for language: `. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      > db.serverStatus().connections
      { "current" : 31, "available" : 788 }
      

      `

      Those connections aren't released, so mongoid is not a thread safe now.

      http://oi45.tinypic.com/300b42e.jpg

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexs Alexander S.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: