Layr-Labs / Layr-Labs/d-inference

[bug] 100% CPU usage without serving requests

Open
#365 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
522
Forks
113
Avg merge
17h 26m
Merged PRs (30d)
111

Description

### Component

not sure

### What happened?

Even when not seeing an active job being processed for a while, it seems the Darkbloom process continuously uses 100% cpu, which in general seems to be unnecessary. Likely some infinite loop in a process somewhere.

### Expected behavior

Expecting perhaps 10% on one core for polling here and there, thermals to go almost idle if/when little to serve.

### Steps to reproduce

1. run `darkbloom start`
2. See cpu go to 100% on the process
3. view the web UI/provider dashboard
4. No requests being processed
5. Still continuously see 100% cpu on the Darbloom process

### Environment

version 0.6.10
MacOS 26.4.1 (25E253)

### Logs

```shell

```

### Confirmations

- [x] I searched existing issues and this isn't a duplicate

Contributor guide

Open the contributing guide

Research direction

Start by running `darkbloom start` on the reported environment and observe the process while no requests are being served. Compare CPU usage with the web UI/provider dashboard idle, then identify the responsible component or loop. Done means idle Darkbloom uses substantially less CPU without affecting request serving.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.