Some context:
Cent OS 5.5 i686
Subsonic 4.4 (i usually run the betas and then upgrade, gotta love me some bleeding edge)
I run the subsonic UI as a http_proxy vhost under apache. here is that config:
- Code: Select all
<IfModule mod_proxy.c>
<VirtualHost *:80>
ServerName ss.my-domain-name.com
ProxyPass / http://localhost:4040/
ProxyPassReverse / http://localhost:4040/
ProxyRequests Off
<Proxy http://localhost:4040/*>
Order Allow,Deny
Allow from all
</Proxy>
</VirtualHost>
</IfModule>
Subsonic is thus accessed through port 80 on a subdomain, and this has worked fine for about 3 months now.
Here is my SUBSONIC_ARGS line from /etc/sysconfig/subsonic (yes my drives are named after the 3 stooges)
- Code: Select all
SUBSONIC_ARGS="--max-memory=100 --default-music-folder=/media/moe/Music/Library --default-playlist-folder=/media/moe/Music/Playlists"
Other than that, the setup is standard. Have a user, have some tunes, and I mostly use the Android App (driving, at work) and only use the UI (via the subdomain) from the local network. Perhaps of note is the fact that I have the server set up in the Android App to point to the subdomain.
So the issue I am seeing is that the files are not downloading consistently. They stop and will not restart. I am wondering if this has to do with the use of the subdomain. When I use htop (seriously one of the best cli apps ever created), I see 30 processes running the following command:
- Code: Select all
java -Xmx100m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=0 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/media/moe/Music/Library -Dsubsonic.defaultPodcastFolder=/var/music/Podcast -DdefaultPlaylistFolder=/media/moe/Music/Playlists -Djava.awt.headless=true -jar subsonic-booter-jar-with-dependencies.jar
So that makes sense, its grabbing my config from /etc/sysconfig/subsonic. But why are there 30 of them? Each says its taking about 6% of my memory, and yeah, thats just not cool. (i know the math doesnt work out, but the end result is still the same. Slow). Has anyone else been running subsonic through apache, and has anyone experienced such a large number of processes?
