Dear List
i am trying webpolygraph but i am getting the following error
[root@RXcache2 include]# /usr/local/polygraph/bin/polysrv --config /usr/local/polygraph/workloads/polymix-4.pg --verb_lvl 10 --log /tmp/ctl.log
<some output removed >
000.38| group-id: 093e7cea.560f59fe:00000002 pid: 23038
000.38| current time: 1067435852.699032 or Wed, 29 Oct 2003 13:57:32 GMT
000.38| fyi: PGL configuration stored (5931bytes)
NetIface.cc:42: (s19) No such device
000.38| fyi: lo0: deleted 0 old IP aliases
PolyApp.cc:474: (s19) No such device
error: lo0: failed to create new alias ('lo0::10.101.128.1:80/22')
000.49| got 0 xactions and 0 errors
000.49| shutdown reason: fatal error
i checking out simple.pg it works fine how can get this working plz guide me my polymix-4.pg attached below
Regards
Talha
/*
* PolyMix-4 workload for testing HTTP forward caching proxies
*
*/
#include "benches.pg"
/* the settings bellow assume bench ID 101
* any ID from 100 to 199 can be used */
Bench TheBench = benchPolyMix4;
TheBench = {
client_side = {
addr_space = [ 'lo0::10.101.0-123.1-250/22' ];
hosts = [ '172.16.101.61-62' ]; // replace with IPs of your PC
s
};
server_side = {
addr_space = [ 'lo0::10.101.128-251.1-250:80/22' ];
hosts = [ '172.16.101.191-192' ]; // replace with IPs of your PC
s
};
};
/* You must set all four parameters below.
* All parameters must be set from the proxy point of view.
* Polygraph will calculate the required number of client-server
* pairs and adjust individual pair configuration accordingly. */
/* Set your total peak request rate here. For example: 100/sec.
* Polygraph will use TheBench to figure out which IP aliases to use.
* Polygraph will try to create those aliases. */
TheBench.peak_req_rate = 2700/sec;
/* Set request rate for the cache-filling phase.
* This rate must be between 10% and 100% of peak_req_rate above.
* For example: (50%*TheBench.peak_req_rate) */
rate FillRate = 40%*TheBench.peak_req_rate;
/* Set the total cache size (disk + RAM). For example: 30GB+1GB.
* ProxyCacheSize is used for the cache-filling phase only. */
size ProxyCacheSize = 8GB+512MB;
/* Set the address and port number of your DNS server
* For example: '172.16.101.100:53' */
DnsResolver Resolver;
Resolver.servers = ['10.10.10.10:53'];
// include all the boring details
#include "polymix-4-guts.pg"
This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:27 MST