You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by tk...@apache.org on 2025/07/02 07:29:03 UTC

(ignite-3) branch ignite-21874 created (now 5d0c8970ac5)

This is an automated email from the ASF dual-hosted git repository.

tkalkirill pushed a change to branch ignite-21874
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


      at 5d0c8970ac5 IGNITE-21874 wip

This branch includes the following new commits:

     new 5d0c8970ac5 IGNITE-21874 wip

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(ignite-3) 01/01: IGNITE-21874 wip

Posted by tk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tkalkirill pushed a commit to branch ignite-21874
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit 5d0c8970ac5569386a7d86d057321d2d4389729a
Author: Kirill Tkalenko <tk...@yandex.ru>
AuthorDate: Wed Jul 2 10:28:41 2025 +0300

    IGNITE-21874 wip
---
 .../ignite/internal/app/IgniteServerImpl.java      | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteServerImpl.java b/modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteServerImpl.java
index d83180ece2f..011871146b4 100644
--- a/modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteServerImpl.java
+++ b/modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteServerImpl.java
@@ -395,6 +395,8 @@ public class IgniteServerImpl implements IgniteServer {
 
         logAvailableResources();
 
+        logOsInfo();
+
         ackRemoteManagement();
 
         return instance.startAsync().handle((result, throwable) -> {
@@ -460,6 +462,26 @@ public class IgniteServerImpl implements IgniteServer {
         LOG.info("Max heap: {}", Runtime.getRuntime().maxMemory());
     }
 
+    private static void logOsInfo() {
+        Long jvmPid = null;
+
+        try {
+            jvmPid = ProcessHandle.current().pid();
+        } catch (Throwable ignore) {
+            // No-op.
+        }
+
+        String osName = System.getProperty("os.name");
+        String osVersion = System.getProperty("os.version");
+        String osArch = System.getProperty("os.arch");
+        String osUser = System.getProperty("user.name");
+
+        LOG.info(
+                "OS: [name={}, version={}, arch={}, user={}, pid={}]",
+                osName, osVersion, osArch, osUser, (jvmPid == null ? "N/A" : jvmPid)
+        );
+    }
+
     private static void ackRemoteManagement() {
         if (LOG.isInfoEnabled()) {
             boolean jmxEnabled = System.getProperty("com.sun.management.jmxremote") != null;