scoutapp / scout_apm_elixir

ScoutAPM Elixir Agent. Supports Phoenix and other frameworks.
https://scoutapm.com
Other
36 stars 20 forks source link

Hackney fails to report payload under (very) high load #80

Open cschneid opened 5 years ago

cschneid commented 5 years ago

Had an isolated report of this from a customer doing load testing:

 iex(4)> [info] Reporting ScoutAPM Payload Failed: Hackney Error: :emfile

Hackney has a feature called 'Connection Pooling' that may avoid this, although I've not looked into it yet.

In trying to fix this, note that we intentionally use a very loose requirement on Hackney so as not to affect our customer's more specific version requirement.