sendfile error :: error no. 32 [Broken pipe]

  • Andrew Peng
    Andrew Peng

    Streaming to a PS3 client from the latest stable build 1.0.21 compiled on an AMD Athlon MP SMP system on Debian 6.0 32-bit displays the follow debug output. Streaming works fine on the PS3 end.

    upnphttp.c:1780: info: Serving DetailID: 10419
    upnphttp.c:1179: debug: sendfile error :: error no. 32
    minidlna.c:1195: debug: HTTP connection from
    upnphttp.c:261: debug: Range Start-End: 270794752 - 576940569
    upnphttp.c:153: debug: Client found in cache.
    upnphttp.c:805: debug: HTTP REQUEST: GET /MediaItems/10419.avi HTTP/1.1
    User-Agent: PLAYSTATION 3
    Connection: Keep-Alive
    Accept-Encoding: identity Streaming
    Range: bytes=270794752-576940569

    This was tested with multiple formats of videos and all show this debug outout of "sendfile" error. This didn't happen with a previous version I used a few years ago compiled on a PowerPC Mac G3 running Debian 5. I don't remember which version it was, it was more than a few years ago on a server I don't have access to anymore.

    Research on the internet shows this link, but no resolution was found:

  • Justin Maggard
    Justin Maggard

    Yes, that appears to be how the PS3 does things.  It requests large amounts of data, and then just abruptly breaks the connection before the transfer is finished.  It might help if we supported keep-alive, but I'm not sure, and I don't have spare cycles to implement keep-alive right now.  But at least it doesn't seem to affect streaming functionality.

  • Andrew Peng
    Andrew Peng

    Yeah it doesn't seem to affect the streaming experience at all so I'm not too worried about it. Appreciate the reply though.