start-os icon indicating copy to clipboard operation
start-os copied to clipboard

Limit number of simultaneous installs

Open kn0wmad opened this issue 3 years ago • 9 comments

Either solve issues surrounding large number of simultaneous installs, or create a queue and limit them

This also ought to apply to the installation of recovered services

Causes same issue as quoted in #905

Reported by: @kn0wmad

kn0wmad avatar Feb 06 '22 06:02 kn0wmad

What is "a large number of installs", and what "bugs" are you seeing?

chrisguida avatar Feb 07 '22 17:02 chrisguida

This was discussed internally. I noticed with 5-6 simultaneous installs and it causes failed installs and "hanging" (perceived, not permanent). It's just a bad UX. I personally think the solution is to just limit simultaneous installs to 3 (for now), but I don't know how difficult this is. This is pretty common on any popular marketplace or app.

kn0wmad avatar Feb 07 '22 17:02 kn0wmad

I might suggest limiting simultaneous installs to 4 or something. Should be easy to implement with a semaphore or something @dr-bonez

ProofOfKeags avatar Feb 07 '22 18:02 ProofOfKeags

kicking from 0.3.0 SoW

ProofOfKeags avatar Feb 09 '22 18:02 ProofOfKeags

Rebuilding a box and wanted to mention that multiple installs (3-4) while doing docker actions (configure) caused a crash. Bitcoin was also 'catching up' from 99.89% at this time. Reproduced once after reboot. Reboot is the solution. This is easy enough to support to remain punted

kn0wmad avatar Feb 14 '22 07:02 kn0wmad

If the backup is done one by one, recovery should be like that as well.

Example picture: Screenshot from 2022-02-21 13-33-59

k0gen avatar Feb 21 '22 12:02 k0gen

If the backup is done one by one, recovery should be like that as well.

This is an issue primarily with fresh installs. Not with the overall backup restoration process. We have to put some upper bound on simultaneous installs so we don't hurt reliability.

ProofOfKeags avatar Feb 21 '22 17:02 ProofOfKeags

People will probably hit this bug a lot when migrating from 02x, and probably very rarely otherwise

chrisguida avatar Feb 21 '22 21:02 chrisguida

bumping this thread - migrating to 0.3.1 with all the service updates makes this prominent

islandbitcoin avatar Jul 08 '22 15:07 islandbitcoin

Will be fixed by removing db locks #2052

chrisguida avatar Dec 14 '22 21:12 chrisguida