* Carlos E.R. <robin.listas@gmx.es> [08-16-19 07:49]:
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.
then take a little initiative. ulimit is not working for you, try another way. limit the amount of storage allowed a core dump via: edit /etc/systemd/coredump.conf change the size allowed -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org