-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Since I upgraded my application to v9.17.0, I've seen a substantial increase in CPU usage: whereas previously the app was using no CPU when dormant, after the upgrade it's consistently using 10% CPU.
The only difference is an upgrade from v9.16.0 to v9.17.0.
Expected Behavior
Would expect same resource usage as on v9.16.0.
Current Behavior
CPU is much higher, even when dormant.
Steps to Reproduce
My app creates a simple client as follows:
client := redis.NewClient(&redis.Options{
Addr: configuration.Redis.Addr,
Username: configuration.Redis.Username,
Password: configuration.Redis.Password,
DB: configuration.Redis.Database,
})
Running pprof, I see a 60% of time spent in syscall.Syscall6, triggered by syscall.EpollWait (50%), called by runtime.findRunnable. So, it looks like something is constantly waking up the scheduler.
Context (Environment)
- Go 1.25.4
- Runtime: linux 6.8.0-1040-raspi running on arm64
Metadata
Metadata
Assignees
Labels
No labels