File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -379,15 +379,20 @@ bool run_startup_sanity_checks() {
379379 LOG_INFO (" === Running system sanity checks ===" );
380380 bool critical_pass = true ;
381381
382- // Critical checks - any failure aborts startup
382+ // Ensure the host CPU supports the SIMD/instruction-set features required by this build.
383383 critical_pass &= check_cpu_compatibility ();
384+ // Ensure DATA_DIR exists or can be created and is usable for database reads and writes.
384385 critical_pass &= check_data_dir_permissions ();
386+ // Ensure the configured data directory has enough free space for startup to proceed safely.
385387 critical_pass &= check_disk_space ();
388+ // Ensure available memory, including cgroup-limited environments, meets the minimum requirement.
386389 critical_pass &= check_available_memory ();
390+ // Ensure the process can keep enough files open for expected database and index usage.
387391 critical_pass &= check_open_files_limit ();
388392
389393 // Warning checks - logged but don't block startup
390394 // check_total_physical_memory();
395+ // Advisory only: warn when the machine has fewer CPU cores than the recommended minimum.
391396 check_cpu_cores ();
392397
393398 if (critical_pass) {
You can’t perform that action at this time.
0 commit comments