Hi team,
My Wazuh indexer was working fine until I made some rule changes on the manager side. Since then, indexer fails to start — it consistently times out during startup rather than throwing a clear error.
Environment: Wazuh 4.14.5 (manager, indexer, dashboard all on this version), Ubuntu, systemd-managed services.
Relevant journal output across two consecutive start attempts:
Jul 23 14:24:44 systemd[1]: Starting wazuh-indexer.service...
Jul 23 14:26:53 systemd-entrypoint: WARNING: System::setSecurityManager deprecated method called by OpenSearch (opensearch-2.19.5.jar)
Jul 23 14:27:44 systemd[1]: wazuh-indexer.service: start operation timed out. Terminating.
Jul 23 14:27:49 systemd[1]: Failed with result 'timeout'.
Jul 23 14:27:49 systemd[1]: Consumed 22.493s CPU time, 16.3G memory peak, 0B swap peak.
Jul 23 14:29:35 systemd[1]: Starting wazuh-indexer.service...
Jul 23 14:32:05 systemd-entrypoint: WARNING: same setSecurityManager deprecation warning
Jul 23 14:32:35 systemd[1]: start operation timed out. Terminating.
Jul 23 14:32:37 systemd[1]: Failed with result 'timeout'.
Jul 23 14:32:37 systemd[1]: Consumed 22.483s CPU time, 27.4M memory peak, 0B swap peak.
Notes:
- The setSecurityManager warning appears to be a known deprecation notice from OpenSearch 2.19.5 (Java), not an error.
- First attempt used ~16.3G memory (heap is set to -Xmx16g), suggesting it got fairly deep into JVM initialization before being killed.
- Second attempt used only 27.4M — far less — suggesting it failed much earlier in the sequence this time, despite an unchanged config in between.
- No explicit error/exception is logged — just the systemd timeout kill.
Has anyone seen indexer startup times vary this significantly between consecutive attempts on the same unchanged config? Looking for pointers on where to look next — GC logs, OpenSearch's own log file, or something specific to check given the inconsistent memory footprint between runs.
Thanks!
