tsung icon indicating copy to clipboard operation
tsung copied to clipboard

Not able to generate load more than ~250K connections

Open arvinmittal opened this issue 6 years ago • 1 comments

Hi All I am not able to generate load more than ~250K connections through tsung master Below are my config details:

  • 15 slaves
  • Each slave can generate connections around 55K

Below error are coming in tsung.log file:

################################################

stats: dump at 1547044796

stats: users 423310 423554 stats: {freemem,"tsung_controller@ip-10-59-167-123"} 1 69234.38671875 0.0 69349.3515625 69234.38671875 69257.93153782898 133 stats: {load,"tsung_controller@ip-10-59-167-123"} 1 0.0390625 0.0 0.421875 0.0 0.07471804511278195 133 stats: {cpu,"tsung_controller@ip-10-59-167-123"} 1 0.21753908905506458 0.0 2.3408367130297503 0.1387566317507822 0.29053889381031356 133 stats: session 4976 556115.4218070734 367810.6595467009 1309885.784 53.046 426106.81221487804 249467 stats: users_count 4997 677753 stats: finish_users_count 4976 254443 stats: request 8 37486.90675000001 42914.169440911355 190733.39 47.462 357.1503082820547 129521 stats: connect 8 37484.725249999996 42914.59438306986 190476.681 2.447 353.82748640702533 129589 stats: page 23321 12.922397281420222 1055.2926531686062 190733.39 0.03 15.246806067759598 3047451 stats: error_unknown 0 1 stats: request_noack 23313 2941243 stats: async_unknown_data_rcv 27859 3536373 stats: size_rcv 47977787 6071691902 stats: error_connect_eaddrinuse 8784 753175 stats: size_sent 42828069 5436870460 stats: connected 6 128893 stats: error_connection_closed 0 40 stats: error_connect_etimedout 13888 809740 stats: websocket_succ 8 129528 stats: error_abort_max_conn_retries 5021 254325

stats: dump at 1547044806

stats: users 423289 423554 stats: {freemem,"tsung_controller@ip-10-59-167-123"} 0 0 0 69349.3515625 69234.38671875 69257.7558302239 134 stats: {load,"tsung_controller@ip-10-59-167-123"} 0 0 0 0.421875 0.0 0.07445195895522387 134 stats: {cpu,"tsung_controller@ip-10-59-167-123"} 0 0 0 2.3408367130297503 0.1387566317507822 0.2899941191479609 134 stats: session 4936 495875.84283954743 358799.09606963064 1335517.061 53.046 428649.318164465 254443 stats: users_count 4915 682668 stats: finish_users_count 4936 259379 stats: request 3 131946.43999999997 52432.920955498135 190733.39 47.462 359.44352487087843 129529 stats: connect 3 131944.57700000002 52432.93439463827 190476.681 2.447 356.11957019066807 129597 stats: page 22805 17.421613330409805 1628.3810044006807 190733.39 0.03 15.22915332854411 3070772 stats: error_unknown 0 1 stats: request_noack 22802 2964045 stats: async_unknown_data_rcv 26966 3563339 stats: size_rcv 46949709 6118641611 stats: error_connect_eaddrinuse 9805 762980 stats: size_sent 41888057 5478758517 stats: connected -5 128888 stats: error_connection_closed 0 40 stats: error_connect_etimedout 10963 820703 stats: websocket_succ 3 129531 stats: error_abort_max_conn_retries 4893 259218 ##########################################################

Please suggest

arvinmittal avatar Jan 10 '19 05:01 arvinmittal

This is very little context, but I'll try anyway.

  • Did you check resource utilisation both on your tsung nodes and on the target(s)?
  • eaddrinuse indicates that you're running out of ephemeral ports

Could you please provide more details? What OS are you using? What version of Erlang and tsung? Also the used configuration XML would be helpful as well.

tisba avatar Jan 16 '19 10:01 tisba