Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 6 of 6
  1. #1
    Senior Member ModelCitizen's Avatar
    Join Date
    May 2005
    Location
    Sussex UK
    Posts
    3,024

    Players frequently drop off network: Slim/Networking/IO/Select.pm line 150

    Hello,

    Since I moved house, exchanged my old Netgear router for a Netgear N300 Wireless Dual Band ADSL2+ DGND3300v2, and installed Logitech Media Server Version: 7.7.2 - r33893 on my Windows 7 box running Microsoft Security Essentials I find that my Boom, Radio and Receiver keep dropping off the network and that the only way I can get them to reconnect them is to reboot them. In addition every now and again Logitech Media Server just stops and I have to restart it. The only stable player is the Touch, which happens to have the best wireless signal at 70%. All the other players have between 50 and 60% wireless connectivity.

    I've been running the logs with the server switch on and have noticed that they are saturated with this error:

    [12-06-29 08:48:56.0854] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)

    Does anyone know what this means? Any suggestions how I might attempt to diagnose and cure my problems would be very much appreciated (barring instructions to reboot everything... which I've already done multiple times!).

    I'm running a bunch of plugins including MusicIP, MusicInfo, BBC iPlayer but can't seem to work out how to generate a list of them.

    Thanks for any comment.
    Somewhere, something incredible is waiting to be known
    Last.fm/user/ModelCitizen

  2. #2
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    11,660
    Can you connect one player wired ,if that one just behaves good after that, most of your problems are wifi related and you focus on that first . Server is it wired ?

    viStumbler netstumbler or similar wifi survey tools ?

    Do you have the old router around ? you have moved , it can be the new environment ?

    Imo for simplicity with wifi use a good WPA2 password don't hide SSID or use macfiltering or client limiting or some of those settings if your new router have it .
    Keep it 801.11g+n compatible don't also make it b compatible that would drag down performance .
    The new router does it automatically change channels ? turn that of and find out the best wifi channel manually .
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (in storage SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,246
    Quote Originally Posted by ModelCitizen View Post
    [12-06-29 08:48:56.0854] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)

    Does anyone know what this means?
    A simplified (also I don't know all the detaisl) explanation, at the heart of LMS is a "select" loop which means LMS is waiting for I/O operation (read or write) to complete on many different file descriptors. File descriptors (fd) will be open on all I/O such as web,on all the possible connection LMS has open - this include web, json, cli, streaming sources and streaming to players. So an error on an fd means one of the many fd's has closed unexpectedly for some reason - this can be a browser shutdown/page abort or a network error from a streaming source or a connection to a player or some other issue.

    So this error can be considered "normal" operation in many cases and does not help you find your problem. You need to get some more focussed logging to find the problem. If devices fall off the network I would start logging network activity first to see which end does the prpoblem originate - a player problem or a server problem ? Also eliminate connections to remove possibilities of wireless, router/switch and cable problems.
    Last edited by bpa; 2012-06-29 at 02:54.

  4. #4
    Senior Member ModelCitizen's Avatar
    Join Date
    May 2005
    Location
    Sussex UK
    Posts
    3,024
    Thanks you both.
    Have set up much as you recommend Mnyb and server wired. Old Netgear blew up. Unfortunately I have not got a wireless device capable of running Netstumbler.
    BPA. This line 150 I/O error is being generated every 10,000th of a second. Look below. :-)
    I'll set the logs up for caprure of network erros now.

    I suspect problem down to combination of router/devices and poor wireless signal but can find no other issues reported for this model of router so am uncertain.
    Due to topography and nature of house is very difficult to run anything wired but not sure this will prove anything as Touch runs rock solid with 70% wireless signal, as does the iPhone as player with a lot less signal.

    Am not sure how to determine whether router is b compatible. These are the settings:

    WPA2-PSK (Wi-Fi Protected Access 2 with Pre-Shared Key)
    Name (11N SSID): HalfYard_n
    Name (11G SSID): HalfYard_g
    Region: Europe
    Mode: Up to 300mbps at 5ghz and 54mbps at 2.4ghz
    11N Channel: 48
    11G Channel: 13

    Security Options
    WPA2-PSK (Wi-Fi Protected Access 2 with Pre-Shared Key)
    password: consists of eight lower case letters.

    There are no other wireless networks in range (I live in a field).


    Log:

    [12-06-29 08:48:56.0658] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0679] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0700] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0716] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0735] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0751] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0765] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0781] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0799] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0813] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0826] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)
    [12-06-29 08:48:56.0839] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 150.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe2ae8fc)

    Again, thanks.
    Somewhere, something incredible is waiting to be known
    Last.fm/user/ModelCitizen

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,246
    The "Select task failed" tell you NOTHING so and can happen for valid reasons so it is not possible to day whether they are part of your specific "device falling off" problem or part of a separate problem (e.g. javascript debug console active in browser).

    Perhaps simplifying the setup might indicate if they are related.

    1. Stop all player and clear all items off players - use web browser and press "clear" button for each player.
    2. Power off all players and stop LMS
    3. Clear LMS logs (optional as I find tracking bugs with may restarts in quick succession generates lots of logs and can get mixed up)
    4. Shutdown browser to ensure no straty conenction to LMS
    5. shutdown any other app that might connect to LMS
    6. start LMS
    7. Start Touch and play some selections (files not internet streams/services) using Touch UI only.
    8. check LMS log regularly using an Command prompt and the "type" command - if no "select failed" appears then problem is not with player.



    Wireshark ( http://www.wireshark.org/ ) is good for tracking difficult equipment level network problems but steep learning curve if not intimate with TCP, IP and Ethernet protocols. The netstat comand will give an inkling if network level problem are a possibilty
    Last edited by bpa; 2012-06-29 at 04:19.

  6. #6
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    11,660
    Why channel 13 for the G network ? Use 1,6 or 11 Radio in particular have problems with channels > 11 due to a design bug in it's auto sensing of region so it can on a whim decide that it is not allowed to use ch13 .
    touch is much better than radio regarding this it uses some other method and wifi chip.

    And you seems to use only N and G Squeezeboxes are G devices this is good.
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (in storage SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •