We were using a mongo connection *PER* API class when in fact you only need one per application.

Each:

    pymongo.Connection()

is a pointer to a connection pool and by using one per API class we were creating too many pools to the DB. Switching to on pool and Connection solved the problem.

Mike
--
Mike McCune
mmccune AT redhat.com
Red Hat Engineering       | Portland, OR
Systems Management        | 650.254.4248

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to