Bug#1042404: redis-server postinst script gets stuck when disk is low

2023-07-28 Thread Chris Lamb
Hi Shai, > This seems quite odd to me -- I thought Redis, at least in its default > configuration (which is what I use), was an in-memory database. Why > would it get stuck over low disk space? Well, when stopping or restarting, redis will persist the contents of memory to disk. > And, if it

Bug#1042404: redis-server postinst script gets stuck when disk is low

2023-07-28 Thread Shai Berger
Hi Chris, On Fri, 28 Jul 2023 10:17:49 +0100 "Chris Lamb" wrote: > > Hm. Do you know what part of the postinst script is sticking? You may > be able to find out by looking at your process table eg. via top or > htop. > > (My initial guess is that redis process itself gets wedged when it has >

Bug#1042404: redis-server postinst script gets stuck when disk is low

2023-07-28 Thread Chris Lamb
Hi Shai, > redis-server, not so. The script gets stuck, not erroring out and > not finishing. Even after it is killed and room becomes available, > it's still a hard fight to get it to complete; sometimes an > uninstall+install is enough, today, not even that seems to work. Hm. Do you know what

Bug#1042404: redis-server postinst script gets stuck when disk is low

2023-07-27 Thread Shai Berger
Package: redis-server Version: 5:7.0.11-1 Severity: normal Dear Maintainer, My system was set up years ago, with a root partition that is not really big enough anymore. Repeatedly, when I run updates, I get in trouble because space on the root partition runs out. However, with most packages,