Skip to content

Commit

Permalink
Reporting a stale socket leak (memory leak + FD starvation) in Ethon
Browse files Browse the repository at this point in the history
See typhoeus/ethon#194 and typhoeus/ethon#198 for a bit more details
The revert is in master but no gem released yet (`0.14.0` is latest when I write this, and it's impacted).

FTR I tried submitting this through the form (https://www.rubymem.com/advisories/preview) but I get a 500 every time.
  • Loading branch information
jarthod authored Aug 17, 2021
1 parent 7f275a4 commit 41bba3c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions gems/ethon/194.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
gem: ethon
date: 2021-05-28
url: https://github.com/typhoeus/ethon/issues/194
title: Stale socket leak in Ethon
description: Some cleanup code in Ethon is not called when the object is garbage collected,
leaking stale sockets in CLOSE_WAIT state indefinitely. The impact is a memory leak
+ file description starvation.
unaffected_versions:
- "<= 0.12.0"
related_links:
- 'Commit introducing the issue: https://github.com/typhoeus/ethon/commit/b4899b952f85d089358f599c71b0cf7b03db6c39'
- 'First report about stale socket: https://github.com/typhoeus/ethon/issues/194'
- 'Reverted in https://github.com/typhoeus/ethon/pull/195/files'
- 'Second report about memory leak: https://github.com/typhoeus/ethon/issues/198'

0 comments on commit 41bba3c

Please sign in to comment.