logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: streaming timeout
Author
raphael75



Joined: 26 Jul 2013
Posts: 5

PostPosted: Tue 05 Nov '13 21:51    Post subject: streaming timeout Reply with quote

I have a web server with Apache 2.4 VC11 (http://www.apachelounge.com/download/) running on Win 7.

On my server I have some mp3's. I can queue them up in Winamp and the 1st one will begin streaming. However, after it plays for about 20-30 minutes it stops streaming, almost as if some time limit has been reached, and advances to the next song. I can reselect the song and drag the position to where it stopped playing and it will continue to play for about 20-30 minutes from that position and stop again.

Is there a setting in the apache configuration I need to add/change to increase this limit?

Thanks!
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 06 Nov '13 1:04    Post subject: Reply with quote

I take it these are very large mp3 files.
Only for the directory these files are served from, try adding:

EnableSendfile On
Back to top
raphael75



Joined: 26 Jul 2013
Posts: 5

PostPosted: Tue 12 Nov '13 16:24    Post subject: Reply with quote

That's correct, the files are anywhere from 50 to 120 minutes.

I set EnableSendfile to On and that appears to have fixed it! Thank you!!

I did some research on EnableSendfile. So basically it reads the file straight from the harddrive to the network card? (https://groups.drupal.org/node/68333)
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 12 Nov '13 18:47    Post subject: Reply with quote

It hands off the responsibility of transferring the data to the OS
Back to top
raphael75



Joined: 26 Jul 2013
Posts: 5

PostPosted: Tue 12 Nov '13 18:52    Post subject: Reply with quote

The only issue is if I pause the file if I click play it will jump to the next file in the list, but if I click the position selector and move it back 10 seconds it can resume. This isn't a major problem.

Thanks again!
Back to top


Reply to topic   Topic: streaming timeout View previous topic :: View next topic
Post new topic   Forum Index -> Apache