From owner-freebsd-doc Wed Oct 6 21:20:49 1999 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E6B6A14CC9 for ; Wed, 6 Oct 1999 21:20:47 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA95698; Wed, 6 Oct 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 4633F14DA9; Wed, 6 Oct 1999 21:13:57 -0700 (PDT) Message-Id: <19991007041357.4633F14DA9@hub.freebsd.org> Date: Wed, 6 Oct 1999 21:13:57 -0700 (PDT) From: crandall@matchlogic.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: docs/14173: bind(2) sets errno to undocumented EAGAIN Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14173 >Category: docs >Synopsis: bind(2) sets errno to undocumented EAGAIN >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 6 21:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Charles Randall >Release: 3.2 >Organization: MatchLogic, Inc >Environment: FreeBSD bongo.is.matchlogic.com 3.2-RELEASE FreeBSD 3.2-RELEASE #1: Tue Oct 5 21:38:47 MDT 1999 crandall@bongo.is.matchlogic.com:/usr/src/sys/compile/CUSTOM i386 >Description: Under high load, bind() fails with a -1 and sets errno to EAGAIN. This is not documented in the bind(2) manual page under the ERRORS section. Using ktrace/kdump, 522 http_load CALL socket(0x2,0x1,0x6) 522 http_load RET socket 4 522 http_load CALL bind(0x4,0x805f404,0x10) 522 http_load RET bind -1 errno 35 Resource temporarily unavailable >How-To-Repeat: Use http_load from http://www.acme.com/software/http_load to stress the system by testing a local HTTP server (run http_load and the HTTP server on the same machine). >Fix: Add EAGAIN to the ERRORS section of the bind(2) manual page with a description of which resources are exhausted. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message