]> git.ipfire.org Git - thirdparty/squid.git/commit - configure.in
date: 2003/01/10 17:52:53; author: wessels; state: Exp; lines: +1 -0
authorhno <>
Sat, 18 Jan 2003 09:10:37 +0000 (09:10 +0000)
committerhno <>
Sat, 18 Jan 2003 09:10:37 +0000 (09:10 +0000)
commita4ba1105a7e787cd2bd79649bc613d4a986ad1c6
tree487d2ef9756b33c81f518d358029d8008f73c33c
parent456a354dde6aedd17048b6900f24460639e8c6ad
date: 2003/01/10 17:52:53;  author: wessels;  state: Exp;  lines: +1 -0
added reporting of "Process Data Segment Size via sbrk()" when
sbrk() call exists.  According to the sbrk() man page, calling
sbrk(0) returns the end of the data segment.  By storing the data
segment offset when Squid starts, we can report the size of the
data segment at any time.  This might be a better metric than
getrusage()'s MAX RSS, which, in my experience, is often less than
the process size reported by 'ps' (presumably because some of the
processes memory is swapped to disk).  However, initial tests show that
the sbrk() trick reports a value slightly smaller than reported by
'ps'.

date: 2003/01/17 05:21:49;  author: wessels;  state: Exp;  lines: +1 -1
failure_ratio is a ratio, not a percentage.  Removed %% from printf.
configure.in
include/autoconf.h.in
src/globals.h
src/main.cc
src/stat.cc