Skip to content

bug: very high CPU usage from events server (Rust 1.78.0 regression) #341

@insertish

Description

@insertish
Member

What happened?

Something changed between 20240805-1 and 20240829-3 that is causing very high CPU usage.

Activity

insertish

insertish commented on Sep 9, 2024

@insertish
MemberAuthor

nominal:
image

problematic:
image

insertish

insertish commented on Sep 9, 2024

@insertish
MemberAuthor

Configurations tested:

Image Rust Version Base Image
20240805-1 1.70.0 debian:bullseye-slim
20240829-3, 20240830-1 1.80.1 gcr.io/distroless/cc-debian12:nonroot
20240909-1-debug 1.80.1 debian:bookworm-slim
20240909-4-debug 1.70.0 gcr.io/distroless/cc-debian12:nonroot No build
20240909-5-debug 1.76.0 gcr.io/distroless/cc-debian12:nonroot
20240909-6-debug † 1.79.0 gcr.io/distroless/cc-debian12:nonroot
20240909-7-debug 1.77.0 gcr.io/distroless/cc-debian12:nonroot
20240909-8-debug 1.78.0 gcr.io/distroless/cc-debian12:nonroot
20240909-9-debug 1.77.2 gcr.io/distroless/cc-debian12:nonroot

† Image overwritten by 7-debug by accident

insertish

insertish commented on Sep 9, 2024

@insertish
MemberAuthor

All signs point to a regression in Rust currently.

insertish

insertish commented on Sep 9, 2024

@insertish
MemberAuthor

Something changed in Rust 1.78.0 that is causing very high CPU usage: https://releases.rs/docs/1.78.0/

changed the title [-]bug: very high CPU usage from events server[/-] [+]bug: very high CPU usage from events server (Rust 1.78.0 regression)[/+] on Sep 9, 2024
moved this from 🆕 Untriaged to 💡 Open in Revolt Projecton Sep 29, 2024
pinned this issue on Oct 28, 2024

8 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @jyn514@insertish@IAmTomahawkx@phazeschift

      Issue actions

        bug: very high CPU usage from events server (Rust 1.78.0 regression) · Issue #341 · revoltchat/backend