> Also, there is a setting in startup.conf that talks about the core file
> size - do you know how do the two interact ? (I never checked, just
> remember seeing it).

As far as I can say all those knobs tune the setrlimit(RLIMIT_CORE) value.
There are at least 3 sources:
 - /etc/security/limits.conf which is supposed to set system defaults for users 
and groups
 - systemd which does whatever its developer think is a good idea with its own 
default values
 - VPP coredump-size parameter
I you do not specify coredump-size, VPP will inherit it from its session. Then, 
whether systemd overwrite or honour /etc/security/limits.conf by default, I do 
not know (I'd tend to think systemd ignores /etc/security/limits.conf for the 
sake of novelty but I might be snarky).
If you specify LimitCORE in the Unit file, it will overwrite the default value 
for sure.

But then, when the core dumps, your distro might be "managing" core files for 
you (see Ubuntu Apport and systemd-coredump).

ben
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13441): https://lists.fd.io/g/vpp-dev/message/13441
Mute This Topic: https://lists.fd.io/mt/32306587/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to