larasearch icon indicating copy to clipboard operation
larasearch copied to clipboard

Reindexing: got Killed

Open tacbephot opened this issue 9 years ago • 1 comments

Hi there, when i'm trying to reindex by command:

php artisan larasearch:reindex CGCase\\Models\\Objects --relations

and it showing this:

php artisan larasearch:reindex CGCase\\Models\\Objects --relations
---> Reindexing CGCase\Models\Objects
* Batch 1
Killed

I dont know what that means :( Please help :(

tacbephot avatar Apr 23 '15 04:04 tacbephot

It looks like the reindexing is getting killed by the Linux OOM killer. How big is your data set? Make sure that you don't have any circular relations in the models. If you are not sure then start by building up the relations one-by-one (don't forget to update the paths everytime). Also, try reducing the batch size.

iverberk avatar Apr 23 '15 11:04 iverberk