[httperf] using httperf with multiple clients.
Thu, 28 Mar 2002 09:53:57 -0800 (PST)
I think the problem may be with wsesslog rather than with the multiple
client feature (this is just a hunch, so please let me know if I am
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.
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)
if (priv->num_calls_destroyed >= priv->total_num_reqs)
On Thu, 28 Mar 2002, yanxiao Chen wrote:
> Hi, folks,
> I have used httperf for a while under linux. Recently I want to use it with
> multiple clients. I am not able to make it. I am not sure whether it is due to
> some bugs in the httperf or I do not use it correctly. Makebe you guys give me
> a help.
> the request is:
> httperf --hog --client=0/2 --server=XXX --port=XXX --http-version=1.0 --
> period=e0.073 --wsesslog=1000,0,request.txt
> the error message is:
> httperf: /mydirectory/httperf-0.8/object.c:160 object_dec_ref: Assertion 'Obj-
> >ref->count' failed
> It happens for both machines. If I use only machine and do not specify the
> client=XX setting. It works fine.
> httperf mailing list