The first error is a client-side problem. This is common if you are using connection throttling bandwidth throttling. What this means is that the person viewing the video stopped watching the video and went to another page before the video finished transferring to the client. The server will wait a specified amount of time to see if the connection comes back (so that it can resume transferring). If not, it closes the connection and moves on.
The second error is due to you running out of file descriptors. There are three things that you will need to do.
1. Make sure that you are running lighttpd as root and not as a normal user. Otherwise step two and three will not work.
2. Increase the maximum file descriptors:
orCode:server.max-fds = 2048
3. Decrease the wait time before the server drops the file descriptors to make room for new connections:Code:server.max-fds = 4096
Note that step three waits 4 seconds before dropping a connection to move on. If you still run into problems, you can tell the server to not use keep-alive at all by changing the keep-alives to 0. However, this will hurt performance if you do.Code:server.max-keep-alive-requests = 4 server.max-keep-alive-idle = 4




Reply With Quote
Bookmarks