Servers ready to be hit: 0

"Ben Meader" <[email protected]>
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <OF791D935C.8FEACA1A-ON86256F88.00560222-86256F88.0056DEF1@hewitt.com>
I'm having this problem with both Polymix-1 and Polymix-4... even the 
simple.pg is giving me this problem.

I've tried it with and without the proxy. I know that traffic is being 
passed through as I can see the hits on the proxy. 

I've tried reducing the duration of the test to 1min (ExpDur) so that I 
could actually finish a phase to see what the logs will tell me. However, 
I don't think it is ever finishing that phase because it isn't hitting the 
server.  I've tried it with three different scenarios:

1. One OpenBSD machine with the client and server on the same machine.
2. One Windows XP machine with client and server on the same machine.
3. XP Client and BSD server.

Same result every time.


000.77| fyi: servers visible: 1 requests sent: 2309 servers 
ready-to-be-hit: 0 (  0.00%)

I just want to get this simple part working so that I can really start to 
use the product... but I'm at a standstill now...  Here is a paste of my 
polymix-1 script: The only thing I changed was the IP addr of the srv and 
rbt... which is the same server. I also changed ExpDur. Is there something 
else I should be tweaking?  All it tells me is 'i-wait' on each line as it 
passes by. I know it is sending and receiving traffic, but it will never 
finish a phase...

/*
 * PolyMix-1 workload approximated using PGL 
 * (original PolyMix-1 specs were developed prior to PGL)
 *
 */

// Warning: These workload specs have not been verified yet!

#include "contents.pg"
#include "phases.pg"

// there is one workload parameter, namely request rate
rate Req_Rate = 50/sec; // adjust as needed

// experiment duration
time ExpDur = 1min;

// describe PolyMix-1 server
Server S = { 
        kind = "PolyMix-1-srv";          // just a label
        accept_lmt = -1;                 // no limit on number of 
accept(2) calls
        contents = [ cntPolyMix_1 ];     // pmix-1 supports only one kind 
of content
        xact_think = norm(3sec, 1.5sec); // xaction think time
};

// where the simulated servers and robots will be located
// these ips will need adjustments based on your local environment
addr[] srv_ips = ['10.x.x.x:80' ];
addr[] rbt_ips = ['10.x.x.x' ];

// handy constant
int RobotCnt = count(rbt_ips);

// describe PolyMix-1 robot
Robot R = {
        kind = "PolyMix-1-rbt";          // just a label
        origins = srv_ips;
        recurrence = 55% / cntPolyMix_1.cachable;
        public_interest = 0%;
        pop_model = { pop_distr = popUnif(); };
        req_rate = Req_Rate / RobotCnt;  // each robot has smaller 
req_rate
};


/* phases (note that load is kept at constant level) */

Phase phWarm = { 
        name = "warm";
        goal.duration = 10% * ExpDur;
        load_factor_beg = 1;         // load starts high right away
        log_stats = false; 
};

Phase phMeas = { 
        name = "meas";
        goal.duration = ExpDur - phWarm.goal.duration; // the rest of the 
run
};

// build schedule using some well-known phases and phases defined above
schedule(phWait, phWarm, phMeas, phCool);

// assign agents (servers and robots) to their hosts
S.addresses = srv_ips;
R.addresses = rbt_ips;

// commit to using these servers and robots
use(S, R);

Also: Here is the basic polyclt and polysrv commands I ran:

polyclt --config workloads\my-polymix-1.pg --verb_lvl 10 --cfg_dirs 
workloads\include --proxy 10.xx.xx.xx:3128 --log clt.log --dump errs
polysrv --config workloads\my-polymix-1.pg --verb_lvl 10 --cfg_dirs 
workloads\include --log srv.log --dump errs

Those are the windows scripts I ran. I'd prefer to get it working with XP 
as the client and BSD as the server... ANY HELP! I'm sure it has to be 
something simple that I am missing.

Thanks!
Ben


 
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.