Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 1997 01:32:43 -0700 (PDT)
From:      "Andrey A. Chernov" <ache@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   cvs commit: src/lib/libc/gen sleep.c
Message-ID:  <199705170832.BAA04063@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        1997/05/17 01:32:43 PDT

  Modified files:
    lib/libc/gen         sleep.c 
  Log:
  Temporarily restore old (itimer) sleep variant because new one
  (nanosleep) breaks Apache httpd badly: his childs died quickly after
  number of requests (SIGPIPE). To reproduce this bug start
  gdb /usr/local/sbin/httpd
  run -X
  
  and make some bunch of concurent requests (load the server pages
  from 3 different places f.e.)
  After short time httpd dies via SIGPIPE. It never dies with old sleep.c
  
  In real life it looks like lots of broken images on the pages or missing
  pages. Lynx says about Network read error, etc.
  It seems something wrong in nanosleep signal handling.
  
  Revision  Changes    Path
  1.6       +69 -8     src/lib/libc/gen/sleep.c



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