There's currently a discrepancy between the number of available file descriptors when running bitcoind or bitcoin-qt on macOS. When we call RaiseFileDescriptorLimit, rlim_cur is 256 for bitcoind, however it's 2560 for bitcoin-qt. I couldn't find anything obvious that would be causing the difference, like calls to setrlimit() inside Qt or it's dependencies (zlib for macOS).
I've been testing using cd6cb9745e13a62e130b11f78a13bcc1d424b05e and depends, however have observed the same difference for non depends builds as well. I would like to know what is raising the fd limit for our bitcoin-qt process before we call RaiseFileDescriptorLimit.