langflow icon indicating copy to clipboard operation
langflow copied to clipboard

LangFlow suddenly crashed and can no longer be started

Open tzengshinfu opened this issue 3 months ago • 3 comments

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

  1. Start LangFlow and PGVector (container settings are as shown in the attachment: docker-compose.yml.txt).
  2. Execute flow_1 to vectorize the file: 2024-11-19_07-29-59_20221117_edited.md and write it into PGVector.
  3. Execute flow_2 to ask a question; everything worked fine at this stage.
  4. After a while, LangFlow crashed on its own and could not be restarted properly.
  5. 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

image_20241120_103531

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

tzengshinfu avatar Nov 20 '24 03:11 tzengshinfu