ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
246 stars 45 forks source link

Increasing number of sockets #95

Open yolanjoy opened 6 months ago

yolanjoy commented 6 months ago

I've this issue where I see the number of sockets goes on increasing gradually after the mldonkey is started. MLDonkey is running on Ubunti 22.04 Enabled networks are edonkey and bit-torrent.

Is it just me or someone else see this happening as well?

Thanks

ygrek commented 6 months ago

need more information what is the number of sockets over what time, does it always increase or sometimes decrease, what are the sockets actually (ss -unp | grep by mlnet pid), are there any errors in logs, sysinfo output

yolanjoy commented 6 months ago

Looks like the increase in the connection (EST) is on the bittorrent TCP port. I see lots of client connections over 42K on that port. This increase was over 24hrs period since the startup.

`# ss -a | grep EST | grep ":>" | wc -l

42012 ` mlnet log shows these messages for a number of client connections

IP is blocked unexpected exn exec can_read blocked: Unknown TCP: too many orphaned sockets ( dmesg )

Other than these I don't see any other errors anywhere.