Pymongo inside passenger_wsgi on shared server?

Hi,
I’m planning on using pymongo inside passenger_wsgi on my shared server.
I see pymongo (old version) is already installed.
Is this OK? Do I need to do anything special to “cache” the connection?

I have seen: http://api.mongodb.org/python/current/examples/mod_wsgi.html#pymongo-and-mod-wsgi - but I don’t think I can change those settings on a shared server?

Any info is welcome! Thanks :slight_smile:

I think you need to update it first. Old version have bugs on it I think like the thread below.

https://discussion.dreamhost.com/thread-130264.html