From new-httpd-return-14288-apmail-new-httpd-archive=apache.org@apache.org Sat Mar 03 20:27:54 2001
Return-Path:
Delivered-To: apmail-new-httpd-archive@apache.org
Received: (qmail 99058 invoked by uid 500); 3 Mar 2001 20:27:52 -0000
Mailing-List: contact new-httpd-help@apache.org; run by ezmlm
Precedence: bulk
Reply-To: new-httpd@apache.org
list-help:
list-unsubscribe:
list-post:
Delivered-To: mailing list new-httpd@apache.org
Received: (qmail 98980 invoked from network); 3 Mar 2001 20:27:47 -0000
Date: Sat, 3 Mar 2001 15:27:26 -0500 (EST)
From: Cliff Woolley
X-Sender: root@deepthought.virginia.edu
To: new-httpd@apache.org
Subject: scoreboard last_rtime/last_used not updated
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
In the scoreboard records, there are two fields which aren't being updated
at all. (The are last_rtime in the parent record and last_used in the
server record... the former is supposed to be used when OPTIMIZE_TIMEOUTS
is defined, the latter when it's not.)
In fact, a recursive grep reveals that they're never even referenced
except for their definition in scoreboard.h and in the ExtendedStatus
section of mod_status.c. They are both time_t's (should be changed to
apr_time_t's, I'd imagine). The end result is that the ExtendedStatus
gives a completely bogus SS (seconds since last request) field. (It's
bogus in another way, in that it's using difftime() on an apr_time_t
value, but that's easy to fix.)
I'll work on this, but I need a little guidance on where these two fields
should be updated. In the individual MPM's? In scoreboard.c?
--Cliff