Re: Are NIF resources meant to be destroyed immediately on GC?

Sean Hinde <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>

> On 25 Nov 2020, at 17:28, Max Lapshin <[email protected]> wrote:
> 
>> found a way to leave a socket connection open once it had "gone out of scope".
> 
> 100% it was a bug of their benchmark.
> 
> Reason was very simple: this C++ programmer just wanted job security.

Oh yeah! Mission accomplished. I think he just opened a socket, didn't store the socket ref in the process state, but kept the process alive. His conclusion was that the Erlang GC leaks sockets.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.