You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ics.uci.edu> on 1997/11/01 02:53:37 UTC

Re: night of the dead Apache

Ugh, after all the requests have been handled, the last one trussed is

times(0xEF620030)                               = 285372349
munmap(0xEF530000, 385)                         = 0
sigaction(SIGUSR1, 0xEFFFEB80, 0xEFFFEC80)      = 0
read(3, " G E T   / I c o n s / N".., 4096)     = 281
sigaction(SIGUSR1, 0xEFFFCA90, 0xEFFFCB90)      = 0
time()                                          = 878348330
stat("/home/www/documentroot/Icons/N2Hplus.xbm", 0x00098328) = 0
lstat("/home/www/documentroot/Icons/N2Hplus.xbm", 0xEFFFEAA0) = 0
open("/home/www/documentroot/Icons/N2Hplus.xbm", O_RDONLY) = 5
mmap(0x00000000, 591, PROT_READ, MAP_PRIVATE, 5, 0) = 0xEF530000
lseek(5, 0, SEEK_CUR)                           = 0
close(5)                                        = 0
poll(0xEFFFCB60, 1, 0)                          = 0
write(3, " H T T P / 1 . 1   2 0 0".., 877)     = 877
time()                                          = 878348330
write(17, " 1 2 8 . 1 9 5 . 2 1 . 1".., 90)     = 90
times(0xEF620030)                               = 285372361
munmap(0xEF530000, 591)                         = 0
sigaction(SIGUSR1, 0xEFFFEB80, 0xEFFFEC80)      = 0
read(3, 0x0008E960, 4096)       (sleeping...)

In other words, it is blocking on the safe read that is supposed to
be checking for the next request.  But there is no next request and
the timeouts are not working.

....Roy

Re: night of the dead Apache

Posted by Dean Gaudet <dg...@arctic.org>.
Can you isolate out my new timeout code by editing httpd.h and commenting
out the OPTIMIZE_TIMEOUTS definition at the bottom?

Dean

On Fri, 31 Oct 1997, Roy T. Fielding wrote:

> Ugh, after all the requests have been handled, the last one trussed is
> 
> times(0xEF620030)                               = 285372349
> munmap(0xEF530000, 385)                         = 0
> sigaction(SIGUSR1, 0xEFFFEB80, 0xEFFFEC80)      = 0
> read(3, " G E T   / I c o n s / N".., 4096)     = 281
> sigaction(SIGUSR1, 0xEFFFCA90, 0xEFFFCB90)      = 0
> time()                                          = 878348330
> stat("/home/www/documentroot/Icons/N2Hplus.xbm", 0x00098328) = 0
> lstat("/home/www/documentroot/Icons/N2Hplus.xbm", 0xEFFFEAA0) = 0
> open("/home/www/documentroot/Icons/N2Hplus.xbm", O_RDONLY) = 5
> mmap(0x00000000, 591, PROT_READ, MAP_PRIVATE, 5, 0) = 0xEF530000
> lseek(5, 0, SEEK_CUR)                           = 0
> close(5)                                        = 0
> poll(0xEFFFCB60, 1, 0)                          = 0
> write(3, " H T T P / 1 . 1   2 0 0".., 877)     = 877
> time()                                          = 878348330
> write(17, " 1 2 8 . 1 9 5 . 2 1 . 1".., 90)     = 90
> times(0xEF620030)                               = 285372361
> munmap(0xEF530000, 591)                         = 0
> sigaction(SIGUSR1, 0xEFFFEB80, 0xEFFFEC80)      = 0
> read(3, 0x0008E960, 4096)       (sleeping...)
> 
> In other words, it is blocking on the safe read that is supposed to
> be checking for the next request.  But there is no next request and
> the timeouts are not working.
> 
> ....Roy
>