Open zhendehaofan opened 4 years ago
I have a problem when i use -bg option:
3.Client command line: seagull -conf link.xml -dico ../dict/base_cx.xml -scen scene.xml -log sctp_clt_snd.log -llevel ET
The server and client are run in 2 terminals in one machine. But the test failed. i can find the client send 3 sctp init messages in the wireshark capture, the server doesn't send ack.The following is the log . 2020-04-03.21:02:23.440|A|START log 2020-04-03.21:02:23.440|A|Platform use LITTLE_ENDIAN coding 2020-04-03.21:02:23.440|A|Integer32 Type size is: 8 2020-04-03.21:02:23.440|A|Integer64 Type size is: 8 2020-04-03.21:02:23.440|A|Configuration data: | |option_log_file [sctp_svr_rcv.log] | |option_conf_file [link.xml] | |option_dico_file [../dict/base_cx.xml] | |option_scen_file [scene.xml] | |log_stat_file [client-stat.csv] | |option_log_level [ET] | |option_bg_mode [true] | |call_rate [1] | |burst_limit [0] | |max_send [200] | |max_receive [200] | |select_timeout [50] | |max_simult_calls [2000] | |call_timeout_ms [10000] | |msg_buffer_size [4096] | |display_period [1] | |log_stat_period [1] | |resp_time_repart [50,75,100,150,300,5000] | |number_calls [0] | |notimelog [false] | |msg check [false] | |msg check mask [P] | |check behaviour [warning] | |call rate scale [1] | |model traffic [best-effort] | |external data file [none] | |external data select [sequential] 2020-04-03.21:02:23.442|A|PID [26823]
If the command line has no -bg option,the test is successful.
please help me.how can i fix this problem.
I want to remote run seagull and remote control by restful api:
in the first step, the -bg option must be used.but now it cannot create sctp link successful. Thank you very much.
tcp with -bg option is ok.
I have a problem when i use -bg option:
Background mode - PID [26823] ps aux | grep seagull root 26823 0.2 0.2 180196 2556 pts/1 Sl 21:02 0:00 seagull -conf link.xml -dico ../dict/base_cx.xml -scen scene.xml -log sctp_svr_rcv.log -llevel ET -bg
3.Client command line: seagull -conf link.xml -dico ../dict/base_cx.xml -scen scene.xml -log sctp_clt_snd.log -llevel ET
The server and client are run in 2 terminals in one machine. But the test failed. i can find the client send 3 sctp init messages in the wireshark capture, the server doesn't send ack.The following is the log . 2020-04-03.21:02:23.440|A|START log 2020-04-03.21:02:23.440|A|Platform use LITTLE_ENDIAN coding 2020-04-03.21:02:23.440|A|Integer32 Type size is: 8 2020-04-03.21:02:23.440|A|Integer64 Type size is: 8 2020-04-03.21:02:23.440|A|Configuration data: | |option_log_file [sctp_svr_rcv.log] | |option_conf_file [link.xml] | |option_dico_file [../dict/base_cx.xml] | |option_scen_file [scene.xml] | |log_stat_file [client-stat.csv] | |option_log_level [ET] | |option_bg_mode [true] | |call_rate [1] | |burst_limit [0] | |max_send [200] | |max_receive [200] | |select_timeout [50] | |max_simult_calls [2000] | |call_timeout_ms [10000] | |msg_buffer_size [4096] | |display_period [1] | |log_stat_period [1] | |resp_time_repart [50,75,100,150,300,5000] | |number_calls [0] | |notimelog [false] | |msg check [false] | |msg check mask [P] | |check behaviour [warning] | |call rate scale [1] | |model traffic [best-effort] | |external data file [none] | |external data select [sequential] 2020-04-03.21:02:23.442|A|PID [26823]
If the command line has no -bg option,the test is successful.
please help me.how can i fix this problem.
I want to remote run seagull and remote control by restful api:
in the first step, the -bg option must be used.but now it cannot create sctp link successful. Thank you very much.