https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412007-08-08T21:40:12Zlighty labsLighttpd - Bug #1213: traffic shaping doesn't work with AIO in lighttpd-1.5.0-r1857https://redmine.lighttpd.net/issues/1213?journal_id=29182007-08-08T21:40:12Zj0t
<ul></ul><p>same here but without aio... Download halts after a few seconds and the connection drops..</p> Lighttpd - Bug #1213: traffic shaping doesn't work with AIO in lighttpd-1.5.0-r1857https://redmine.lighttpd.net/issues/1213?journal_id=29192007-10-15T23:30:25ZAnonymous
<ul></ul><p>I confirm bug with linux-sendfile backend (without aio and r1992). Lighty simply drops connection (see attachment), perhaps instead of shaping. Probability of connection drop increase with speed of download (e.g. with need of traffic shaping).</p>
<p>-- deblog</p> Lighttpd - Bug #1213: traffic shaping doesn't work with AIO in lighttpd-1.5.0-r1857https://redmine.lighttpd.net/issues/1213?journal_id=29202007-10-15T23:38:44ZAnonymous
<ul></ul><p>P.S. Same problem occurs with all network backends (i've tested gthread-aio, gthread-sendfile, write, posix-aio, linux-aio-sendfile, linux-sendfile, writev).</p>
<p>-- deblog</p> Lighttpd - Bug #1213: traffic shaping doesn't work with AIO in lighttpd-1.5.0-r1857https://redmine.lighttpd.net/issues/1213?journal_id=29212007-12-21T23:02:13ZAnonymous
<ul></ul><p>I'm genuinely amazed by how incredibly fast are the lighttpd developers at correcting a "major" bug!</p> Lighttpd - Bug #1213: traffic shaping doesn't work with AIO in lighttpd-1.5.0-r1857https://redmine.lighttpd.net/issues/1213?journal_id=29222008-03-06T02:08:08ZSafari
<ul></ul><p>Can somebody test that patch?<br />It seems to give half the configured bw, though.</p>
<p>And why do you use this feature, anyways?<br />If on Linux, use HTB and SFQ, it actually is good.<br />Can give priorities over other traffic (DNS, ICMP, etc.), give fair bandwidth to all clients -- per flow or destination IP etc., paces packets evenly (if configured bandwidth reached) instead of just doing<br />write(stuff)<br />sleep(one second)</p> Lighttpd - Bug #1213: traffic shaping doesn't work with AIO in lighttpd-1.5.0-r1857https://redmine.lighttpd.net/issues/1213?journal_id=29232008-03-06T17:19:00Zj0t
<ul></ul><p>I don't use HTB/SFQ because I need to limit the bandwidth for a single vhost, not for the whole server.</p>
<p>As soon as I get back up and running my testing machine I'll try the patch. Thank you</p> Lighttpd - Bug #1213: traffic shaping doesn't work with AIO in lighttpd-1.5.0-r1857https://redmine.lighttpd.net/issues/1213?journal_id=29242008-05-06T11:30:16Zstbuehler
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fixed</i></li><li><strong>Resolution</strong> set to <i>duplicate</i></li></ul><p><a class="issue tracker-1 status-5 priority-5 priority-high3 closed" title="Bug: server.kbytes-per-second close connections (rev 1717) (Fixed)" href="https://redmine.lighttpd.net/issues/1102">#1102</a></p>