-
Notifications
You must be signed in to change notification settings - Fork 225
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
[BUG] AttributeError: 'StaticDiskIndex' object has no attribute 'query' #599
Comments
急缺一个能够参考落地的example,不然还是束之高阁。 |
100万数据,768维度, |
This is my fault - the docs should say |
Regarding the error you're getting - check to see what your aio-max-nr is set to by default. According to the internet, 2^16 is likely the default. That said, you're allocating 44 threads for this - and I would be absolutely shocked if you were using 2^16 for just 44 threads. So I'm not sure why this is happening unless you have a ton of open indices at the same time. sudo su -
cat /proc/sys/fs/aio-max-nr # this will tell you what it's currently set to
echo 655360 > /proc/sys/fs/aio-max-nr # this will increase the possible amount of asynchronous AIO requests I would try to track down why so many are being used - and I'm not entirely sure how to do that. Increasing the total amount your system will allow may make it so that you can finish your test, but you will probably want to try to track down why so many async requests are being opened at the same time. This stack overflow may be of utility: https://stackoverflow.com/questions/28999765/how-does-the-linux-kernel-handle-asynchronous-i-o-aio-requests - specifically using |
Expected Behavior
Tell us what should happen
Actual Behavior
Tell us what happens instead
Example Code
refer the python version code
Dataset Description
Please tell us about the shape and datatype of your data, (e.g. 128 dimensions, 12.3 billion points, floats)
Error
Your Environment
Additional Details
Any other contextual information you might feel is important.
The text was updated successfully, but these errors were encountered: