Subsonic web ui freeze

Need help? Post your questions here.

Moderator: moderators

Subsonic web ui freeze

Postby yoda723 » Wed Aug 03, 2011 9:16 pm

Hi all,

I'm using subsonic for a long time now. But since a few days, i'm having some stability problems.
The server start normally but after a certain time of use (web ui with only mp3 streaming), the communication with the web interface is lost. I have to restart the service to be able acces subsonic again.
When I look at the subsonic log, it seems there is a problem in the web interface thread.

How could I fix this?

Playback Application and version: web ui
Subsonic Version: 4.5.beta2
Server Version: jetty-6.1.x, java 1.6.0_26, Windows 7 (58,7 MB / 102,7 MB)
Hardware Platform: Windows
Java Memory Limit: 240MB

Code: Select all
rdSettingsController,homeController,editTagsController,playlistController,xspfPlaylistController,coverArtController,avatarController,proxyController,statusChartController,userChartController,m3uController,streamController,videoPlayerController,externalPlayerController,downloadController,donateController,multiController,wapController,restController,dbController,savePlaylistValidator,donateValidator,userSettingsValidator,passwordSettingsValidator,urlMapping,messageSource,themeSource,localeResolver,themeResolver,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@131c89c
2731 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization completed in 546 ms
2763 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:8080
Subsonic running on: http://localhost:8080/
2794 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
3839 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
3886 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[169.254.21.32:9412](local),objID:[0:0:0, 0]]]]
5071 [btpool0-1] INFO org.directwebremoting.log.startup - Starting: DwrServlet v3.0.0.116.rc1 on jetty-6.1.x / JDK 1.6.0_26 from Sun Microsystems Inc. at
Exception in thread "btpool0-0" java.lang.UnsatisfiedLinkError: sun.nio.ch.WindowsSelectorImpl.discardUrgentData(I)Z
   at sun.nio.ch.WindowsSelectorImpl.discardUrgentData(Native Method)
   at sun.nio.ch.WindowsSelectorImpl.access$2200(Unknown Source)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.processFDSet(Unknown Source)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.processSelectedKeys(Unknown Source)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$2900(Unknown Source)
   at sun.nio.ch.WindowsSelectorImpl.updateSelectedKeys(Unknown Source)
   at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
   at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
   at sun.nio.ch.SelectorImpl.select(Unknown Source)
   at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:416)
   at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:168)
   at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
   at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:514)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)



Edit:

I have forget to post the content of the agent log file:

Code: Select all
16 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1e9cb75: display name [org.springframework.context.support.ClassPathXmlApplicationContext@1e9cb75]; startup date [Fri Aug 05 19:59:42 CEST 2011]; root of context hierarchy
80 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-agent.xml]
404 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@1e9cb75]: org.springframework.beans.factory.support.DefaultListableBeanFactory@f0c85e
416 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f0c85e: defining beans [service,agent]; root of factory hierarchy
48076 [pool-1-thread-1] WARN org.springframework.remoting.rmi.RmiProxyFactoryBean - Could not connect to RMI service [rmi://localhost:9412/SubsonicDeployerService] - retrying
2928311 [pool-1-thread-1] WARN org.springframework.remoting.rmi.RmiProxyFactoryBean - Could not connect to RMI service [rmi://localhost:9412/SubsonicDeployerService] - retrying
3025252 [pool-1-thread-2] WARN org.springframework.remoting.rmi.RmiProxyFactoryBean - Could not connect to RMI service [rmi://localhost:9412/SubsonicDeployerService] - retrying

Last edited by yoda723 on Fri Aug 05, 2011 8:57 pm, edited 2 times in total.
yoda723
 
Posts: 2
Joined: Wed Aug 03, 2011 8:55 pm

Postby yoda723 » Fri Aug 05, 2011 6:52 pm

UP
yoda723
 
Posts: 2
Joined: Wed Aug 03, 2011 8:55 pm

Re: Subsonic web ui freeze

Postby I312 » Fri Sep 16, 2011 8:41 pm

I don't use Subsonic, but I found your post while trying to figure out why my own Jetty server was having the exact same problem.

It turned out that my JVM's (1.6.0_23) nio.dll was missing the discardUrgentData function. Maybe the file had become corrupted, or perhaps it was never there in the first place.
I solved the problem by installing 1.6.0_27 which had a working nio.dll.

You might have similar success.
I312
 
Posts: 1
Joined: Fri Sep 16, 2011 8:17 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 29 guests