[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connect
From: |
Ludovic Courtès |
Subject: |
bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections |
Date: |
Wed, 25 May 2022 18:32:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> skribis:
> Notice there’s a single thread: it very much looks like the random
> results one gets when forking a multithreaded process (in this case,
> this one thread is a finalization thread, except it’s running in a
> process that doesn’t actually have the other Guile threads). The
> fork+threads problem is already manifesting, after all.
An update: The ‘with-database’ used by (cuirass scripts evaluate),
creates threads unconditionally and leaves them around when its body has
exited. So there’s currently no way in (cuirass scripts evaluate) to
arrange so that ‘open-inferior’ is called in a single-threaded context
(I tried that in ‘wip-bug-55441’).
Bummer. Looks like we’re left with unpleasant solutions, such as
writing bindings for ‘posix_spawn’ and using that in (guix inferior).
Mathieu, any ideas?
Ludo’.
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Maxim Cournoyer, 2022/05/15
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Mathieu Othacehe, 2022/05/16
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/16
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/16
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/16
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Maxim Cournoyer, 2022/05/16
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/17
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/18
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/20
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/24
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections,
Ludovic Courtès <=
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/25
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Christopher Baines, 2022/05/25
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Ludovic Courtès, 2022/05/26
- bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections, Josselin Poiret, 2022/05/26
- bug#55441: [PATCH 2/2] Improve thread safety of piped-process., Josselin Poiret, 2022/05/26
- bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely, Josselin Poiret, 2022/05/26
- bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely, Maxime Devos, 2022/05/26
- bug#55441: [PATCH] guix: inferior: Make open-bidirectional-pipe use piped-process., Josselin Poiret, 2022/05/26
- bug#55441: [PATCH] guix: inferior: Make open-bidirectional-pipe use piped-process., Maxime Devos, 2022/05/26
- bug#55441: [PATCH] guix: inferior: Make open-bidirectional-pipe use piped-process., Ludovic Courtès, 2022/05/28