Comments (7)
Without seeing some code it's hard to tell, two things:
-
Please post this to the google group: http://groups.google.com/group/norm-mongodb?lnk=srg
-
Are you disposing "Mongo" after you're done with it? Each instance of this class has connection affinity, and will not release its pooled connection until it is disposed. It would be useful to see how you're using this class in your code.
from norm.
Sorry for my ignorance. Will use google group in advance.
It looks like life cycle management is wrong and Disposed isn't called.
Thanks.
from norm.
Sorry, does that mean you're not disposing Mongo? or that you think there's a bug in norm? can you post some of the code you're using to access Mongo via NoRM?
from norm.
Yeah, my code was wrong. NoRM looks good.
from norm.
How did you resolve this, I have the same issue, I'm using Ninject so the connection should be close by ninject? Any help please!
from norm.
@vgirard you should post your Ninject code to the Google Group and I am sure someone can help you out.
from norm.
@vgirard I just ensured correct life cycle. MongoSession has to be released at the end of http request or something. Played around structuremap a bit and it worked.
from norm.
Related Issues (20)
- NORM cannot handle lambda expressions where the type is an interface type
- The public MapReduceResult<T> class isn't flexible enough to handle all MapReduce operations
- BSON serializer too slow
- Does norm support complex group by?
- Does norm not support "Contains" and o => true expression
- Incorrect exception whe using non-static Regex.IsMatch
- Cannon insert expando object HOT 2
- FindAndModify with fields / upsert arguments HOT 2
- Projection doesnt work with concrete types HOT 1
- InvalidCastException when IEnumerable<T> but not IList
- endless busy loop when primary mongod are going down.
- the propertyname dosen't convert to the alias in class ModifierExpression class.
- Can't upsert with FindAndModify HOT 1
- Collection operations fail for entities created via reflection HOT 2
- Norm with ReplicaSet HOT 1
- slaveOk=true
- When Property is Generic Object, linq to mongo crashes HOT 1
- Can't filter on DateTime?
- Spatial Query HOT 1
- Network error when reconnecting to database.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from norm.