Page 1 of 1

High CPU usage when connecting from the internet

PostPosted: Mon Apr 13, 2015 8:47 pm
by JF002
Hi,

I'm new to Subsonic, but it seems to be a really good piece of work!

I installed it on my RaspberryPi 2 (quad core @ 900Mhz, 1GB RAM), and the web interface works very well. I indexed my library (~50GB, 7800 songs).

I have no issue when I use it from my local network, it runs smoothly.
But when I connect from the outside (I use TOR for that), I notice that the CPU usage rises : from less than 20% on 1 core, it uses 100% from 1 to 4 cores, and CPU load average goes up to... 4.00.

Here is my version of Java:
Code: Select all
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~deb7u1+rpi1)
OpenJDK Zero VM (build 24.75-b04, mixed mode)


Subsonic:
Code: Select all
5.2.1 (build 4428) – March 4, 2015


Server:
Code: Select all
jetty-6.1.x, java 1.7.0_75, Linux (48.4 MB / 103.1 MB)


I don't know why it does that only when I connect from the internet/Tor, and not from localhost.

Any ideas?

Thanks for your help!

Re: High CPU usage when connecting from the internet

PostPosted: Sat May 16, 2015 10:50 am
by JF002
Ok, no answer for a long time. I know it makes no sens, but this is exactly what I'm observing.

For your information, I tried to update everything, the issue is still there.

I forgot to mention that the library (music files) are hosted on a SMB share, on the local network. I don't know if it can be of any help...