Closed DutchComputerKid closed 1 year ago
Played for a day or so, this happens randomly too. Clicking rapidly on the song inside the m3u or m3u itself just speeds up the problem. External Player can hang Airsonic at any moment, but why, I'm not sure.
@DutchComputerKid I think this is the same problem as #87.
Oh indeed, its the exact same problem. This one's been an Airsonic problem for a year or more. Should I close this then?
What happened?
Accesing files rapidly can overwhelm the Recently Played iframe or backend, where it can go so out of hand anyone using an external player can no longer access any files unless Airsonic is restarted. With the "now playing" bar frequently getting filled up to the point of hanging Airsonic where only a restart will help.
This problem is especially problematic if a file that cannot be played in an external player is attempted, and the player software skips through the whole playlist quickly, softlocking the server in the process. The CPU's of the server in question will all get pegged to 100% usage until Airsonic is stopped.
Which results in this, often with multiple users cascading.
Steps to reproduce
Version
Edge
Version Detail
11.0.2-SNAPSHOT.20230307000030
Operating System
Debian 11
Java Version
Java 17.0.6 OpenJDK AMD64
Database
Other
DB Detail
HSQLDB
Configuration paramter
/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin/java -Xmx2048m -Dairsonic.home=/var/airsonic -Dserver.port=4534 -Dserver.use-forward-headers=true -jar /var/airsonic/airsonic.war
Proxy Server
NGINX
client detail
Firefox, Pale Moon, Chrome, all of them.
language
English
Relevant log output
No response