#112: Not freeing the harbor mounting point when resetting
-------------------------+--------------------------------------------------
Reporter: Xavier | Owner: toots
Type: Bugs | Status: closed
Priority: 1 | Milestone: 0.3.7
Component: Liquidsoap | Version: 0.3.6+svn
Resolution: fixed | Keywords: harbor, resetting sources, latency,
mount point
Mac: 0 | Linux: 1
Other: 0 | Freebsd: 0
-------------------------+--------------------------------------------------
Comment(by metamorph68):
(In [5250])
Added harbor socket timeout, and corresponding parameter.
By default, it is very large (30 seconds) so it won't change
anything, but if set to smaller values, like 3 sec, it might help in
some situations.
@Xavier: Could you try your script with set("harbor.timeout",6.) for
instance ?
I also added the socket option TCP_NODELAY. It's an option to desactivates
packet sending aggregation. It is disabled by default on linux, but not on
BSD systems.
There are a lot of discussions on the opportunity to set this, but icecast
and apache
do it for every socket. In out case, the answer is that the server
*always* send small
ammount of data, mainly ACKs and small headers or answers, so it's more
interesting to
send it immediatly.
There is a good discussion about this parameter there:
http://articles.techrepublic.com.com/5100-22-1050878.html
Also, I had to code a C wrapper since it is not (yet?) in
ocaml Unix module, see:
http://caml.inria.fr/mantis/view.php?id=4484
fixes #112
--
Ticket URL: <http://savonet.rastageeks.org/ticket/112#comment:5>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac