Re: [HELP]What is the rule for the order of those tags in curl-loader
Status: Alpha
Brought to you by:
coroberti
From: 邹靖晗 <zou...@gm...> - 2012-06-27 02:21:07
|
Thanks a lot for your reply. But it seems 0 is legal value for TIMER_URL_COMPLETION . As far as my test, I changed the value to 200, the core dump still occurs. Here is the discrebtion for TIMER_URL_COMPLETION from the FAQ: TIMER_URL_COMPLETION is the time in milli-seconds to allow a url fetching operation, including all internal re-directions. The legal values are 0, which means no limit on url-completion time, or above 20 (milli-seconds). When a value of the tag is above 0, we are monitoring the progress of url-fetching and canceling it, if not accompliched within the the specified value of milliseconds. The results are presented at the Load Status GUI as the operation "Timed Out" statistics and logged to all statistics files as T-Err number. 2012/6/26 divfor <di...@gm...> > TIMER_URL_COMPLETION=0 > > must be lager then zero > > Sent from mobile > > 在 2012-6-26,16:41,邹靖晗 <zou...@gm...> 写道: > > Hi all, > > I am using curl-loader to try some network test, I use perl to drive > the test. I saved the general tags and a set of url tags in a hash table, > then use foreach to loop the hash table to output the configuration file > for curl-loader. So the order of tags is based on the hash method in perl. > Then I run curl-loader -f <the configuration file> and get a core dump. > > Seems the order for the tags will impact the test result. So I want to > know what is the rule for the order of these tags in curl-loader? > > > > Here is the configuration file: > > [root@localhost jhzou]# cat 10.conf > CYCLES_NUM=-1 > INTERFACE=eth1 > CLIENTS_NUM_START=10 > URLS_NUM=1 > IP_ADDR_MIN=10.1.1.130 > CLIENTS_RAMPUP_INC=5 > BATCH_NAME=default_test > NETMASK=255.255.255.0 > IP_ADDR_MAX=10.1.1.149 > CLIENTS_NUM_MAX=20 > > > > TIMER_URL_COMPLETION=0 > URL=http://10.1.1.122/index.htm > URL_SHORT_NAME=default_url > TIMER_AFTER_URL_SLEEP=0 > REQUEST_TYPE=GET > > > This is the core dump debug informantion > > Program received signal SIGSEGV, Segmentation fault. > timer_url_completion_parser (bctx=0x7ffffffe0b00, value=<value optimized > out>) at parse_conf.c:1899 > 1899 > bctx->url_ctx_array[bctx->url_index].timer_url_completion_hrange = > (gdb) p bctx->url_index > $1 = 0 > (gdb) p bctx->url_ctx_array[bctx->url_index] > Cannot access memory at address 0x0 > (gdb) bt > #0 timer_url_completion_parser (bctx=0x7ffffffe0b00, value=<value > optimized out>) at parse_conf.c:1899 > #1 0x000000000041c45f in add_param_to_batch (filename=<value optimized > out>, bctx_array=0x7ffffffe0b00, > bctx_array_size=64) at parse_conf.c:416 > #2 parse_config_file (filename=<value optimized out>, > bctx_array=0x7ffffffe0b00, bctx_array_size=64) > at parse_conf.c:2897 > #3 0x000000000040c524 in main (argc=<value optimized out>, > argv=0x7fffffffe588) at loader.c:159 > > -- > Sincerely yours, > Zou Jinghan > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > -- Sincerely yours, Zou Jinghan |