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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

No matter what I do to my EC2 instance, any size and with apache/ubuntu.

I can't get it to go over 1400 concurrent connections.

Have set the prefork settings high, set ulimit to 1000000

Is this something to do with AWS?

share|improve this question
Is it possible that the kernel is limiting the number of connections? What do you need more than 1400 connections for anyway? – Robbie Mckennie Feb 22 '14 at 5:11
What happens when you try to get more connections? – David Schwartz Feb 22 '14 at 6:40
By default 1024 connection are aloowed in /etc/security/limits.conf , it can be increased upto 65535 connections max.. – Abhishek Anand Amralkar Feb 22 '14 at 9:07
Check apache error log /var/log/apache2/error.log for specific error (ex: MaxClients maxed out) – LinuxDevOps Mar 21 '14 at 14:02

Your Answer


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

Browse other questions tagged or ask your own question.