You are here: Home » Topic » Broken Pipe issue

Broken Pipe issue

This topic contains 26 replies, has 4 voices, and was last updated by  niamh 12 years, 5 months ago.

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #953

    andyg
    Participant

    here’s the log:

    2007-01-03 19:10:31 (a000ed88): Scanned 4629 songs (was 4629) in 14 seconds
    2007-01-03 19:14:43 (0180a200): Thread 254: could not read: STREAM ioctl timeout
    2007-01-03 19:55:33 (0180a200): Session 0: Streaming file ‘2-02 Lazy Lightning_.aiff’ to 192.168.2.8 (offset 0)
    2007-01-03 19:55:49 (a000ed88): Rescanning database
    2007-01-03 19:55:56 (a000ed88): Starting playlist scan
    2007-01-03 19:56:03 (a000ed88): Scanned 4629 songs (was 4629) in 14 seconds
    2007-01-03 19:58:49 (0180a200): Session 0: Streaming file ‘2-03 Supplication.aiff’ to 192.168.2.8 (offset 0)
    2007-01-03 20:01:05 (a000ed88): Rescanning database
    2007-01-03 20:01:12 (a000ed88): Starting playlist scan
    2007-01-03 20:01:18 (a000ed88): Scanned 4629 songs (was 4629) in 13 seconds
    2007-01-03 20:01:32 (0180a200): Write error: Broken pipe
    2007-01-03 20:01:39 (0180a200): Session 0: Streaming file ‘2-04 Brown Eyed Women.aiff’ to 192.168.2.8 (offset 0)
    2007-01-03 20:03:46 (0180a200): Write error: Broken pipe
    2007-01-03 20:04:28 (0180a200): Session 0: Streaming file ‘2-04 Brown Eyed Women.aiff’ to 192.168.2.8 (offset 0)
    2007-01-03 20:06:20 (a000ed88): Rescanning database
    2007-01-03 20:06:27 (a000ed88): Starting playlist scan
    2007-01-03 20:06:34 (a000ed88): Scanned 4629 songs (was 4629) in 14 seconds
    2007-01-03 20:07:40 (01991c00): Session 0: Streaming file ’23 So Many Roads, So Many Trains.m4a’ to 192.168.2.8 (offset 0)
    2007-01-03 20:07:42 (0180a200): Write error: Broken pipe
    2007-01-03 20:10:32 (01991c00): Session 0: Streaming file ’04 Shake ‘Em On Down.m4a’ to 192.168.2.8 (offset 0)
    2007-01-03 20:11:36 (a000ed88): Rescanning database
    2007-01-03 20:11:42 (a000ed88): Starting playlist scan
    2007-01-03 20:11:49 (a000ed88): Scanned 4629 songs (was 4629) in 13 seconds
    2007-01-03 20:13:33 (01991c00): Session 0: Streaming file ’09 High Heeled Sneakers.m4a’ to 192.168.2.8 (offset 0)
    2007-01-03 20:13:35 (01991c00): Write error: Broken pipe
    2007-01-03 20:13:53 (0180a200): Session 0: Streaming file ’09 High Heeled Sneakers.m4a’ to 192.168.2.8 (offset 51240)
    2007-01-03 20:13:53 (0180a200): Write error: Broken pipe
    2007-01-03 20:41:49 (01991c00): Thread 1044: Entering ws_returnerror (302: Moved)

    the first 2 tracks were downloads today in .shn format & then expanded to aiff – they work fine in itunes on my mac but rebuffered constantly once I put them through firefly.

    then changed into a playlist I know works fine (generally) to see if the problem was with the converted files. Starting from ‘So Many Roads…’ the bottom entry is where the SB crashed altogether.

    Any thoughts…?

    cheers, andy (oops, apologies for posting this in nightlies by mistake…)

    #8184

    rpedde
    Participant

    @andyg wrote:

    Any thoughts…?

    cheers, andy (oops, apologies for posting this in nightlies by mistake…)

    And this is being served off the mac? I’ve seen similar stuff on Windows, and I had decided it must be the win32 libc.

    This wireless, I assume? That second log message looks reasonably serious. Like there are real connection issues.

    #8185

    andyg
    Participant

    And this is being served off the mac? I’ve seen similar stuff on Windows, and I had decided it must be the win32 libc.

    yep, 2nd internal HD

    This wireless, I assume? That second log message looks reasonably serious. Like there are real connection issues.

    …router wireless to mac>mac wireless to access point>access point wireless to SB

    which I know goes against all the schools of thought of not double-hopping etc etc 😯 I do occasionally get into similar-ish situations with the system crashing like this but generally it’s ok and for a change I acvtually looked in the log to see what it had said to say. (FWIW I run the router/ap on a channel away from the default setting)

    I guess my original concern was that the conversion process from shn to aiff was the culprit but looks like you’re inclining towards straight connection issues. I’ll reboot everything (incl. router/ap) and see where that gets me.

    #8186

    rpedde
    Participant

    I guess my original concern was that the conversion process from shn to aiff was the culprit but looks like you’re inclining towards straight connection issues. I’ll reboot everything (incl. router/ap) and see where that gets me.

    That’s certainly possible (the conversion problem, I mean), but the error really looks like a connection thing to me.

    #8187

    andyg
    Participant

    well, after several total system reboots – mac, router, ap etc. it seems to have cleared up and I’m streaming 100% fine again.

    guess it is my double-hopping… 🙄

    #8188

    niamh
    Participant

    @rpedde wrote:

    And this is being served off the mac? I’ve seen similar stuff on Windows, and I had decided it must be the win32 libc.

    This wireless, I assume? That second log message looks reasonably serious. Like there are real connection issues.

    I’m also getting Write Error: Broken pipe messages in the log, this ith build 1463 running on FC4.

    BTW I’ve had to amend a song title to post this to the forum!

    Niamh


    2007-01-13 12:11:18 (b6b97bb0): Session 0: Streaming file ’14 – Run To The Hills.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 12:12:50 (b7f9a6c0): Rescanning database
    2007-01-13 12:12:57 (b7f9a6c0): Starting playlist scan
    2007-01-13 12:12:58 (b7f9a6c0): Scanned 3929 songs (was 3915) in 8 seconds
    2007-01-13 12:13:04 (b6196bb0): Session 0: Streaming file ’15 – 2 Minutes To Midnight.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 12:13:07 (b6b97bb0): Write error: Broken pipe
    2007-01-13 12:18:36 (b6196bb0): Session 0: Streaming file ’16 – Iron Maiden.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 12:26:51 (b6196bb0): Session 0: Streaming file ’17 – Hallowed Be Thy Name.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 12:34:19 (b6196bb0): Session 0: Streaming file ’18 – The Trooper.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 12:38:12 (b6196bb0): Session 0: Streaming file ’19 – Sanctuary.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 12:43:30 (b6196bb0): Session 0: Streaming file ’20 – Running Free.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:02:12 (b6196bb0): Session 0: Streaming file ’01 – Heart And Soul.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:06:14 (b6196bb0): Session 0: Streaming file ’02 – Valentine.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:10:11 (b6196bb0): Session 0: Streaming file ’03 – Only A Heartbeat.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:14:51 (b6196bb0): Session 0: Streaming file ’04 – Whenever You Need Me.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:18:56 (b6196bb0): Session 0: Streaming file ’05 – Secret Garden.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:23:02 (b6196bb0): Session 0: Streaming file ’06 – *** Talk.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:27:15 (b6196bb0): Session 0: Streaming file ’07 – Road To Our Dream.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:31:54 (b6196bb0): Session 0: Streaming file ’08 – This Girl.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:35:39 (b6b97bb0): Session 0: Streaming file ’09 – Only The Lonely.mp3′ to 10.0.0.1 (offset 0)
    2007-01-13 13:35:43 (b6196bb0): Write error: Broken pipe
    2007-01-13 13:41:59 (b6b97bb0): Write error: Broken pipe
    2007-01-13 14:13:06 (b7f9a6c0): Rescanning database
    2007-01-13 14:13:12 (b7f9a6c0): Starting playlist scan
    2007-01-13 14:13:13 (b7f9a6c0): Scanned 3947 songs (was 3929) in 7 seconds

    #8189

    rpedde
    Participant

    @niamh wrote:

    I’m also getting Write Error: Broken pipe messages in the log, this ith build 1463 running on FC4.

    Does it happen consistently? And if so, does it go away when connected wired?

    #8190

    niamh
    Participant

    @rpedde wrote:

    @niamh wrote:

    I’m also getting Write Error: Broken pipe messages in the log, this ith build 1463 running on FC4.

    Does it happen consistently? And if so, does it go away when connected wired?

    Well fairly regularly it seems scanning back through the log, as to checking it wired… well I’ll need to do some cabling work to check that out.


    2007-01-02 15:11:31 (b61cbbb0): Session 0: Streaming file ’03 – Storming The Burning Fields.mp3′ to 10.0.0.12 (offset 0)
    2007-01-02 15:36:39 (b61cbbb0): Write error: Broken pipe
    2007-01-02 15:36:39 (b61cbbb0): Session 0: Streaming file ’03 – Storming The Burning Fields.mp3′ to 10.0.0.12 (offset 0)
    2007-01-02 15:36:39 (b61cbbb0): Write error: Broken pipe
    2007-01-02 15:36:40 (b61cbbb0): Session 0: Streaming file ’03 – Storming The Burning Fields.mp3′ to 10.0.0.12 (offset 1890040)
    2007-01-02 15:40:11 (b61cbbb0): Session 0: Streaming file ’04 – Operation Ground And Pound.mp3′ to 10.0.0.12 (offset 0)
    2007-01-02 15:47:56 (b61cbbb0): Session 0: Streaming file ’05 – Body Breakdown.mp3′ to 10.0.0.12 (offset 0)
    2007-01-02 15:54:55 (b61cbbb0): Session 0: Streaming file ’06 – Cry For Eternity.mp3′ to 10.0.0.12 (offset 0)
    2007-01-02 16:03:08 (b61cbbb0): Session 0: Streaming file ’07 – The Flame Of Youth.mp3′ to 10.0.0.12 (offset 0)
    2007-01-02 16:07:49 (b61cbbb0): Write error: Broken pipe

    #8191

    rpedde
    Participant

    @niamh wrote:

    Well fairly regularly it seems scanning back through the log, as to checking it wired… well I’ll need to do some cabling work to check that out.

    If you could do that just for the purposes of testing, that would be helpful.

    Also, someone mentioned that they thought it might be related to dhcp. Is it possible to try it wireless with a static IP just for testing purposes also?

    I’d sure like to find out what this is, but I don’t seem to have that problem. I have yet to experience a skip, so I think it’s something environmental.

    — Ron

    #8192

    niamh
    Participant

    @rpedde wrote:

    If you could do that just for the purposes of testing, that would be helpful.

    Also, someone mentioned that they thought it might be related to dhcp. Is it possible to try it wireless with a static IP just for testing purposes also?

    I’d sure like to find out what this is, but I don’t seem to have that problem. I have yet to experience a skip, so I think it’s something environmental.

    — Ron

    I’ll see if I can find a spare 40 foot cable, in the meantime I’ve switched to a manually assigned IP address

    Niamh

    #8193

    niamh
    Participant

    @rpedde wrote:

    I’d sure like to find out what this is, but I don’t seem to have that problem. I have yet to experience a skip, so I think it’s something environmental.

    — Ron

    OK some more information to mull over-

    Fixed IP and I attached a pair of high gain antenna to rhe router and ran a 24 hour continuous test without problems.

    Swapped back to the stock antenna (The antenna change was just before “Catherine Of Aragon”) and within a few tracks was getting-

    [[email protected] log]# tail -n 20 mt-daapd.log
    2007-01-17 16:05:49 (b6b47bb0): Session 0: Streaming file ’11 – Anything Goes.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:09:15 (b6b47bb0): Session 0: Streaming file ’12 – Rocket Queen.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:10:09 (b7f4a6c0): Rescanning database
    2007-01-17 16:10:15 (b7f4a6c0): Starting playlist scan
    2007-01-17 16:10:16 (b7f4a6c0): Scanned 3983 songs (was 3983) in 7 seconds
    2007-01-17 16:20:26 (b6b47bb0): Session 0: Streaming file ’01 – Catherine Of Aragon.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:23:56 (b6b47bb0): Session 0: Streaming file ’02 – Anne Of Cleves.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:32:00 (b6b47bb0): Session 0: Streaming file ’03 – Catherine Howard.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:38:38 (b6b47bb0): Session 0: Streaming file ’04 – Jane Seymour.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:39:09 (b6146bb0): Session 0: Streaming file ’05 – Anne Boleyn (The Day Thou Gavest Lord Has Ended).mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:39:17 (b6b47bb0): Write error: Broken pipe
    2007-01-17 16:39:32 (b6b47bb0): Session 0: Streaming file ’06 – Catherine Parr.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:39:33 (b6146bb0): Write error: Broken pipe
    2007-01-17 16:39:47 (b6b47bb0): Write error: Broken pipe
    2007-01-17 16:39:50 (b6b47bb0): Session 0: Streaming file ’01 – Because.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:40:09 (b6146bb0): Session 0: Streaming file ’02 – Get Back.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:40:18 (b6b47bb0): Write error: Broken pipe
    2007-01-17 16:40:49 (b6b47bb0): Session 0: Streaming file ’03 – Glass Onion.mp3′ to 10.0.0.12 (offset 0)
    2007-01-17 16:40:50 (b6146bb0): Write error: Broken pipe
    2007-01-17 16:43:58 (b6b47bb0): Write error: Broken pipe

    For the record signal levels with high gain were -60dBm to -65dBm and the standard give -72dBm to -78dBm

    #8194

    rpedde
    Participant

    @niamh wrote:

    Fixed IP and I attached a pair of high gain antenna to rhe router and ran a 24 hour continuous test without problems.

    This sure seems like a wireless thing then.

    Even so, I can’t imagine a wireless signal so bad it can’t pass a 192k stream. That seems very wrong. The code just sits in a tight read/write loop from the file to a socket, so there really isn’t anything to not work there.

    I wonder if there might be some sockopts that might help. Buffer size or something of that nature?

    #8195

    niamh
    Participant

    @rpedde wrote:

    This sure seems like a wireless thing then.

    Even so, I can’t imagine a wireless signal so bad it can’t pass a 192k stream. That seems very wrong. The code just sits in a tight read/write loop from the file to a socket, so there really isn’t anything to not work there.

    I wonder if there might be some sockopts that might help. Buffer size or something of that nature?

    Shame the Soundbridge doesn’t report the connection speed, it would be one more piece of data to throw into the equation.

    If you come up with anything further to test let me know.

    #8196

    rpedde
    Participant

    @niamh wrote:

    @rpedde wrote:

    This sure seems like a wireless thing then.

    Even so, I can’t imagine a wireless signal so bad it can’t pass a 192k stream. That seems very wrong. The code just sits in a tight read/write loop from the file to a socket, so there really isn’t anything to not work there.

    I wonder if there might be some sockopts that might help. Buffer size or something of that nature?

    Shame the Soundbridge doesn’t report the connection speed, it would be one more piece of data to throw into the equation.

    If you come up with anything further to test let me know.

    Can you get a network capture of it at the time of the disconnect? It would be nice to know who is resetting the connection — the soundbridge or the firefly server. If it’s the soundbridge, then we might have to take it to them.

    #8197

    niamh
    Participant

    @rpedde wrote:

    Can you get a network capture of it at the time of the disconnect? It would be nice to know who is resetting the connection — the soundbridge or the firefly server. If it’s the soundbridge, then we might have to take it to them.

    I can try, if anyone wants to suggest some good pointers as to a good way to do it, I’ll appreciate it.

Viewing 15 posts - 1 through 15 (of 27 total)

The forum ‘Nightlies Feedback’ is closed to new topics and replies.