cat /proc/sys/fs/suid_dumpable
Example Output
0
sysctl -a | grep dumpable
Example Outputfs.suid.dumpable = 0
VMware vCenter Server 7.x
VMware vCenter Server 8.x
In Photon OS, the default value for fs.suid.dumpable is set to '0'. vCenter overrides this setting, changing it to '2' to enable core dump generation. However, this configuration is sometimes lost after updating to certain builds.
Engineering is aware of this issue and will be fixed in a future vCenter release.
In vCenter, update the suid_dumpable
value from 0 to 2.
suid_dumpable
:echo "2" > /proc/sys/fs/suid_dumpable
vmon-cli -r vpxd
Note: This value will not persist after rebooting vCenter. To make this value persist across reboots, following the below steps.
cp /etc/sysctl.conf /etc/sysctl.conf.bak
vi /etc/sysctl.conf
In the last line of the config file, insert the following value:
fs.suid_dumpable = 2
To test if core dump generation is now functioning, follow the below steps.
kill -SIGABRT <pid of vpxd
>ls -lrt /var/core