Symptoms:
Caused by: java.io.IOException: Too many open files
VMware vCenter Server 8.0.x
The "Too many open files" error happens when a process needs more open files than the limit. By default, it is set to 1024 in the service configuration.
Increase the file descriptors maximum for the vc-ws1a-broker container
# service-control --start vc-ws1a-broker
# runc list
ID PID STATUS BUNDLE CREATED OWNER vc-ws1a-broker 12636 running /storage/containers/vc-ws1a-broker/############################################# 2024-04-26T19:37:49.874571921Z root# vi /storage/containers/vc-ws1a-broker/#############################################/config.json
"noNewPrivileges": true, "rlimits": [ { "hard": 1024, "soft": 1024, "type": "RLIMIT_NOFILE" } :wq! to save and close the editor
# service-control --restart vc-ws1a-broker
# runc exec --tty vc-ws1a-broker bash idmservice [ / ]$ ulimit -Hn 2048 idmservice [ / ]$ ulimit -Sn 2048