-
Notifications
You must be signed in to change notification settings - Fork 61
os error 22 when indexing #370
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
Comments
Hi @mmisiewicz , thanks for reporting the issue. Can you try the following cases and see which one will make it, so we can try to understand from where the issue is coming.
Also can you share the data type of |
Hey @var77 - Running the indexing on a subset of 10,000, 100,000 and at least 1MM one time worked OK. Beyond that OS Error 22 when running the indexing server on my M1 Ultra. I observed a similar seeming error running the index request against an indexing server on x86 Linux, OS Error 11, resource temporarily unavailable. Could that be a clue? Is there a way to increase verbosity to find out where these errors are coming from? |
the issue also occurs when running lantern as a postgres background worker.
|
One more clue... I am able to reproduce the issue using the autotune tool on a table with the embedding stored in a
Note that when the table contains 1MM rows, the first create index command tested by the autotuner failed (m = 6). Test table has a very minimal schema of
|
Thanks for sharing the details, can you try one more thing as well:
Meanwhile I will try to think of a way to get more verbose output. |
On MacOS 15.2, running postgres 16 from home-brew, and building lantern from master, the following inscrutable errors are thrown when using an external index:
The corresponding command on the postgres side:
The partial index (
where
) has no impact, I simply put this in because the table is large and debugging this problem is a PITA.Lantern was invoked using:
Thinking that this might be gatekeeper related, I tried changing
tmp-dir
but it had no impact.The text was updated successfully, but these errors were encountered: