httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Sutherland <ja...@cam.ac.uk>
Subject Re: cvs commit: httpd-2.0/server/mpm/threaded threaded.c
Date Fri, 04 May 2001 05:46:37 GMT
On Thu, 3 May 2001, Paul J. Reder wrote:

> Let's see,
>
> assuming an average estimate of 10 rps per thread we get:
>
>    2147483648    requests before shutdown
> /          10    rps
> =   214748364.8  total seconds of requests
> /        3600    seconds/hour
> =       59652.32 hours of requests
> /          24    hours per day
> =        2485.51 days
> /         365    days per year
> =           6.8  years.
>
> Seems like a while to me. Do you think we could get a new release
> of Apache out in that time that might encourage them to want to
> restart anyway?

One problem: the specs allow MAX_INT to be defined with a *MUCH* lower
value than this - 32767 or thereabouts? At which point, you could
theoretically be hitting the limit quite frequently...

-- 
Old programmers never die.  They just branch to a new address.
	-- BSD fortune file


Mime
View raw message