langflow
langflow copied to clipboard
LangFlow suddenly crashed and can no longer be started
Bug Description
Yesterday, I started LangFlow inside a container and created two Vector Store RAG workflows: flow_1: Vectorized Markdown documents and wrote them into PGVector. flow_2: Matched user queries with PGVector to retrieve answers. Both workflows ran smoothly yesterday.
This morning, I discovered that LangFlow had suddenly crashed, and the log is as follows: langflow-crash.log(As seen at [11/20/24 09:39:20])
Even after deleting the vectorization records in PGVector, it still couldn't start successfully. Ultimately, I had to delete all the tables storing the vectorized document data to get it to start properly.
Reproduction
- Start LangFlow and PGVector (container settings are as shown in the attachment: docker-compose.yml.txt).
- Execute flow_1 to vectorize the file: 2024-11-19_07-29-59_20221117_edited.md and write it into PGVector.
- Execute flow_2 to ask a question; everything worked fine at this stage.
- After a while, LangFlow crashed on its own and could not be restarted properly.
- The memory usage of the host at the time was not significantly increasing but rather decreasing (as shown in the attachment: Memory_usage)
Expected behavior
Continues to run normally.
Who can help?
No response
Operating System
Ubuntu 22.04.5
Langflow Version
1.0.19 (docker)
Python Version
None
Screenshot
Flow File
flow_1.json flow_2.json 2024-11-19_07-29-59_20221117_edited.md docker-compose.yml.txt langflow-crash.log Memory_usage