-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make check fails on Mac OS X #600
Comments
With the latest release of RockSB (3.11.1), on Mac OS X I get the same exception:
Is there any advice regarding this issue? |
At least in my case, the max number of allowed open files was very low. Fixed that and check passes OK. |
I am seeing this issue again, if I restart my Mac OS X 10.10.4 system, and make sure that I am not running any applications and then run
|
Well I don't know how many file handles RocksDB needs, but the following settings (on Yosemite) at least let me run the test suite until it fails (for other reasons): $ sudo sysctl -a | grep maxfiles
kern.maxfiles: 12288
kern.maxfilesperproc: 10240
$ sudo sysctl kern.maxfiles=24576
$ sudo sysctl kern.maxfilesperproc=20480 |
On HEAD of
master
when runningmake clean jclean check
I get a build failure on Mac OS X about too many open files:This is a relatively recent development and did not occur previously.
sysctl kern.maxfiles
reports12288
on my system, and after the build failslsof | wc -l
reports11481
. Is it possible that building rocks and running check requires opening another 807 files? Or is rocks leaking file handles?The text was updated successfully, but these errors were encountered: