libp2p/js-libp2p-webrtc-direct

Fatal error in task_queue_libevent.cc

Closed this issue · 1 comments

Hi, I'm seeing the error below often. It's causing my libp2p process to crash. I think it's related webrtc-direct because the error is in rtc_base. Any ideas what might be causing this?

Jun 11 01:22:24 ns577615 node[17383]: #
Jun 11 01:22:24 ns577615 node[17383]: # Fatal error in: ../../download/src/rtc_base/task_queue_libevent.cc, line 276
Jun 11 01:22:24 ns577615 node[17383]: # last system error: 0
Jun 11 01:22:24 ns577615 node[17383]: # Check failed: sizeof(buf) == read(socket, &buf, sizeof(buf))
Jun 11 01:22:24 ns577615 node[17383]: #

I seem to have fixed this by removing the manual file descriptor limits I added to fix a bug in the past. Now I'm getting a new error that is likely not caused by webrtc-direct, so closing this issue.

For reference, I'm now seeing this:

[err] evsignal_init: socketpair: Too many open files