Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Does the webserver or is it the database that limits the number of concurrent connections?

share|improve this question
Not forgetting the underlying operating system may impose a limit too. – Ben Pilbrow Nov 22 '10 at 14:56

1 Answer 1

"All of the above."

Without more information about your configuration it's very hard to answer. Typically. both webservers and databases have configuration options that either explicitly or implicitly limit the number of concurrent connections. And as @Ben points out, it's possible to do this at the operating system level, too.

If this is more than an academic question (that is, if you're running into a specific problem to which you're looking for a solution), give us more information and we'll see what we can do.

share|improve this answer
Actually, this is just an academic question. I've read a lot about concurrency on various blogs and a few research papers, but they mainly talk about high-end stuff which I have trouble to understand. That's why I need to understand some basics first and hence, the question above. – Nov 22 '10 at 15:07
Some specific examples: For Apache, see For MySQL, see…. – larsks Nov 22 '10 at 15:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.