[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache::DBI limit on connection pool


Slinky wrote:

Want I'd like to know is, is there a way to limit the size of the pool? I've
skimmed the Apache::DBI source, and I mean "skimmed" but nothing obvious hit
me... It's not really a problem with prod because SESSIONS_PER_USER is a
decent figure, but it would be mightily useful for dev.


Assuming one connection per process, I'd just set my MaxClients to fewer than the number of SESSIONS_PER_USER. Not exactly an Apache::DBI solution, but if you have control over your dev environment's httpd.conf it might could work.

-- Douglas Hunter


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.