Forum OpenACS Development: Re: Strange problem with util_memoize flush
Do you have
MaxOpen set for
pool2? If so, remove your settings.
Concerning your questions:
ns_cache is completely agnostic about the database. The worker threads (e.g. connection threads) require db-handles (references to db-connections) via gethandle, they require in most cases a pool1 connection and sometimes a pool2 connection (for subqueries). The handles are released either explicitly (happens seldomly) or automatically when a request is done and the worker thread is done.