From owner-freebsd-questions Thu Oct 4 17:43:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id AC04337B403 for ; Thu, 4 Oct 2001 17:43:20 -0700 (PDT) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.6/8.11.6) with SMTP id f950hBf27175; Thu, 4 Oct 2001 20:43:11 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: eross_a@chasma.net ("Andrew Eross") Cc: questions@freebsd.org Subject: Re: buffer space Date: Thu, 04 Oct 2001 20:43:11 -0400 Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2 Oct 2001 17:15:33 +0000 (UTC), in = sentex.lists.freebsd.questions you wrote: >Anyone have a clue what causes this ... I noticed this occurring when I = used a load test on my apache webserver to see how many hits/sec it could= potentially handle ... after a little while the test would start failing= with bad byte count errors and I noticed that if I went on the web = server itself and tried to make a tcp connection to anywhere I got an = error like this: > >ftp: socket: No buffer space available > >Is there only a limited number of tcp connections that can be made from = a box at any given time or what? Yes, there is always a limit, both for the OS and the user. pstat -T will give you some info on the system, limit -h (if your running a c shell) will tell you for the user. You can increase total system files either via sysctl or by increasing maxusers in your kernel config. ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message