Limit concurent access per module
Posted on 2003-03-11
Is there a way to specify a limit on the number of concurrent accesses per module or per handler type?
Maybe I'm talking Windows terms (and sorry for that), but I see that when Apache starts it starts 250 worker threads. I assume this means it can serve up to 250 concurrent requests. That's fine. The problem is that I have a module (say mod_mine) that, when runs, requires some resources. I want Apache to make sure no more than 10 threads are used concurrently to handle requests (by mod_mine), sine each thread that runs mod_mine needs a lot of resources (e.g. a DB connection).