From philip.boulain at smoothwall.net Tue Nov 4 10:56:17 2014 From: philip.boulain at smoothwall.net (Philip Boulain) Date: Tue, 4 Nov 2014 10:56:17 +0000 Subject: Polygraph compilation error with gcc 4.8.2 Message-ID: Hi, >You're completely right. Old polygraph versions can not be built by >modern gcc. IIRC, gcc of version 4.5 is definitely able to build >polygraph-4.3.2 (and gcc 4.6 probably). This is a known issue. To work >the one around, you can: *snip* >b) wait until polygraph site will be updated and new polygraph version >become available for download; The download page, http://www.web-polygraph.org/downloads/ , says "these [private] releases are made public after a few months of private use". The last public version (4.3.2) is dated 2011, but there have been several new private versions in the years since. Do you have an updated policy on when a new public release will be made? Thanks, -- Dr. Philip Boulain Developer philip.boulain at smoothwall.net Smoothwall Ltd Phone: +44 (0) 8701 999500 www.smoothwall.net Smoothwall Limited is registered in England, Company Number: 4298247 and whose registered address is 1 John Charles Way, Leeds, LS12 6QA United Kingdom Any opinions stated in this message are solely those of the author. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rousskov at measurement-factory.com Tue Nov 4 15:28:05 2014 From: rousskov at measurement-factory.com (Alex Rousskov) Date: Tue, 04 Nov 2014 08:28:05 -0700 Subject: Polygraph compilation error with gcc 4.8.2 In-Reply-To: References: Message-ID: <5458F085.2040704@measurement-factory.com> On 11/04/2014 03:56 AM, Philip Boulain wrote: > The download page, http://www.web-polygraph.org/downloads/ , says "these > [private] releases are made public after a few months of private use". > The last public version (4.3.2) is dated 2011, but there have been > several new private versions in the years since. Do you have an updated > policy on when a new public release will be made? There is no change in intent, but we have now adjusted documentation to better match reality. With some luck, we will publish accumulated changes (up to v4.9.0?) this year. Thank you, Alex. From johnzeng2013 at yahoo.com Fri Nov 7 13:49:04 2014 From: johnzeng2013 at yahoo.com (johnzeng) Date: Fri, 07 Nov 2014 21:49:04 +0800 Subject: Fwd: When i redirected to more traffic to squid box for testing goal via web-polygraph . find error info "OS probably ran out of ephemeral ports at 192.168.2.1:0" In-Reply-To: <545C53D0.2000303@yahoo.com> References: <545C53D0.2000303@yahoo.com> Message-ID: <545CCDD0.7020102@yahoo.com> Hello : i meet a problem , When i redirected to more traffic to squid box for testing goal via web-polygraph . squidbox ip is 192.168.2.2 web-polygraph_box ip is 192.168.2.3 /polygraph-client --config /accerater/testtool/share/polygraph/workloads/simple.pg --proxy 192.168.2.2:80 --verb_lvl 10 ./polygraph-server --config /accerater/testtool/share/polygraph/workloads/simple.pg --verb_lvl 10 When testing traffic is 1500request/sec , i found more error info , but my os setting is net.ipv4.ip_local_port_range = 1024 65535 open files (-n) 65536 max user processes (-u) 10000 /proc/sys/fs/file-max 6815744 and i found these error info still , how will i do ? if possible , give me some help or advisement please . ****************************** error info ****************************** EphPortMgr.cc:23: error: 34920/69877 (s98) Address already in use 005.28| OS probably ran out of ephemeral ports at 192.168.2.3:0 005.28| Client.cc:347: error: 34920/69878 (c63) failed to establish a connection 005.28| 192.168.2.3 failed to connect to 192.168.2.2:80 005.31| i-dflt 104811 0.00 -1 -1.00 3904 32336 005.59| PolyApp.cc:189: error: 39/75599 (c58) internal timers may be getting beh 005.90| EphPortMgr.cc:23: error: 64/129 (s98) Address already in use 005.90| OS probably ran out of ephemeral ports at 192.168.2.1:0 005.90| Client.cc:347: error: 64/130 (c63) failed to establish a connection 005.90| 192.168.2.1 failed to connect to 192.168.2.2:80 005.90| PolyApp.cc:189: error: 4/180 (c58) internal timers may be getting behind 005.90| record level of timing drift: 179msec; last check was 3msec ago 005.90| EphPortMgr.cc:23: error: 128/260 (s98) Address already in use 005.90| OS probably ran out of ephemeral ports at 192.168.2.1:0 005.90| Client.cc:347: error: 128/261 (c63) failed to establish a connection 005.90| 192.168.2.1 failed to connect to 192.168.2.2:80 005.91| PolyApp.cc:189: error: 8/460 (c58) internal timers may be getting behind 005.91| record level of timing drift: 383msec; last check was 3msec ago *********************************** Web-polygraph configration on web-polygraph box *********************************** Content SimpleContent = { size = exp(13KB); // response sizes distributed exponentially cachable = 80%; // 20% of content is uncachable }; // a primitive server cleverly labeled "S101" // normally, you would specify more properties, // but we will mostly rely on defaults for now Server S = { kind = "S101"; contents = [ SimpleContent ]; direct_access = contents; addresses = ['192.168.2.1:9090']; // where to create these server agents }; // a primitive robot Robot R = { kind = "R101"; pop_model = { pop_distr = popUnif(); }; recurrence = 55% / SimpleContent.cachable; // adjusted to get 55% DHR req_rate = 1600/sec; origins = S.addresses; // where the origin servers are addresses = ['192.168.2.1']; // where these robot agents will be created }; ************************************** sysctl.conf on web-polygraph box ************************************** fs.file-max = 6815744 fs.aio-max-nr = 1048576 kernel.shmmax = 4294967295 kernel.threads-max = 212992 kernel.sem = 250 256000 100 1024 net.core.rmem_max=5165824 net.core.wmem_max=262144 net.ipv4.tcp_rmem=5165824 5165824 5165824 net.ipv4.tcp_wmem=262144 262144 262144 net.core.rmem_default = 5165824 net.core.wmem_default = 262144 net.core.optmem_max = 25165824 net.ipv4.ip_local_port_range = 1024 65535 net.nf_conntrack_max = 6553600 net.netfilter.nf_conntrack_tcp_timeout_established = 1200 net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_fin_timeout = 10 net.ipv4.tcp_orphan_retries = 3 net.ipv4.tcp_retries2 = 5 net.ipv4.tcp_keepalive_intvl = 15 net.ipv4.tcp_syn_retries = 5 net.ipv4.tcp_synack_retries = 2 net.ipv4.tcp_keepalive_time = 1800 net.core.netdev_max_backlog = 3000000 net.ipv4.tcp_max_syn_backlog = 262144000 net.ipv4.tcp_max_tw_buckets = 500000000 net.core.somaxconn = 262144000 net.ipv4.tcp_sack = 1 net.ipv4.tcp_fack = 1 net.ipv4.tcp_timestamps = 0 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_no_metrics_save=1 net.ipv4.tcp_max_orphans = 26214400 net.ipv4.tcp_synack_retries = 2 net.ipv4.tcp_low_latency = 1 net.ipv4.tcp_rfc1337 = 1 From pavel.kazlenka at measurement-factory.com Fri Nov 7 15:03:43 2014 From: pavel.kazlenka at measurement-factory.com (Pavel Kazlenka) Date: Fri, 07 Nov 2014 18:03:43 +0300 Subject: Fwd: When i redirected to more traffic to squid box for testing goal via web-polygraph . find error info "OS probably ran out of ephemeral ports at 192.168.2.1:0" In-Reply-To: <545CCDD0.7020102@yahoo.com> References: <545C53D0.2000303@yahoo.com> <545CCDD0.7020102@yahoo.com> Message-ID: <545CDF4F.6070306@measurement-factory.com> Hi, Some of modern OS (including Linux) handle ephemeral ports not efficient enough. Can you try to launch your polygraph-client with option '--ports 2000:65000' to allow polygraph himself handle the ports used for opening connections? I believe this will solve your issue. Best wishes, Pavel. On 11/07/2014 04:49 PM, johnzeng wrote: > > Hello : > > i meet a problem , When i redirected to more traffic to squid box for > testing goal via web-polygraph . > > squidbox ip is 192.168.2.2 web-polygraph_box ip is 192.168.2.3 > > /polygraph-client --config > /accerater/testtool/share/polygraph/workloads/simple.pg --proxy > 192.168.2.2:80 --verb_lvl 10 > > ./polygraph-server --config > /accerater/testtool/share/polygraph/workloads/simple.pg --verb_lvl 10 > > When testing traffic is 1500request/sec , i found more error info , > > but my os setting is net.ipv4.ip_local_port_range = 1024 65535 > open files (-n) 65536 > max user processes (-u) 10000 > /proc/sys/fs/file-max 6815744 > > > and i found these error info still , how will i do ? if possible , give > me some help or advisement please . > > ****************************** > error info > ****************************** > > EphPortMgr.cc:23: error: 34920/69877 (s98) Address already in use > 005.28| OS probably ran out of ephemeral ports at 192.168.2.3:0 > 005.28| Client.cc:347: error: 34920/69878 (c63) failed to establish a > connection > 005.28| 192.168.2.3 failed to connect to 192.168.2.2:80 > 005.31| i-dflt 104811 0.00 -1 -1.00 3904 32336 > 005.59| PolyApp.cc:189: error: 39/75599 (c58) internal timers may be > getting beh > > 005.90| EphPortMgr.cc:23: error: 64/129 (s98) Address already in use > 005.90| OS probably ran out of ephemeral ports at 192.168.2.1:0 > 005.90| Client.cc:347: error: 64/130 (c63) failed to establish a connection > 005.90| 192.168.2.1 failed to connect to 192.168.2.2:80 > 005.90| PolyApp.cc:189: error: 4/180 (c58) internal timers may be > getting behind > 005.90| record level of timing drift: 179msec; last check was 3msec ago > 005.90| EphPortMgr.cc:23: error: 128/260 (s98) Address already in use > 005.90| OS probably ran out of ephemeral ports at 192.168.2.1:0 > 005.90| Client.cc:347: error: 128/261 (c63) failed to establish a connection > 005.90| 192.168.2.1 failed to connect to 192.168.2.2:80 > 005.91| PolyApp.cc:189: error: 8/460 (c58) internal timers may be > getting behind > 005.91| record level of timing drift: 383msec; last check was 3msec ago > > > > > > > > > > *********************************** > Web-polygraph configration on web-polygraph box > *********************************** > > > Content SimpleContent = { > size = exp(13KB); // response sizes distributed exponentially > cachable = 80%; // 20% of content is uncachable > }; > > // a primitive server cleverly labeled "S101" > // normally, you would specify more properties, > // but we will mostly rely on defaults for now > Server S = { > kind = "S101"; > contents = [ SimpleContent ]; > direct_access = contents; > > addresses = ['192.168.2.1:9090']; // where to create these server agents > }; > > // a primitive robot > Robot R = { > kind = "R101"; > pop_model = { pop_distr = popUnif(); }; > recurrence = 55% / SimpleContent.cachable; // adjusted to get 55% DHR > req_rate = 1600/sec; > > > origins = S.addresses; // where the origin servers are > addresses = ['192.168.2.1']; // where these robot agents will be created > }; > > > > > ************************************** > sysctl.conf on web-polygraph box > ************************************** > > > fs.file-max = 6815744 > fs.aio-max-nr = 1048576 > kernel.shmmax = 4294967295 > kernel.threads-max = 212992 > kernel.sem = 250 256000 100 1024 > net.core.rmem_max=5165824 > net.core.wmem_max=262144 > net.ipv4.tcp_rmem=5165824 5165824 5165824 > net.ipv4.tcp_wmem=262144 262144 262144 > net.core.rmem_default = 5165824 > net.core.wmem_default = 262144 > net.core.optmem_max = 25165824 > net.ipv4.ip_local_port_range = 1024 65535 > net.nf_conntrack_max = 6553600 > net.netfilter.nf_conntrack_tcp_timeout_established = 1200 > > > net.ipv4.tcp_tw_recycle = 1 > net.ipv4.tcp_tw_reuse = 1 > net.ipv4.tcp_fin_timeout = 10 > net.ipv4.tcp_orphan_retries = 3 > net.ipv4.tcp_retries2 = 5 > net.ipv4.tcp_keepalive_intvl = 15 > net.ipv4.tcp_syn_retries = 5 > net.ipv4.tcp_synack_retries = 2 > net.ipv4.tcp_keepalive_time = 1800 > net.core.netdev_max_backlog = 3000000 > net.ipv4.tcp_max_syn_backlog = 262144000 > net.ipv4.tcp_max_tw_buckets = 500000000 > net.core.somaxconn = 262144000 > net.ipv4.tcp_sack = 1 > net.ipv4.tcp_fack = 1 > > net.ipv4.tcp_timestamps = 0 > net.ipv4.tcp_window_scaling = 1 > net.ipv4.tcp_syncookies = 1 > net.ipv4.tcp_no_metrics_save=1 > net.ipv4.tcp_max_orphans = 26214400 > net.ipv4.tcp_synack_retries = 2 > net.ipv4.tcp_low_latency = 1 > net.ipv4.tcp_rfc1337 = 1 > > > > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users From murali.padmanaban at gmail.com Tue Nov 11 16:05:49 2014 From: murali.padmanaban at gmail.com (Murali Padmanaban) Date: Tue, 11 Nov 2014 16:05:49 +0000 Subject: Kerberos with web polygraph 4.8.0 Message-ID: Hi All, Does some one have sample .pg file how to use KerberosWrap with Web Polygraph 4.8.0. I am getting kerberos_auth is not declared error. Regards, Murali -------------- next part -------------- An HTML attachment was scrubbed... URL: From pavel.kazlenka at measurement-factory.com Wed Nov 12 08:08:00 2014 From: pavel.kazlenka at measurement-factory.com (Pavel Kazlenka) Date: Wed, 12 Nov 2014 11:08:00 +0300 Subject: Kerberos with web polygraph 4.8.0 In-Reply-To: References: Message-ID: <54631560.3020008@measurement-factory.com> Hi Murali, Here's example of using KerberosWrap: // you need dns resolver DnsResolver DR = { servers = [ '192.168.1.1' ]; }; ... // KerberosWrap itself KerberosWrap kerberosWrap = { realm = "LOCAL"; servers = ['kerberos.local:88']; timeout = 30sec; }; ... // and some fields in robots definition: Robot R = { ... dns_resolver = DR; credentials = [ "user:pass" ]; kerberos_wrap = kerberosWrap; }; I guess that you missed Robot.credentials in your robots definition. Best wishes, Pavel On 11/11/2014 07:05 PM, Murali Padmanaban wrote: > Hi All, > > Does some one have sample .pg file how to use KerberosWrap with Web > Polygraph 4.8.0. I am getting kerberos_auth is not declared error. > > Regards, > Murali > > > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: