Skip to content

Traces not showing in GUI when viewing sessions with large no of traces #82

Open
@andyozj

Description

@andyozj

Good Morning Developers!

I'm self-hosting langfuse v3 through helm chart v0.10.2.

Used the default helmchart dependencies for clickhouse, m`inio and valkey, but existing postgres set-up.

I've also increased all deployments/sts to reasonable resources such as 2cpu,8gb memory.

My developers team has submitted jobs of sessions with traces counts >20k, and have difficulty viewing them.

I've increased NODE_OPTIONS to value: --max-old-space-size=12288, for both langfuse web/worker with 4cpu and 16gpu memory.

The website will "stuck" at the following status for awhile before entering a "loading" state.
Image

Image

Upon monitoring the logs of the langfuse-web pod, I noticed that there's the following error:

2025-02-27T03:43:09.055Z error  Unable to get sessions.byId Timeout error.
Error: Timeout error.
    at Socket.b (/app/web/.next/server/chunks/6220.js:61:58104)
    at Object.onceWrapper (node:events:632:28)
    at Socket.emit (node:events:530:35)
    at Socket._onTimeout (node:net:595:8)
    at listOnTimeout (node:internal/timers:581:17)
    at process.processTimers (node:internal/timers:519:7)
2025-02-27T03:43:09.057Z error  middleware intercepted error with code INTERNAL_SERVER_ERROR unable to get
 session

Any suggestions/ potential resolutions will be good!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions