Michael Montalbo wrote in
<CAC2Qwm+v2pRp30TYJpy8Wxzb7gbX+nzybZ_3A99cHb-xjjpCnQ@mail.gmail.com>:
|On Sat, Jun 27, 2026 at 1:16 PM Steffen Nurpmeso <steffen@sdaoden.eu> \
|wrote:
|>
|> Thanks for these pointers, i did not know about such configuration
|> variables. I will set them like you show.
|
|No problem! Just to clarify, I'm not sure you should actually use those
|configuration values verbatim. I was more pointing in the direction of
|potentially relevant options for debugging / working around the issue.
We'll see. But if there was some kind of "with love from canada" misconfiguration -- i have seen quite a bit of those, and permanent sub-second page reload was one of those effects, in a browser though .. and git has a little road 'till it gets to that stage (i hope) -- then maybe these settings .. Or i have to tweak.
Restartable "fetch" is likely not on that roadmap of git -- that would (have) be(en) so cool. (But for years i now have a WireGuard VPN and go through that, which has improved my TCP connectivity / stability massively. But it is still a thriller to go for some rate-limited fetch of large size ..)
Oh. Maybe i see.
$ git ls-remote https://gitlab.xiph.org/xiph/opus.git
fatal: unable to access 'https://gitlab.xiph.org/xiph/opus.git/': Operation too slow. Less than 1000 bytes/sec transferred the last 10 seconds
$ git ls-remote https://gitlab.xiph.org/xiph/opus.git
fatal: unable to access 'https://gitlab.xiph.org/xiph/opus.git/': Operation too slow. Less than 500 bytes/sec transferred the last 10 seconds
$ git ls-remote https://gitlab.xiph.org/xiph/opus.git
fatal: unable to access 'https://gitlab.xiph.org/xiph/opus.git/': Operation too slow. Less than 500 bytes/sec transferred the last 21 seconds
It succeeds with
lowSpeedLimit = 500
lowSpeedTime = 33
But at least it does not busy loop:
steffen 2960 2959 0 0.0 2738 2016 S+ 00:00:00 18:26 pts/4 /usr/lib/git-core/git remote-https https://gitlab.xiph.org/xiph/opus.git https://gitlab.xiph.org/xiph/opus.git
steffen 2961 2960 0 0.0 41213 11316 S+ 00:00:00 18:26 pts/4 /usr/lib/git-core/git-remote-https https://gitlab.xiph.org/xiph/opus.git https://gitlab.xiph.org/xiph/opus.git
Unfortunately no info where and why it busy looped. If it would be non-blocking I/O and .. in this area, one could understand a bit. Some ticks-per-sec limit (without X progress) is not configurable? I am not really keen to create a rlimit wrapper for git, or whatever. (I have limiting cgroups, but still.)
A nice Sunday, Ciao and greetings from Germany,
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)