Questions

Sergey Verzunov <[email protected]>
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <C143D2DEAA20D411A5E500A0CC600C291A0FAB@MAIL>
Hello.

We've just started testing using polygraph and facing some problems.
Could somebody, please, help us with the following.

Runtime
1. polyclt error not documented: "Unsupported HTTP response code..."
    Our investigation have shown that this "unsupported" code is 502 Bad
gateway.
    Is this correct that polyclt does not support 502 code?
2. Further investigation of problem 1. have shown, that polysrv in some
cases sends with FIN (closes connection)
    packet after accepting a connection and GET request from the cache. 
    What is the reason for such a behaviour?
3. Sometimes Error: "Too many open files" comes during a test.
    How many sockets and open files should be configured in a FreeBSD 3.3
system to avoid this error?
    We put number 64K.
4. How do we remove server xaction delay: xact_think does not work in 2.x?

Results
1. After a test we have a log file. Here is part of "lr file_name.log"
outout:

----------------------------------------------------------------------------
--------------------------------------------------
969837145.721896| Content distribution on server PolyMix-2-srv:
        content        planned%         likely%          error%
          image           65.00           65.46            0.70
           HTML           15.00           14.80           -1.31
       download            0.50            0.49           -1.31
          other           19.50           19.25           -1.31
expected average cachability: 80.01%
expected average object size: 10771.11Bytes

969837146.570650| Command: ./polyclt --config polymix-2.pg --dump errors
--verb_lvl 10 --log clt_ws.log --proxy 10.1.0.50:8080
969837146.570650| Configuration:
	version:            2.5.4
	host_type:          i386-unknown-freebsd3.3
	verb_lvl:           10
	dump:               err
	dump_size:          1.000KB
	notify:             <none>
	label:              <none>
	fd_limit:           1022
	config:             polymix-2.pg
	cfg_dirs:           
	console:            -
	log:                clt_ws.log
	log_size:           64.000KB
	sample_log:         clt_ws.log
	sample_log_size:    64.000KB
	stats_cycle:        5.00sec
	sync_phases:        on
	file_scan:          poll
	priority_sched:     5
	new_oids_per_msg_max:16
	fake_hosts:         
	idle_tout:          <none>
	rng_seed:           1
	unique_world:       on
	proxy:              10.1.0.50:8080
	ports:              <none>
	icp_tout:           2.00sec
	new_oids_prefetch:  256
	ign_false_hits:     on
	ign_bad_cont_tags:  off
	prn_false_misses:   off
969837146.570650| Phases:
     phase load_beg load_end  rec_beg  rec_end sreq_beg sreq_end     goal
flags
      warm     0.10     0.10     1.00     1.00     1.00     1.00  6.00min
!log
      inc1     0.10     1.00     1.00     1.00     1.00     1.00  1.00hour

      top1     1.00     1.00     1.00     1.00     1.00     1.00  4.00hour

      dec1     1.00     0.10     1.00     1.00     1.00     1.00  1.00hour

      idle     0.10     0.10     1.00     1.00     1.00     1.00  2.00hour

      inc2     0.10     1.00     1.00     1.00     1.00     1.00  1.00hour

      top2     1.00     1.00     1.00     1.00     1.00     1.00  4.00hour

      dec2     1.00     0.10     1.00     1.00     1.00     1.00  1.00hour

      cool     0.10     0.00     1.00     1.00     1.00     1.00  1.00min
!log

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

969837146.570650| FDs: 65536 out of 65536 FDs can be used; safeguard limit:
1022
969837146.570650| resource usage: 
	CPU Usage: 62msec sys + 1.77sec user = 1.83sec
	Maximum Resident Size: 41.461MB
	Page faults with physical i/o: 0

969837146.570650| group-id: 036d400c.0ad80253:00000002 pid: 595
969837146.570650| current time: 969837146.570650 or Sun, 24 Sep 2000
23:12:26 GMT
969837146.570650| fyi: current state (1) stored
969837147.172202| fyi: working set size goal: first 4.00hour of the test
969837147.172559| starting 1000 HTTP agents...

............................................................................
.....

