Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not create 1 connection in allotted time #67

Open
linup2011 opened this issue Sep 20, 2018 · 1 comment
Open

Could not create 1 connection in allotted time #67

linup2011 opened this issue Sep 20, 2018 · 1 comment

Comments

@linup2011
Copy link

Could not create 1 connection in allotted time when run tcpkali, the command is as follows:

tcpkali --latency-connect -r 400 -em 'GET / HTTP/1.0\r\n\r\n' 1.1.1.40:80

and tool on the other side is nginx (1.1.1.40:80)

I checked that packets are sent on nginx, but I don't know why connection can't be created on tcpkali.
do you known the reason?

[root@dell-per730-41 tcpkali]# tcpkali --latency-connect -r 400 -em 'GET / HTTP/1.0\r\n\r\n' 1.1.1.40:80
Destination: [1.1.1.40]:80
Interface p4p1 address [1.1.1.41]:0
Using interface p4p1 to connect to [1.1.1.40]:80
Could not create 1 connection in allotted time (10s)

@linup2011
Copy link
Author

and when request rate is lower, the connection can be created:

[root@dell-per730-41 tcpkali]# tcpkali --latency-connect -r 100 -em 'GET / HTTP/1.0\r\n\r\n' 1.1.1.40:80
Destination: [1.1.1.40]:80
Interface p4p1 address [1.1.1.41]:0
Using interface p4p1 to connect to [1.1.1.40]:80
Ramped up to 1 connections.
Total data sent: 8.7 KiB (8910 bytes)
Total data received: 2.0 MiB (2124045 bytes)
Bandwidth per channel: 1.706⇅ Mbps (213.2 kBps)
Aggregate bandwidth: 1.699↓, 0.007↑ Mbps
Packet rate estimate: 165.9↓, 49.5↑ (2↓, 1↑ TCP MSS/op)
TCP connect latency at percentiles: 0.1/0.1/0.1 ms (95/99/99.5%)
Test duration: 10.0038 s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant