Re: ChannelParticipation integration tests fail with "too many open files" on OSX 10.15
toggle quoted messageShow quoted text
Jay, on mac, there is this experimental feature called gRPC FUSE which has been causing issues for Fabric. If you disable that feature, things may do well. You probably can try that.
Hi Brett and Yacov, Thanks for your feedbacks! I hope I don’t need...
Thanks for your feedbacks!
I hope I don’t need to escape OS X system integrity protection for this. Although I still don’t understand why channel participation api integration test requires extra limit, comparing to other kinds of tests.
I’d definitely appreciate it if you could shed some light on this.
On Thu, Feb 18, 2021 at 00:11 Brett Logan <development.brett@...> wrote:
Will and I actually debugged this same problem when he was writing the Channel Participation API tests. The issue was, on Mac the Open File Limit was pretty low, and there is no simple way to change it. I can't for the life of me remember what we changed to prevent hitting it in the tests, and unfortunately that conversation is lost to history in Slack once I left IBM. I'll poke around and see if I can remember what the root cause was or what we did to mitigate it, there might be a merged PR out there somewhere where Will posted the cause.
On Wed, Feb 17, 2021 at 10:31 AM Yacov <yacovm@...> wrote:
This is interesting.
It can be either a socket leak or a file leak.
You can isolate your process id (PID) and then invoke lsof -p on it to see what files it is holding.
From: "Jay Guo" <guojiannan1101@...>
To: hyperledger-fabric <hyperledger-fabric@...>
Date: 02/17/2021 05:23 PM
Subject: [EXTERNAL] [Hyperledger Fabric] ChannelParticipation integration tests fail with "too many open files" on OSX 10.15
Sent by: fabric@...
Hi folks, I'm getting this bizarre error while trying to run...
I'm getting this bizarre error while trying to run integration tests of `ChannelPartitipation`. I'm on OSX 10.15 and wonder if anyone has ever encountered the same issue. I don't think my open files are close to the limit of the system.
Here's an example of failure log of one test case: https://pastebin.com/2EYDgHVY