969837152.174181| i-warm     82  16.39      6   0.00   0   41
969837155.041544| ./CltXact.cc:399: error: 127/127 (272) clocks out of sync
969837155.041544| 969837233.000000 - 969837155.041544 = 1.30min
969837157.174409| i-warm    171  17.80      6   0.00   0   96
969837162.174634| i-warm    231  12.00      6   0.00   0  135

.............................................................

969837507.226559| p-warm   7765  21.57      6  42.46 10775
969837512.200391| i-inc1   7869  21.00      6  52.38 242 1018
969837517.200623| i-inc1   7952  16.60      6  45.78 224 1018

.............................................................

969841107.248856| p-inc1 545205 149.29      7  52.84 1008041
969841107.709606| i-top1 545359 284.74      9  51.12 2670 1018
969841112.709624| i-top1 546928 313.80      9  48.76 3031 1018

..............................................................

969855507.256195| p-top1 4424051 269.36     15  44.69 7270665
969855510.056705| i-dec1 4424692 256.00     20  41.17 2203 1017
969855515.057485| i-dec1 4425962 253.96     19  39.29 2320 1018

...............................................................

969859107.363150| p-dec1 4961274 149.22     17  40.73 998920
969859110.586911| i-idle 4961371  25.20     13  38.10 246 1018
969859115.587132| i-idle 4961537  33.20     10  36.14 236 1018

..............................................................

969866307.396895| p-idle 5161520  27.81     13  40.71 366974
969866311.287214| i-inc2 5161608  23.80     13  44.54 300 1018
969866316.287447| i-inc2 5161715  21.40     11  42.99 205 1018

..............................................................

969869907.409780| p-inc2 5697524 148.89     17  40.65 1000660
969869911.824186| i-top2 5698961 319.87     22  38.75 2951 1017
969869916.824264| i-top2 5700295 266.80     20  40.85 2499 1018

...............................................................

969884307.421143| p-top2 9564315 268.53     21  39.22 7234862
969884309.241236| i-dec2 9564759 258.36     22  41.25 2520 1018
969884314.241248| i-dec2 9565978 243.80     18  37.82 2156 1017

...............................................................

969887907.550583| p-dec2 10103234 149.69     18  39.12 1000809
969887909.765818| i-cool 10103289  28.40     12  41.55 288 1018
969887914.765936| i-cool 10103433  28.80     11  36.81 283 1018

...............................................................

969887919.766163| i-cool 10103575  28.40     11  34.51 290 1018
969887924.766383| i-cool 10103685  22.00     10  30.00 242 1018

...............................................................


	CPU Usage: 62msec sys + 1.77sec user = 1.83sec
	Maximum Resident Size: 41.461MB
	Page faults with physical i/o: 0
 00     1.00     1.00  6.00min	 !log
      inc1     0.10     1.00     1.00     1.00     1.00     1.00  1.00hour

      top1     1.00     1.00     1.00     1.00     1.00     1.00  4.00hour

      dec1     1.00     0.10     1.00     1.00     1.00     1.00  1.00hour

      idle     0.10     0.10     1.00     1.00     1.00     1.00  2.00hour

      inc2     0.10     1.00     1.00     1.00     1.00     1.00  1.00hour

      top2     1.00     1.00     1.00     1.00     1.00     1.00  4.00hour

      dec2     1.00     0.10     1.00     1.00     1.00     1.00  1.00hour

      cool     0.10     0.00     1.00     1.00     1.00     1.00  1.00min
!log
 tch:  256
	ign_false_hits:     on
	ign_bad_cont_tags:  off
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------

But. label_results, or lx programs return the following errors:

----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------
./label_results: creating: `/tmp/polyrep/test_ws/clt.All.lx'
no matching phases found
./label_results: `/usr/local/polygraph/bin/lx  --out
/tmp/polyrep/test_ws/clt.All.lx 
.//clt_ws.log' failed; probable cause: No such file or directory
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------

As you can see test log file has all phases in place, test log file itself
also
in place. What can be the reason for these errors?


Thanks in advance for any usefull advice or instructions.

Best regards.
________________________
Sergey Verzunov
Netscaler, Inc
4800 Great America Pkwy, # 515
Santa Clara, CA 95054
Tel: (408) 330-9200 x117
Fax: (408) 330-9209
Cell: (408) 893-6074
[email protected]
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.