[httperf] httperf help required (fwd)
Martin Arlitt
arlitt at granite.hpl.hp.com
Fri Feb 27 11:56:12 PST 2004
Naresh
I think this may fix the problem you are experiencing. if not, please let
me know.
please apply the following patch to httperf and then retry your tests.
the fix is only two lines (three counting the blank line for white
space...) which are added to the gen/wsesslog.c file (please see the diff
output below; the lines to add start with '+'; ++priv->num_calls_destroyed
is already there, so don't add it.) the changed lines should be inserted
around line 312.
Martin
diff -urN httperf-0.8/gen/wsesslog.c httperf/httperf-0.8/gen/wsesslog.c
--- httperf-0.8/gen/wsesslog.c.original Wed Oct 11 16:40:46 2000
+++ httperf-0.8/gen/wsesslog.c Tue Jan 9 09:47:34 2001
@@ -312,6 +312,9 @@
sess = session_get_sess_from_call (call);
priv = SESS_PRIVATE_DATA (sess);
+ if (sess->failed)
+ return;
+
++priv->num_calls_destroyed;
if (priv->num_calls_destroyed >= priv->total_num_reqs)
More information about the httperf
mailing list