Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 16:48:27 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        Tom <tom@uniserve.com>
Cc:        Noor Dawod <noor@comrax.com>, FreeBSD-STABLE Mailing List <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Problems with multiple connections
Message-ID:  <f04330104b730aad8fb19@[10.0.1.100]>
In-Reply-To: <Pine.BSF.4.10.10105220910010.88768-100000@athena.uniserve.ca>
References:  <Pine.BSF.4.10.10105220910010.88768-100000@athena.uniserve.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Have you turned off delayed ack processing?  that will reduce the 
mbuf utilization.

/sbin/sysctl -w net.inet.tcp.delayed_ack=0

You possibly should also use:

/sbin/sysctl -w net.inet.ip.portrange.last=30000

At 9:12 -0700 5/22/01, Tom wrote:
>On Tue, 22 May 2001, Noor Dawod wrote:
>
>>  Hi,
>>
>>  I hope this list can help me. Our company bought a brand new P-III
>>  933Mhz 1GB server few months ago for our Web and Mail services. We run
>>  FreeBSD 4.2-STABLE (Jan 17 2001). The Web server is Apache 1.3.19 with
>>  PHP 4.0.4pl1.
>...
>>  Apache is configured to run a maximum of 15 clients concurrently, and
>>  each of them can handle up to 200 connections. That's a 3000 connections
>>  limit.
>
>   pstat -T will tell you maximum and currently used counts.
>
>   But you say you are using Apache 1.3.19, but I understand Apache 1.3.19
>to be the usual only client per process model.  Apache 2.0 will support
>multiple threads per client.  So you should include MaxClients to
>something like 200 or so.
>
>Tom
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-stable" in the body of the message

-- 
-- Doug

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f04330104b730aad8fb19>