Skip to content

Threads hanging consuming a full core #1942

Open
@Nemo157

Description

@Nemo157

First noticed 2022-11-14 we had much higher cpu usage than usual

image

The cratesfyi process was at 300% cpu usage. After restarting the process everything went back to normal.

Again on 2022-11-30 we noticed high cpu usage, this time checking the per-thread stats it was 2 unnamed threads causing it. Again a restart fixed it

I suspected it was related to #1842, so ran a script highlighting every readme from the production database dump, that managed to find one readme that hung at 100% cpu usage. Opened an upstream issue trishume/syntect#460, but this is likely not the only path through which this can be triggered.

Metadata

Metadata

Assignees

Labels

A-backendArea: Webserver backendC-bugCategory: This is a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions