Skip to content
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

Lost background tasks. Creation of chatbot fails when multiple chatbots are created at the same time. #230

Open
zypriafl opened this issue Aug 26, 2024 · 2 comments

Comments

@zypriafl
Copy link

I have started by creating 4 chatbots simultaneously using different configurations.

BUG: Unexpected Failed Chatbot Creation without logs:
All chatbots were created successfully except for one that is still loading till today. By debugging the logs it seems that the task for the creation of this chatbot has been received:

2024-08-06T12:16:54.455258684Z celery.node Received task: tasks.crawl[6a3f80c0-075b-462e-a525-dd299409c908], args: [object Object],66b21436a6f4fb590eb28d32,1,false, kwargs: {}

But it has never finished.
The corresponding task to the chatbot that is still hanging only had a task received but NO task finished. 
Also by looking on the list of processes, there is not corresponding PID to the crawler worker that is using significant amount CPU.

No information was logged to the user and the task was lost without any available logs or information.

Do you habe any ideas what can cause this behaviour?

@hrithikt
Copy link
Member

@zypriafl Could you please provide some more details? If you have access to the database, can you check and share the status of the knowledge base?

In the meantime, I will attempt to reproduce the issue.

@ArnoldSelly
Copy link

ArnoldSelly commented Sep 3, 2024

I have the same problem. When I started creating 3 chatbots in parallel. 1 is lost and there is nothing you can do about it except deleting the chatbot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@zypriafl @hrithikt @ArnoldSelly and others