Skip to content

The s3 storage backend leaks a new https connection every 10 seconds #657

@webner

Description

@webner

Every time s3 is queried (over a https connection) a new Transport object is created which is not automatically garbage collected. This leads to one new established connection every 10 seconds! After some hours/days there are too many connections open and every call to s3 fails.

There is an old open issue in net/http for this here: golang/go#24739

Consider reusing the same Transport object or closing the idle connections in a deferred function.

Transport: &http.Transport{

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions