philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.43k stars 216 forks source link

aircast very high cpu #525

Closed rlefig closed 2 months ago

rlefig commented 2 months ago

Hi, starting to use outside speaker that needs aircast and see high cpu like 100%

top - 17:29:23 up 16 min, 3 users, load average: 1.19, 1.23, 0.96 Tasks: 229 total, 2 running, 227 sleeping, 0 stopped, 0 zombie %Cpu(s): 30.7 us, 0.4 sy, 0.0 ni, 68.4 id, 0.2 wa, 0.2 hi, 0.1 si, 0.0 st MiB Mem : 7507.2 total, 4238.6 free, 2265.3 used, 1555.0 buff/cache MiB Swap: 2984.0 total, 2984.0 free, 0.0 used. 5241.9 avail Mem

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND

1174 root 20 0 304440 10360 5300 R 99.3 0.1 16:13.19 aircast-linux-x 3303 rlefig 20 0 3147372 469308 100296 S 20.9 6.1 1:54.31 WebExtensions 788 avahi 20 0 15676 7004 5968 S 1.3 0.1 0:10.94 avahi-daemon 3123 rlefig 20 0 3928368 448568 209976 S 1.3 5.8 0:46.31 firefox

Any idea why this is happening? What can I check

rlefig commented 2 months ago

● aircast.service - AirCast Loaded: loaded (/etc/systemd/system/aircast.service; enabled; preset: disabled) Active: active (running) since Thu 2024-04-11 17:13:06 EDT; 17min ago Main PID: 1174 (aircast-linux-x) Tasks: 13 (limit: 47633) Memory: 6.3M CPU: 17min 28.822s CGroup: /system.slice/aircast.service └─1174 /usr/local/bin/aircast-linux-x86_64 -l -z -x /usr/local/bin/aircast.xml

Apr 11 17:13:06 d5070 systemd[1]: Started AirCast. Apr 11 17:13:06 d5070 aircast-linux-x86_64[1174]: [17:13:06.085332] main:912 Starting aircast version: v1.1.5 (May 7 2023 @ 13:42:16) Apr 11 17:13:06 d5070 aircast-linux-x86_64[1174]: [17:13:06.086105] Start:679 Binding to 10.0.0.131 Apr 11 17:13:06 d5070 aircast-linux-x86_64[1174]: [17:13:06.090919] Start:704 Starting pico HTTP server on port 52805 Apr 11 17:13:06 d5070 aircast-linux-x86_64[1174]: [17:13:06.096892] AddCastDevice:644 [0x1666f70]: adding renderer (Pool speaker) with mac CCCCF9C20968 Apr 11 17:13:06 d5070 aircast-linux-x86_64[1174]: [17:13:06.116584] AddCastDevice:644 [0x1667908]: adding renderer (Kitchen speaker) with mac CCCCB6CB7C5

rlefig commented 2 months ago

there was a problem with the starting in the service as when I run from command line no issues