aptly icon indicating copy to clipboard operation
aptly copied to clipboard

CLOSE_WAIT connection after s3 upload

Open damaex17 opened this issue 10 years ago • 5 comments

We are using aplty to manage our repositories in S3. It seems aplty (0.9.6) doesn't close the connection with S3 corrently which results in 20-40 CLOSE_WAIT connections for each publishing process.

damaex17 avatar Feb 27 '16 11:02 damaex17

@damaex17 could you please try with latest nightly build? It has S3 code completely replaced, so I suspect that bug might have gone away...

smira avatar Mar 01 '16 08:03 smira

I tested with 0.9.7~dev+25+g067d197 and the CLOSE_WAIT sockets are gone. It also seems the publish process to s3 is slower than before and the clients complain about Hash Sum mismatch.

Anything else we can do to help you troubleshooting?

damaex17 avatar Mar 02 '16 16:03 damaex17

@damaex17 what are the hash sum mismatch errors? do they happen when mirror is being updated?

smira avatar Mar 02 '16 17:03 smira

I didn't really investigate and reverted back to 0.9.6.

All clients complained about the hash sum mismatch issue with any software I published via 0.9.7. After reverting to 0.9.6 and publishing again everything started working again.

damaex17 avatar Mar 03 '16 09:03 damaex17

Closing as CLOSE_WAIT bug seems to be resolved.

smira avatar Mar 20 '16 19:03 smira