I am trying to achieve max no of session our API gateway at AWS is able to handle along with lambda
I am running k6 on a machine with 16GB memory and 16 cores and not able to ramp up vus above 5000 , getting dial i/o timeout error
I have done the os fine tuning and also while running test the CPU and Memory is not overloaded on test machine , yet I am unable to increase the VUS per second
sudo sysctl -w net.ipv4.ip_local_port_range=“1024 65535”
sudo sysctl -w net.ipv4.tcp_tw_reuse=1
sudo sysctl -w net.ipv4.tcp_timestamps=1
sudo ulimit -n 250000
Is there any setting which I am missing that is preventing from ramping up the vus
k6 run --vus=8000 --duration=1s
WARN[0033] Request Failed error=“Get "https://test-urlv1/retro/device/TESTE9C5D9CF7683332C-B9F11TESTUS2\”: dial: i/o timeout"
WARN[0033] Request Failed error=“Get "https://test-urlv1/retro/device/TESTE9C5D9CF7683332C-B9F11TESTUS2\”: dial: i/o timeout"
WARN[0033] Request Failed error="Get "https://test-
running (32.8s), 0000/8000 VUs, 7826 complete and 174 interrupted iterations
default ✓ [======================================] 8000 VUs 1s
█ setup
data_received..................: 25 MB 756 kB/s
data_sent......................: 4.5 MB 137 kB/s
http_req_blocked...............: avg=3.33s min=0s med=1.13s max=16.34s p(90)=15.98s p(95)=16.12s
http_req_connecting............: avg=2.86s min=0s med=247.52ms max=15.33s p(90)=15.26s p(95)=15.28s
http_req_duration..............: avg=168.15ms min=0s med=267.72ms max=973.06ms p(90)=304.8ms p(95)=503.84ms
{ expected_response:true }...: avg=310.78ms min=258.5ms med=283.52ms max=973.06ms p(90)=489.67ms p(95)=521.39ms
http_req_failed................: 45.89% ✓ 3672 ✗ 4329
http_req_receiving.............: avg=25.91µs min=0s med=24.49µs max=19.96ms p(90)=53.85µs p(95)=64.69µs
http_req_sending...............: avg=105.6µs min=0s med=120.55µs max=4.45ms p(90)=214.44µs p(95)=242.15µs
http_req_tls_handshaking.......: avg=320.26ms min=0s med=503.38ms max=1.02s p(90)=649.68ms p(95)=672.02ms
http_req_waiting...............: avg=168.01ms min=0s med=267.54ms max=972.85ms p(90)=304.56ms p(95)=503.56ms
http_reqs......................: 8001 243.904172/s
iteration_duration.............: avg=17.15s min=1.1s med=16.43s max=30.67s p(90)=30.4s p(95)=30.55s
iterations.....................: 7826 238.569435/s
vus............................: 3672 min=0 max=8000
vus_max........................: 8000 min=8000 max=8000