Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Oct 1999 21:13:57 -0700 (PDT)
From:      crandall@matchlogic.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/14173: bind(2) sets errno to undocumented EAGAIN
Message-ID:  <19991007041357.4633F14DA9@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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