On Sat, Apr 13, 2019 at 03:49:16PM +0200, gregor herrmann wrote: > On Fri, 12 Apr 2019 18:33:42 +0200, Santiago Vila wrote: > > > It works if I try in a machine with more RAM. > > Great, thanks for checking. > Do you happen to remember how much RAM it needs?
Before it started to fail I was using single-CPU machines with only 1 GB of RAM and 1 GB of swap, and this was enough. One might think this is ridiculously low to build Debian packages in general, but it's in fact enough to build 96% of all source packages. After the failures I retried in machines with only 3.75 GB of RAM and 3 GB of swap and then it worked again, but in some cases I've seen the build process to allocate up to 9 GB of RAM. I think this is just memory overcommiting on the side of MariaDB, the usual victim of OOM killer in small Wordpress installs not having enough swap. Thanks.