g wan - comet.c hanged when there are more than 6 connections -


another question coment.c in gwan.
in browser, open many pages of csp_comet.html, start same feed same freq. of 1 sec.
ajax calls comet.c timestamp.
but, when there many pages(about 6 pages), newly opened page keep opening without data displaying.

at moment, other browser, other scripts , static pages of same vhost cannot accessed. browsers display nothing. tried visit other vhosts( of same listener in gwan), works fine latency.

i tried kill pages, , found had been dead(0 ok shown instead of gmt time in csp_comet.html, , stop updating).
keep on killing pages, last hanging request became responsing show data. @ state, there 6 active comet-feeding.

who can tell happened?
or, can reproduced in side?

my gwan version 4.3.14
ubuntu 12.04.2 lts \n \l (3.2.0-49) 64-bit

result of ../?report ---------------------------
requests
all: 39 (76.92% of cache misses)
http: 13 (33.33% of requests)
errors: 1 (2.56% of requests) csp: 50 (128.21% of requests) exceptions: 0

connections accepted: 36 (1.08 requests per connection)
closed: 30
timeouts: 9 (25.00%) accept:9 read:0 slow:0 build:0 send:0 close:0
busy: 1 (waiting: 0 reading: 0 replying: 1 sending: 0 pushing: 5 relaying: 0 closing: 0)

thread socket alive lastread timeout sent ip:port state request
1 19 00:26:42 00:00:00 00:00:00 0 127.0.0.1:22182 rsend
1 20 00:26:27 00:00:00 00:00:00 0 127.0.0.1:22694 rsend
1 22 00:26:19 00:00:00 00:00:00 0 127.0.0.1:23206 rsend
0 18 00:01:09 00:00:00 00:00:00 0 127.0.0.1:48294 rsend
0 23 00:00:00 00:00:00 00:00:04 0 127.0.0.1:49830 send /?report
0 27 00:00:53 00:00:00 00:00:00 0 127.0.0.1:48806 rsend

i assume problem different 1 presented here: "comet.c cannot work more 1 page opened in browser" ... , using own 'fix' (a random uri argument).

first question comes mind: did try 6 distinct clients (using 6 different ip addresses)?

the data provide:

timeouts:9 (25.00%)  

...suggests client might not play concurrency, , if requests delayed have ease default g-wan timeouts.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -