Skip to content
GitLab
  • Explore
  • Sign in
  • The Tor Project
  • Anti-censorship
  • Pluggable Transports
  • Snowflake
  • Issues
  • #31285

Browsers accumulate permanently open UDP sockets over time

After running tests with both Firefox and Chrome for a couple of days (see ticket:31278), my Windows process status utility shows that both browsers have accumulated a bunch of open UDP sockets, proportional to the number of clients they've served so far. Once opened, the UDP sockets stay allocated by the browser's process until I close the corresponding static page tab or turn off the addon. So far, Firefox has created 64 sockets (32 each IPv4 & v6) while Chrome has only 14 (9 v4 & 5 v6) due to the Chrome client hanging bug reported earlier. Each time a new client is served, more sockets are created and never closed.

Not a problem normally, they're not a scarce resource, but if you leave a browser open for weeks or months at a time they'll really add up, especially once Snowflake gets more popular and the number of clients served per day increases.

Assignee
Assign to
Time tracking