[ http://dev.sourcefabric.org/browse/LS-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15750#action_15750 ]
Dmitry commented on LS-508: --------------------------- Unfortunately error still occurs even with icy_metadata="false" output.icecast(%aacplus(bitrate=32),icy_metadata="false", host="localhost", port=8000, password="hackme", fallible=true, mount="test32pl", playlist("C:\Streaming\liquidsoap\short")) Application doesn't create many sockets now, resource monitor doesn't show it. But it still crashes with the same issue. I tried to investigate other possible ways. Why only WAV and MP3 encoders showed "Too many open files"? Why OGG/MIDI/META decoders doesn't fail that way? http://screencast.com/t/tWmDcehJNpg What do you think: if I try to use flac files for testing will it help? Also I found that now version that uses request.dynamic fails after 1022 successful file requests (I added logging to my test application, that return name of mp3 file) http://screencast.com/t/cJ6fy979x I don't understand these results. It seems like 1022 = 1024 - 2 sockets, but why sockets and why it still crashes. Another thing that seems suspicious for me: different error messages when I use playlist and when I use request.dynamic. Instance that uses playlist generated from folder keeps trying to open new files while "request" version stops http://screencast.com/t/SbE0xon8V115 It seems that in "playlist" instance decoders failed while in "request" instance failed something else, because decoders doesn't report any errors. http://screencast.com/t/AwRMdu1JqJa Is it possible to stream to soundcard directly for testing? > "Too Many Open Files" crashes after 1024 opened files [Windows version] [1.0 > beta] > ---------------------------------------------------------------------------------- > > Key: LS-508 > URL: http://dev.sourcefabric.org/browse/LS-508 > Project: Liquidsoap > Issue Type: Bug > Components: Liquidsoap > Affects Versions: 1.0 beta > Environment: Windows 2003 server R2, Windows 7 SP1. > Liquidsoap 1.0.0 beta 1 ( liquidsoap-win32-snapshot-2011-04-06.zip ) > Reporter: Dmitry > Assignee: Romain Beauxis > Priority: Blocker > Fix For: 1.0 > > > Liquidsoap for windows crashes after 1024 opened files. > First I tried to use directory with files as source for playlist. Get the > error: http://screencast.com/t/dadCWNvSWfg > Config: > set("log.file",false) > set("log.stdout",true) > set("log.level",4) > output.icecast(%aacplus(bitrate=32),host="localhost", port=8000, > password="hackme", fallible=true, mount="test32pl", > playlist("C:\Streaming\liquidsoap\short")) > Next I tried to use request.dynamic to achieve the same functionality. > Similar error: http://screencast.com/t/ANDOpmB5e > Config: > set("log.file",false) > set("log.stdout",true) > set("log.level",4) > def request() = > path = list.hd(get_process_lines("scheduler.exe")) > request.create(path) > end > reqdyn = request.dynamic(request) > list = fallback(track_sensitive=true,[reqdyn, single("silent.mp3")]) > output.icecast(%aacplus(bitrate=32),host="localhost", port=8000, > password="hackme", fallible=true, mount="test32app", list) > Scheduler.exe - application that returns rantom mp3 file from directory with > music. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl