Problem running Polygraph-2.5.4 for http proxy with ICP feature on.

From: Rohil Muktibodh (rohil@dnrc.bell-labs.com)
Date: Fri Jan 26 2001 - 14:51:54 MST


Hi All,

Could someone help ??? Am trying to run Polygraph-2.5.4 against a http
proxy with ICP ( Internet Cache Protocol ) feature on.

The workload file is used "simple.pg" with three additional
parameters in Robot ( viz. icp_port 3130, peer_icp XX.XX.XX.XX,
peer_http XX.XX.XX.XX ).

http proxy is listening on UDP Port 3130 for ICP.

polygraph dumps core after running polyclt.

Am i using the polygraph in right way ??

TIA
-Rohil

***************************************gdb polyclt
core******************************

#0 0x400aed41 in __kill () from /lib/libc.so.6
(gdb) where
#0 0x400aed41 in __kill () from /lib/libc.so.6
#1 0x400ae9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x400b00d8 in abort () at ../sysdeps/generic/abort.c:88
#3 0x80aa3e6 in Abort () at ./Assert.cc:35
#4 0x8054061 in IcpCltXact::exec (this=0x812c8e8, anOwner=0x812fde0,
    anAddr=@0x812cf40) at ./IcpCltXact.cc:47
#5 0x804df37 in Client::askPeer (this=0x812fde0, addr=@0x812cf40,
x=0x812da08)
    at ./Client.cc:436
#6 0x804c1b9 in Client::tryLaunch (this=0x812fde0, x=0x812da08)
    at ./Client.cc:272
#7 0x804bf5d in Client::scheduleLaunch (this=0x812fde0,
    lastLaunch={<timeval> = {tv_sec = 980544589,
        tv_usec = 667990}, <No data fields>}) at ./Client.cc:229
#8 0x804bae4 in Client::start (this=0x812fde0) at ./Client.cc:134
#9 0x80572bf in PolyApp::startAgents (this=0xbffff9d4) at
./PolyApp.cc:551
#10 0x80570ff in PolyApp::run (this=0xbffff9d4, argc=9, argv=0xbffffaa4)
    at ./PolyApp.cc:591
#11 0x804a921 in main (argc=9, argv=0xbffffaa4) at ./PolyClt.cc:104
(gdb)

************************************************************************************
../src/client/polyclt --config simple.pg --proxy XX.XX.XX.XX --log
/tmp/tc.log --verb_lvl 5
...
...
...
...
     phase load_beg load_end rec_beg rec_end sreq_beg sreq_end
goal flags
      dflt 1.00 1.00 1.00 1.00 1.00 1.00 <none>

000.01| StatsSamples:
        static stats samples: 0
        dynamic stats samples: 0

000.01| FDs: 1024 out of 1024 FDs can be used; safeguard limit: 983
000.01| resource usage:
        CPU Usage: 10msec sys + 910msec user = 920msec
        Page faults with physical i/o: 309

000.01| group-id: 0410a1ff.198475ef:00000002 pid: 30191
000.01| current time: 980544589.659034 or Fri, 26 Jan 2001 21:29:49 GMT
000.01| fyi: current state (1) stored
000.01| starting 1 HTTP agents...
000.01| starting agent[1 / 0410a1ff.198475ef:00000004] `R101' on
XX.XX.XX.XX
./IcpCltXact.cc:47: assertion failed: 'icpClient()'
Aborted (core dumped)

*******************************simple.pg****************************

Content SimpleContent = {
    kind = undef();
    mime = {
        type = undef();
        extensions = undef();
    };
    size = exp(13312.00);
    obj_life_cycle = {
        birthday = undef();
        length = undef();
        variance = undef();
        with_lmt = undef();
        expires = undef();
    };
    cachable = 0.80;
    may_contain = undef();
    embedded_obj_cnt = undef();
    choice_space = undef();
    content_db = undef();
    inject_db = undef();
    infect_prob = undef();
    inject_gap = undef();
};

Server S = {
    hosts = ['XX.XX.XX.XX:80':100.00%];
    socket = {
        nagle = false;
        linger_tout = undef();
    };
    kind = "S101";
    world = undef();
    xact_think = undef();
    pconn_use_lmt = undef();
    idle_pconn_tout = undef();
    accept_lmt = undef();
    contents = [{
        kind = undef();
        mime = {
            type = undef();
            extensions = undef();
        };
        size = exp(13312.00);
        obj_life_cycle = {
            birthday = undef();
            length = undef();
            variance = undef();
            with_lmt = undef();
            expires = undef();
        };
        cachable = 0.80;
        may_contain = undef();
        embedded_obj_cnt = undef();
        choice_space = undef();
        content_db = undef();
        inject_db = undef();
        infect_prob = undef();
        inject_gap = undef();
    }:100.00%];
    direct_access = [{
        kind = undef();
        mime = {
            type = undef();
            extensions = undef();
        };
        size = exp(13312.00);
        obj_life_cycle = {
            birthday = undef();
            length = undef();
            variance = undef();
            with_lmt = undef();
            expires = undef();
        };
        cachable = 0.80;
        may_contain = undef();
        embedded_obj_cnt = undef();
        choice_space = undef();
        content_db = undef();
        inject_db = undef();
        infect_prob = undef();
        inject_gap = undef();
    }:100.00%];
};
Robot R = {
    hosts = ['XX.XX.XX.XX':100.00%];
    socket = {
      nagle = false;
        linger_tout = undef();
    };
    kind = "R101";
    world = undef();
    xact_think = undef();
    pconn_use_lmt = undef();
    idle_pconn_tout = undef();
    origins = ['XX.XX.XX.XX:80':100.00%];
    launch_win = undef();
    req_rate = undef();
    req_inter_arrival = undef();
    public_interest = 0.50;
    recurrence = 0.69;
    embed_recur = undef();
    pop_model = {
        pop_distr = pmUnif();
        hot_set_frac = undef();
        hot_set_prob = undef();
    };
    req_types = undef();
    private_cache_cap = undef();
    unique_urls = undef();
    open_conn_lmt = undef();
    wait_xact_lmt = undef();
    icp_port = 3130;
    peer_http = 'XX.XX.XX.XX:80';
    peer_icp = 'XX.XX.XX.XX:3130';
};
addr[] srv_ips = ['XX.XX.XX.XX:80':100.00%];
addr[] rbt_ips = ['XX.XX.XX.XX':100.00%];



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:17 MDT