From: Mathieu Othacehe <othacehe@gnu.org>
To: 42548@debbugs.gnu.org
Subject: bug#42548: Cuirass 504 errors
Date: Thu, 30 Jul 2020 16:47:12 +0200 [thread overview]
Message-ID: <87r1st83gv.fsf@gnu.org> (raw)
In-Reply-To: <87eeoy9rzk.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 26 Jul 2020 18:10:55 +0200")
Hey,
> A second issue is caused when a build product download is started, then
> aborted. In that case, sendfile throws an exception or enters an endless
> loop.
Ok, so I found a couple of errors here. First, I noticed that it was not
possible to download simultaneously two build products, because the
first download was blocking the whole process.
This is solved by: 6ad9c602697ffe33c8fbb09ccd796b74bf600223. In short,
current-fiber was set to #f, both in the context of the caller and the
spawned thread. So I think the get-message operating was blocking the
whole thread instead of suspending the current fiber. But if someone
else could take a look it would be nice :).
Second issue, sendfile may throw EPIPE or ECONNRESET if the client
disconnects before the end of the transfer. I think, besides the dirty
backtrace, it was not harmful. But anyway, its better to catch this as
we are doing in "guix publish", see:
0955a11abd9e27c96a1375cca6a1c97869b5780a.
I fear it won't be enough to fix the 504 errors, but at least it's a
start.
Thanks,
Mathieu
prev parent reply other threads:[~2020-07-30 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-26 16:10 bug#42548: Cuirass 504 errors Mathieu Othacehe
2020-07-27 22:11 ` zimoun
2020-07-28 7:32 ` Mathieu Othacehe
2020-07-28 8:49 ` zimoun
2020-07-28 14:56 ` Mathieu Othacehe
2020-08-04 16:48 ` Mathieu Othacehe
2020-08-06 8:16 ` Mathieu Othacehe
2020-07-30 14:47 ` Mathieu Othacehe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r1st83gv.fsf@gnu.org \
--to=othacehe@gnu.org \
--cc=42548@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.