[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Web Traffic Simulation
Read:
http://www-mash.cs.berkeley.edu/dist/archive/ns-users/0001/0210.html
http://www-mash.cs.berkeley.edu/dist/archive/ns-users/9912/0068.html
It'll probably fix itself if you upgrade your ns.
L.
<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
On Wed, 23 Feb 2000, Felix Hernandez Campos wrote:
> Date: Wed, 23 Feb 2000 20:09:44 -0500
> From: Felix Hernandez Campos <[email protected]>
> To: NS-USERS <[email protected]>
> Subject: Web Traffic Simulation
>
> I'd tried to run ns/tcl/ex/web-traffic.tcl and I got a strange result. The
> simulation aborts well before its termination time, returning the following
> message:
>
> done pages 10 != all pages 9
>
> The problem seems to be in ns/webcache/webtraf.cc, where the destructor is:
>
> // XXX Must delete this after all pages are done!!
> WebTrafSession::~WebTrafSession()
> {
> if (donePage_ != curPage_) {
> fprintf(stderr, "done pages %d != all pages %d\n",
> donePage_, curPage_);
> abort();
> }
> ...
> }
>
> I don't understand webtraff.cc well enough to tell whether the condition in
> the if statement is wrong or something else is happening. Could someone tell
> me how to solve this problem? Thanks for your help.
>
> --Felix Hernandez