jina-ai / examples

Jina examples and demos to help you get started
https://docs.jina.ai
Apache License 2.0
453 stars 140 forks source link

Southpark-search indexing process got stuck #49

Closed pswu11 closed 4 years ago

pswu11 commented 4 years ago

I have been trying to run southpark-search following the instruction and the process seemed to stuck somewhere every time. (Before I have already tried jina hello-world and it can be executed without a problem.)

At first I thought it's still in progress just very slowly. But then I checked the system monitor they all seem kinda "idle". Nothing changed even after 20+ minutes.

Environment

Desktop: Fedora 31 (kernel 5.6) Python version: 3.7.7 Jina version: 0.1.10 (installed via PyPi)

Steps

Logs

Below is the logs that I reproduced today: https://gist.github.com/pswu11/0724531689b5f700a40ccd4384c3fb15

Screenshot

Screenshot from 2020-05-14 12-06-47

nan-wang commented 4 years ago

@pswu11 hi, there. This bug is fixed at PR-422. Would you please pull the latest codes and give it another try?

pswu11 commented 4 years ago

@pswu11 hi, there. This bug is fixed at PR-422. Would you please pull the latest codes and give it another try?

Hello Nan, thank you! I have tried to run southpark-search with the latest version of Jina (0.1.12). The indexing seemed to be running all the way very fine until this point (1205 batch), and the process stopped again. Do you think it's the same bug?

index [=                   ] 📃   9608 ⏱️ 1479.8s 🐎 6.5/s   1201 batch        encoder@8760[I]:received "index" from gateway▸splittor-0▸⚐
  chunk_indexer@8763[I]:received "index" from gateway▸splittor-0▸encoder-0▸⚐
       join_all@8769[I]:received "index" from gateway▸splittor-0▸encoder-0▸chunk_indexer-0▸⚐
       join_all@8769[I]:collected 2/2 parts of IndexRequest
index [==                  ] 📃   9616 ⏱️ 1480.9s 🐎 6.5/s   1202 batch        encoder@8760[I]:received "index" from gateway▸splittor-0▸⚐
  chunk_indexer@8763[I]:received "index" from gateway▸splittor-0▸encoder-0▸⚐
       join_all@8769[I]:received "index" from gateway▸splittor-0▸encoder-0▸chunk_indexer-0▸⚐
       join_all@8769[I]:collected 2/2 parts of IndexRequest
index [===                 ] 📃   9624 ⏱️ 1482.1s 🐎 6.5/s   1203 batch        encoder@8760[I]:received "index" from gateway▸splittor-0▸⚐
  chunk_indexer@8763[I]:received "index" from gateway▸splittor-0▸encoder-0▸⚐
       join_all@8769[I]:received "index" from gateway▸splittor-0▸encoder-0▸chunk_indexer-0▸⚐
       join_all@8769[I]:collected 2/2 parts of IndexRequest
index [====                ] 📃   9632 ⏱️ 1483.2s 🐎 6.5/s   1204 batch  chunk_indexer@8763[I]:received "index" from gateway▸splittor-0▸encoder-0▸⚐
       join_all@8769[I]:received "index" from gateway▸splittor-0▸encoder-0▸chunk_indexer-0▸⚐
       join_all@8769[I]:collected 2/2 parts of IndexRequest
index [=====               ] 📃   9640 ⏱️ 1484.5s 🐎 6.5/s   1205 batch