Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-13-2007, 04:54 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Apache won't accept more than 2 connections / IP


If I begin downloading two files from an Apache 1.3 server to a single client, Apache will not accept additional connections from the client. I can, however, create three or more connections from the same client via SSH to that machine, or connect via SSH while Apache is downloading the files. I can also create additional Apache connections from other clients -- but it won't accept more than two connections per client.

Apache is running on Debian Sarge, 3.1 i386

This is the top of httpd.conf:
ServerType standalone
ServerRoot /etc/apache
LockFile /var/lock/apache.lock
PidFile /var/run/
ScoreBoardFile /var/run/apache.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 100
Include /etc/apache/modules.conf
<IfModule mod_status.c>
  ExtendedStatus On
Port 80
User www-data
Group www-data
I've scanned the doc's and the config file but can't find anything.

Old 02-14-2007, 10:46 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 229Reputation: 229Reputation: 229
This might actually be a setting in your clients browser, not your apache server.
Old 02-14-2007, 04:06 PM   #3
LQ Newbie
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for your response.

The browser can establish multiple connections from another server on the internet, so I don't believe it's the browser. Plus I've tried two different browsers (IE and Mozilla) with similar results.

Additional info:
- iptables is not used
- netstat shows apache as listening when the connections are not accepted
- it was tested on an simple LAN with a hub between the server and clients, no router/firewall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache won't accept or reject incoming internet connections but accepts on local lan zenchess Linux - Networking 3 06-10-2006 10:06 AM
proftpd: cannot accept connections lievendp Linux - Software 1 01-24-2006 09:41 AM
x11 won't accept connections jbeiter Red Hat 1 12-15-2005 03:41 AM
Proftpd won't accept connections cL4YmAN Linux - Newbie 0 06-09-2004 04:33 PM
SSH doesn't accept connections basse- Linux - Software 1 05-23-2004 08:33 AM

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration