Skip to content

[Bug]: Build more than 28,000 sessions and exhaust cpu #3587

@Xxx8b

Description

@Xxx8b

Contact Details

No response

What happened?

When the udp of the host is not available, netclient will always establish a connection to generate more than 28,000 sessions, exhausting the cpu and occupying 100%.

root@:~# ss -s
Total: 30134
TCP: 94 (estab 27, closed 61, orphaned 0, timewait 61)

Transport Total IP IPv6
RAW 0 0 0
UDP 28238 28209 29
TCP 33 21 12
INET 28271 28230 41
FRAG 0 0 0

Version

v1.0.0

What OS are you using?

Linux

Relevant log output

Contributing guidelines

  • Yes, I did.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions