Por A resposta do @Peter Bašista em sua própria pergunta:
At first, I thought this is an error and that's why I started this question. But it turned out it's simply a perfectly correct behavior. It turns out that RTFM saying applies here as well.
As
man bashreveals, theulimitbuilt-in command has additional parameters:-Hfor setting the so-called hard limits and-Sfor setting the so-called soft limits. Moreover, if none of these options are given, the default behavior is thatulimittries to set both the soft and the hard limits to the same value at once. And that was the problem.Now there is a quote from the
bashman page:A hard limit cannot be increased by a non-root user once it is set;
Então, lá vamos nós. O uso correto do comando
ulimitdeve sempre tenha isso em mente. Mais importante, nunca deve ser usado sem-Hou-Sopções, a menos que você tenha certeza de que sabe o que está fazendo (que na época eu obviamente não estava).O que eu deveria ter feito é algo assim:
Após o login:
ulimit -H -c unlimitedSempre que eu quiser alterar o limite máximo de tamanho do dump principal,
ulimit -S -c <new size>Então, é sobre isso. Espero que possa ajudar alguém que possa ter dificuldades com um problema semelhante.