On 16/08/2019 14.07, Patrick Shanahan wrote:
* Carlos E.R. <> [08-16-19 07:49]:
On 16/08/2019 13.36, Patrick Shanahan wrote:
* Carlos E.R. <> [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.
then take a little initiative. ulimit is not working for you, try another way.
That's not the issue. The issue is finding out why ulimit is complaining now, when a month ago it didn't. What has changed and why? Is it that it has to be done by root? Is it that the syntax changed? Is it a bug? I don't care about other solutions. I'm not asking for them, I know about them. (maybe you have not noticed that the echo line is apparently working) -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)