Symptoms:
vpxd.log
file, you may see entries similar to:<timestamp> [7F4044195720 error 'Default'] A database error occurred: ODBC error: (08001) - [unixODBC]FATAL: remaining connection slots are reserved for non-replication superuser connections
<timestamp>
[7F4044195720 error 'vpxdvpxdMain'] [Init] Init failed: VpxdVdb::Init(VpxdVdb::GetVcVdbInstId(), false, false, NULL)
Backtrace:
backtrace[00] rip 00007f403eefba84 Vmacore::System::Stacktrace::CaptureWork(unsigned int)
backtrace[01] rip 00007f403eddaae2 Vmacore::System::SystemFactoryImpl::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)
backtrace[02] rip 00007f403ed3bda5 Vmacore::Throwable::Throwable(std::string const&)
backtrace[03] rip 00007f40450f727f Vmomi::Fault::SystemError::Exception::Exception(std::string const&)
backtrace[04] rip 00007f40450e035f /usr/lib/vmware-vpx/vpxd(+0xdcc35f) [0x7f40450e035f]
backtrace[05] rip 00007f40450f5ca3 /usr/lib/vmware-vpx/vpxd(+0xde1ca3) [0x7f40450f5ca3]
backtrace[06] rip 00007f40450d8c03 /usr/lib/vmware-vpx/vpxd(+0xdc4c03) [0x7f40450d8c03]
backtrace[07] rip 00007f403ce73c36 /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f403ce73c36]
backtrace[08] rip 00007f40450d7fe9 /usr/lib/vmware-vpx/vpxd(+0xdc3fe9) [0x7f40450d7fe9]
<timestamp>
[7F4044195720 error 'Default'] Failed to intialize VMware VirtualCenter. Shutting down...
<timestamp>
UTC 6678e46f.2bcb 0 VCDB vc [local] 11211 3 FATAL: remaining connection slots are reserved for non-replication superuser connections
vmware
.postgresql.conf
file by running this command:# cp /storage/db/vpostgres/postgresql.conf /storage/db/vpostgres/postgresql.conf.orig
postgresql.conf
file using a text editor.max_connections
entry in the file and set its value to 250:max_connections = 250
%ProgramData%\VMware\vCenterSErver\data\vpostgres\
postgresql.conf
file using a text editor.max_connections
entry in the file and set its value to 250:max_connections = 250
max_connections
uses approximately 400 bytes of shared memory per connection slot in addition to the lock space. Each lock table slot uses approximately 270 bytes of shared memory, and there are max_locks_per_transaction * (max_connections + max_prepared_transactions)
lock table slots.