lantern icon indicating copy to clipboard operation
lantern copied to clipboard

Too many simultaneous connections making my internet unstable to the point of unusable.

Open AetherCollective opened this issue 12 years ago • 6 comments

I used NetBalancer program to check how many active connections is running on my pc. Lantern had 1600 connections going at once. Too many connections=slow network. Please add an option to select number of simultaneous connections. Thanks.

AetherCollective avatar Aug 14 '14 06:08 AetherCollective

Thanks for the suggestion and for taking the time to let us know @BetaLeaf - we'll work to add it as an option.

How much of an actual slowdown do you see on your network as the result of too many connections?

cholmes avatar Aug 14 '14 22:08 cholmes

Yup thanks @BetaLeaf! I think you're also actually hitting up against a bug in the go component in Lantern (https://github.com/getlantern/flashlight) where it's not properly cleaning up connections. We should have that fixed next week.

myleshorton avatar Aug 14 '14 23:08 myleshorton

I remember encountering this a while back. We addressed it on the Fastly network by giving peer proxies a low weight in the round robin. AFAIK cloudflare doesn't have that ability, so we'll probably need to solve it in the client. On Aug 14, 2014 6:15 PM, "myleshorton" [email protected] wrote:

Yup thanks @BetaLeaf https://github.com/BetaLeaf! I think you're also actually hitting up against a bug in the go component in Lantern ( https://github.com/getlantern/flashlight) where it's not properly cleaning up connections. We should have that fixed next week.

— Reply to this email directly or view it on GitHub https://github.com/getlantern/lantern/issues/1723#issuecomment-52257280.

oxtoacart avatar Aug 15 '14 17:08 oxtoacart

Perhaps we could use a custom listener in flashlight here to limit the number of simultaneous connections. I'm not sure what CloudFlare will do if a back-end rejects (or blocks on) a connection attempt, so we'd have to look into that.

oxtoacart avatar Aug 18 '14 19:08 oxtoacart

Hey @BetaLeaf we just made some fixes in 1.4.7 in this area. Would you mind downloading the new version and seeing if you still get this? Pushing to 1.4.8 in the meantime, and thanks again for reporting it.

myleshorton avatar Aug 28 '14 03:08 myleshorton

Hi, @BetaLeaf! We're going to assume that this has been fixed in more recent releases, but please let us know if this isn't the case!

scouttle avatar Nov 19 '14 22:11 scouttle