[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: prefetch tarballs in a batch
From: |
Ludovic Courtès |
Subject: |
Re: Proposal: prefetch tarballs in a batch |
Date: |
Tue, 02 Sep 2014 23:04:28 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
>> Test end:
>> result-kind: fail
>> actual-value: #f
>> actual-error: (srfi-34 #<condition &nix-protocol-error [message: "closing
>> file descriptor 1599602736: Bad file descriptor" status: 1] 8a62798>)
>
> That one occurs many times. I suspect this has to do with the daemon
> features enabled by c0412fedf, though I don’t see which one.
(4 months later...)
I reproduced this EBADF thing with a 2.6.35 kernel on x86_64, and the
culprit turned out to be vfork: commenting out uses of vfork in the
daemon solved the problem.
That sort of ringed a bell, and indeed, Nix commit f794465c (Nov. 2012!)
disabled vfork for similar reasons.
So guix-daemon no longer uses vfork.
Ludo’.
- Re: Proposal: prefetch tarballs in a batch,
Ludovic Courtès <=