Skip to content

Timeline use spawns excessive processes leading to CPU exhaustion and UI lockup #137

@abn

Description

@abn

Describe the bug
When typing into the "What's on your mind?" box in the timeline, the start_backend.py script appears to spawn an unbounded number of Python processes. This results in a Load Average exceeding 30.0, saturating all 32 CPU cores and eventually causing a complete system/UI freeze.

CPU Saturation: All 32 cores are pegged at 90-100% utilization.
Process Proliferation: Dozens of identical /home/abn/.../python3 .../start_backend.py processes are visible in the process list.
System Impact: Significant UI lag transitioning into a total system lockup.

I am assuming here this has to do with the graph dynamically adjusting.

To Reproduce

  1. Open nowledge-mem.
  2. Go to Timeline.
  3. Type a long sentence manually.

Expected behavior
It works without locking up the system, and there are limits to how many processes are spawned.

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions