On 16/08/2019 13.36, Patrick Shanahan wrote:
* Carlos E.R. <robin.listas@gmx.es> [08-16-19 07:29]:
On 16/08/2019 13.06, Per Jessen wrote:
Carlos E. R. wrote:
Hi,
for long, in the script that starts certain program, I used this (as plain user):
# Avoid huge dump core ops - doesn't work on Leap 42.2 ulimit -H -c 0 echo 0 > /proc/self/coredump_filter program
Suddenly, after an update applied yesterday, I get:
/home/cer/bin/fusion: line 81: ulimit: core file size: cannot modify limit: Invalid argument
Line 81 being: ulimit -H -c 0
Fwiw, I see the same on 15.1, but updated 7 August.
Yes, I try to update the home server once a month, so I saw it yesterday.
If I don't limit the size of coredumps, it can dump 8gigs or even more if the process swapped before crashing. Takes an awful lot of time in that puny machine. The "echo" line seems to be accepted.
And anyway, the developer of that program doesn't want them...
turn off the core dumps on *that* machine.
Suffices to stop them for that process only. There may be others of interest. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)