From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#30644: Cuirass runs out of build users Date: Thu, 8 Mar 2018 01:25:41 +0100 Message-ID: <20180308012541.517dc4dc@scratchpost.org> References: <20180228090714.GA1845@jurong> <20180302140833.GB3213@macbook41> <20180305090256.GA9171@jurong> <20180305155351.GA6054@jurong> <87efkvpl8f.fsf@gnu.org> <20180308000111.77cce7d6@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/WriYz=CPeO3XvD.REbmoHFy"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etjNi-0008LM-Pd for bug-guix@gnu.org; Wed, 07 Mar 2018 19:26:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etjNi-0007m2-1F for bug-guix@gnu.org; Wed, 07 Mar 2018 19:26:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etjNh-0007lb-Tr for bug-guix@gnu.org; Wed, 07 Mar 2018 19:26:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1etjNh-0008UM-LW for bug-guix@gnu.org; Wed, 07 Mar 2018 19:26:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180308000111.77cce7d6@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30644@debbugs.gnu.org --Sig_/WriYz=CPeO3XvD.REbmoHFy Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable As for what's causing this, cuirass's bin/evaluate seems to connect to the = sqlite database and then write stuff into it. If a query is being done by the http server at the same time, you are going= to be really careful with the sqlite open mode. There would be ways to still be able to do this, but it's some seriously un= necessary locking complexity for something small like this. Is that really necessary? Can't the invoker of bin/evaluate write the resu= lt? It even seems that src/cuirass/base.scm already does the db-add-derivation. Why is bin/evaluate doing it again? Same for db-add-evaluation... --Sig_/WriYz=CPeO3XvD.REbmoHFy Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqggwUACgkQ5xo1VCww uqUbRgf7Bo/weqJyId4Csihojubu9WgWIK3LBFirE8ireF0dFUVetGZNOEZTz9Vx 4K8F+ZfI0u/bMf6Ij8qjB8/qHycjRtn1qugEuHp0LFNZ8GX8E8Yjaie+Sxm2pHa5 0SgF9NSH7A0ydNCP8IPWtOYoqqreoe70J+V62aAFMgoY81xqL8b9rZ7wQfVU4AsT NXifRIuREO5Rhrvt1MIuiyiXvSSd6SyH734aVF5EAGa1jW+GJI6rmquYI64PiU1n BI+aSUr1MtlmGZrSb2tOiLcoK0rZ9o5tDN7/4/rz3C2gh+vAPtFMFSrgnpfmiSGe bZ3TbQpUw5h8/+lxOWgGVhO+R7v8sw== =m4JA -----END PGP SIGNATURE----- --Sig_/WriYz=CPeO3XvD.REbmoHFy--