Skip to content

bug(kb): knowledge search did not answer within 60s on the live install — no server-side timeout #18847

Closed as duplicate

Description

@mrveiss

Problem

POST /api/knowledge_base/search (api/knowledge_search.py:566) did not answer within 60 s on a live install (curl timeout, no response). GET /api/llc/companies/ also took more than 30 s in the same window. The host was heavily loaded (load average about 21 on 22 cores), and the backend crashed with SIGABRT minutes later (#18836).

Not yet known

Whether search is slow in itself (reranker, embeddings failing per #18834) or only starved by load. One sighting; needs a measurement under normal load.

Acceptance criteria

  • p50/p95 latency of KB search measured on the live install under normal load
  • The search endpoint enforces a server-side timeout and returns a typed error rather than hanging

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions