Skip to content

go-librespot high CPU usage #51

@markferry

Description

@markferry

Three go-librespot instances all reporting 100% CPU usage.

top - 08:53:08 up 28 days,  9:42,  7 users,  load average: 5.59, 5.62, 5.53                                                                                                                                                                  
Tasks: 297 total,   2 running, 295 sleeping,   0 stopped,   0 zombie                                                                                                                                                                         
%Cpu(s): 78.3 us,  1.1 sy,  0.0 ni, 10.4 id, 10.0 wa,  0.0 hi,  0.2 si,  0.0 st                                                                                                                                                              
MiB Mem :  32044.2 total,   3504.3 free,   6474.3 used,  22537.1 buff/cache                                           
MiB Swap:      0.0 total,      0.0 free,      0.0 used.  25569.9 avail Mem                                                                                                                                                                   
                                                                                                                                                                                                                                             
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                               
3312894 snapser+  20   0 1836604  19708   8576 S  99.7   0.1     17,20 go-librespot                                                                                                                                                          
3312735 snapser+  20   0 1836604  21748   8604 S  99.3   0.1     12,25 go-librespot                                                                                                                                                          
3312871 snapser+  20   0 1836348  23736   8564 S  98.7   0.1     18,12 go-librespot                                                                                                                                                          
...                                                                                                                                      
3312719 snapser+  20   0  324892  17748  10600 S   0.7   0.1      8,42 snapserver                    

Only noticed when on UPS so no diagnostics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions