Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigsegv fault on libc occured in puppetserver jvm #2898

Open
alexandreleclercqdecat opened this issue Dec 12, 2024 · 1 comment
Open

sigsegv fault on libc occured in puppetserver jvm #2898

alexandreleclercqdecat opened this issue Dec 12, 2024 · 1 comment
Labels

Comments

@alexandreleclercqdecat
Copy link

alexandreleclercqdecat commented Dec 12, 2024

Describe the Bug

We encounter an siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR) issue in our puppet server jvm with 2 C lib functions :

  • [libc.so.6+0xb8b0f] __memmove_evex_unaligned_erms+0xaf
  • [libcrypt.so.1+0x25ab]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f62fc9acb1e, pid=1320745, tid=0x00007f6221597700
#
# JRE version: OpenJDK Runtime Environment (8.0_432-b06) (build 1.8.0_432-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.432-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0xb8b1e]  __memmove_evex_unaligned_erms+0xbe
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://access.redhat.com/support/cases/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007f62cc3ad800):  JavaThread "qtp1303990853-2848" [_thread_in_native, id=1612917, stack(0x00007f6221497000,0x00007f6221598000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007f632c30aae9

Registers:
RAX=0x00007f632c30aae9, RBX=0x0000000000000004, RCX=0x0000000074736574, RDX=0x0000000000000004
RSP=0x00007f6221577e58, RBP=0x00007f6272edc8e0, RSI=0x0000000074736574, RDI=0x00007f632c30aae9
R8 =0x0000000075bd2639, R9 =0x0000000091f3dbaa, R10=0x00007f6272edc8e0, R11=0x00000000f6e93a84
R12=0x00007f6221578000, R13=0x00000000b942e1ad, R14=0x0000000000000004, R15=0x0000000000000004
RIP=0x00007f62fc9acb1e, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000006
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f6221577e58)
0x00007f6221577e58:   00007f6272cbee78 0000000000000024
0x00007f6221577e68:   00007f62fca42d37 0000000000000004
0x00007f6221577e78:   0000000000000001 00007f6272edc8e0
0x00007f6221577e88:   00007f6272edc9c0 0000000000000001
0x00007f6221577e98:   00007f6221578000 0000000000000004
0x00007f6221577ea8:   00007f6272cc46be 0000000700000000
0x00007f6221577eb8:   00007f6221577fe3 0000000000000001
0x00007f6221577ec8:   00007f6272edc0e0 00007f622ed28c28
0x00007f6221577ed8:   00007f6221577fe0 00007f6221578000
0x00007f6221577ee8:   00007f6272edc0e0 00007f6272edc8e0
0x00007f6221577ef8:   0000000000000004 00007f6272edbbb0
0x00007f6221577f08:   00007f6272cc141f 00007f6272edc8e0
0x00007f6221577f18:   0000000000002000 00000000fd14cf68
0x00007f6221577f28:   00007f6272edc0e0 00007f623c158a10
0x00007f6221577f38:   00007f6221578188 0000000000000001
0x00007f6221577f48:   0000000000000002 00007f62215781a0
0x00007f6221577f58:   00007f6272cc15c6 00007f6221577fe0
0x00007f6221577f68:   00007f62730ed2bf 00007f6221577fe0
0x00007f6221577f78:   00007f6221578000 0000000011000007
0x00007f6221577f88:   00007f6221577fe0 00007f6221578188
0x00007f6221577f98:   0000000000000001 0000000000000001
0x00007f6221577fa8:   00007f6221577fe0 00007f6221578150
0x00007f6221577fb8:   00007f62730ed605 00007f6221577fe0
0x00007f6221577fc8:   00007f6221578188 00007f6221578150
0x00007f6221577fd8:   00007f62730ed569 00007f0031243124
0x00007f6221577fe8:   00007f623c0c2d90 00007f6221578150
0x00007f6221577ff8:   00007f62730ed569 00007f0074736574
0x00007f6221578008:   bd8d3bf24b455500 00007f62cc3ad800
0x00007f6221578018:   00007f62732f8f38 00007f6221578114
0x00007f6221578028:   00007f62215780d0 00007f6221578110
0x00007f6221578038:   00007f6221578100 00007f6221578060
0x00007f6221578048:   00007f6272cc6550 00007f623c158a10

Instructions: (pc=0x00007f62fc9acb1e)
0x00007f62fc9acafe:   62 e1 fe 08 7f 4c 17 ff c3 48 8b 4c 16 f8 48 8b
0x00007f62fc9acb0e:   36 48 89 4c 17 f8 48 89 37 c3 8b 4c 16 fc 8b 36
0x00007f62fc9acb1e:   89 4c 17 fc 89 37 c3 0f b7 4c 16 fe 0f b7 36 66
0x00007f62fc9acb2e:   89 4c 17 fe 66 89 37 c3 48 3b 15 e3 77 31 00 0f

...

Stack: [0x00007f6221497000,0x00007f6221598000],  sp=0x00007f6221577e58,  free space=899k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0xb8b1e]  __memmove_evex_unaligned_erms+0xbe

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.kenai.jffi.Foreign.invokeN2O2(JJJJLjava/lang/Object;IIILjava/lang/Object;III)J+0
j  com.kenai.jffi.Invoker.invokeN2(Lcom/kenai/jffi/CallContext;JJJILjava/lang/Object;Lcom/kenai/jffi/ObjectParameterStrategy;Lcom/kenai/jffi/ObjectParameterInfo;Ljava/lang/Object;Lcom/kenai/jffi/ObjectParameterStrategy;Lcom/kenai/jffi/ObjectParameterInfo;)J+167
j  jnr.posix.Crypt$jnr$ffi$1.crypt([B[B)Ljnr/ffi/Pointer;+79
j  jnr.posix.BaseNativePOSIX.crypt([B[B)[B+21
j  jnr.posix.CheckedPOSIX.crypt([B[B)[B+6
j  jnr.posix.LazyPOSIX.crypt([B[B)[B+6
j  org.jruby.RubyString.crypt(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;+164
j  org.jruby.RubyString$INVOKER$i$1$0$crypt.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+7
J 6092 C2 org.jruby.runtime.callsite.CachingCallSite.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; (56 bytes) @ 0x00007f62d564da14 [0x00007f62d564d960+0xb4]
J 19053 C2 org.jruby.ir.interpreter.InterpreterEngine.processCall(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ir/instructions/Instr;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/parser/StaticScope;[Ljava/lang/Object;Lorg/jruby/runtime/builtin/IRubyObject;)V (663 bytes) @ 0x00007f62d60fc9c0 [0x00007f62d60fc5c0+0x400]
J 16398 C2 org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/ir/interpreter/InterpreterContext;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (671 bytes) @ 0x00007f62d5a8445c [0x00007f62d5a84100+0x35c]
J 17210 C2 org.jruby.runtime.IRBlockBody.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (40 bytes) @ 0x00007f62d6707f40 [0x00007f62d6707820+0x720]
J 24751 C2 org.jruby.internal.runtime.methods.ProcMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (15 bytes) @ 0x00007f62d85226f4 [0x00007f62d8522400+0x2f4]
J 23383 C2 org.jruby.internal.runtime.methods.DynamicMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (21 bytes) @ 0x00007f62d77873bc [0x00007f62d77872a0+0x11c]
J 26469 C2 org.jruby.RubyKernel$INVOKER$s$send.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (12 bytes) @ 0x00007f62d42be794 [0x00007f62d42be600+0x194]
J 15178 C2 org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrTwoOrNBlock.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; (17 bytes) @ 0x00007f62d457f334 [0x00007f62d457f2e0+0x54]
J 11018 C2 org.jruby.runtime.callsite.CachingCallSite.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; (60 bytes) @ 0x00007f62d5fb9f70 [0x00007f62d5fb9ea0+0xd0]
j  opt.puppetlabs.puppet.lib.ruby.vendor_ruby.puppet.parser.functions.invokeOther25:send(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+11
j  opt.puppetlabs.puppet.lib.ruby.vendor_ruby.puppet.parser.functions.RUBY$block$newfunction$2(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+755
J 10562 C2 java.lang.invoke.LambdaForm$DMH.invokeStatic_L6_L(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (24 bytes) @ 0x00007f62d5e4cbe4 [0x00007f62d5e4cba0+0x44]
j  java.lang.invoke.LambdaForm$BMH.reinvoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+43
J 19727 C2 org.jruby.runtime.IRBlockBody.yieldSpecific(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (57 bytes) @ 0x00007f62d75cd76c [0x00007f62d75cd100+0x66c]
J 24285 C2 org.jruby.ir.targets.indy.YieldSite.yieldSpecific(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (291 bytes) @ 0x00007f62d82d7ad0 [0x00007f62d82d7a20+0xb0]
J 289251 C1 opt.puppetlabs.puppet.lib.ruby.vendor_ruby.puppet.util.profiler.around_profiler.RUBY$method$profile$0(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Lorg/jruby/RubyModule;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject; (233 bytes) @ 0x00007f62e85ab85c [0x00007f62e85a9260+0x25fc]
J 289243 C1 java.lang.invoke.LambdaForm$DMH.invokeStatic_L8_L(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (34 bytes) @ 0x00007f62ea1926cc [0x00007f62ea1924a0+0x22c]
J 11175 C2 org.jruby.internal.runtime.methods.MixedModeIRMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (70 bytes) @ 0x00007f62d60a4920 [0x00007f62d60a4760+0x1c0]
J 17818 C2 org.jruby.runtime.callsite.CachingCallSite.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (64 bytes) @ 0x00007f62d6cb5708 [0x00007f62d6cb5620+0xe8]
J 289248 C1 opt.puppetlabs.puppet.lib.ruby.vendor_ruby.puppet.util.profiler.RUBY$method$profile$0(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Lorg/jruby/RubyModule;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject; (53 bytes) @ 0x00007f62e079d7e4 [0x00007f62e079cac0+0xd24]
j  java.lang.invoke.LambdaForm$DMH.invokeStatic_L8_L(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+30
J 11175 C2 org.jruby.internal.runtime.methods.MixedModeIRMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (70 bytes) @ 0x00007f62d60a4920 [0x00007f62d60a4760+0x1c0]
J 24162 C2 org.jruby.runtime.callsite.CachingCallSite.callIter(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (33 bytes) @ 0x00007f62d828e1b4 [0x00007f62d828e0a0+0x114]
j  opt.puppetlabs.puppet.lib.ruby.vendor_ruby.puppet.parser.functions.invokeOther33:profile(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+13
j  opt.puppetlabs.puppet.lib.ruby.vendor_ruby.puppet.parser.functions.RUBY$block$newfunction$1(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+184
J 10562 C2 java.lang.invoke.LambdaForm$DMH.invokeStatic_L6_L(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (24 bytes) @ 0x00007f62d5e4cbe4 [0x00007f62d5e4cba0+0x44]
j  java.lang.invoke.LambdaForm$BMH.reinvoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+62
J 17210 C2 org.jruby.runtime.IRBlockBody.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (40 bytes) @ 0x00007f62d6708208 [0x00007f62d6707820+0x9e8]
J 24751 C2 org.jruby.internal.runtime.methods.ProcMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (15 bytes) @ 0x00007f62d85227
20 [0x00007f62d8522400+0x320]
J 23383 C2 org.jruby.internal.runtime.methods.DynamicMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (21 bytes) @ 0x00007f62d778
73bc [0x00007f62d77872a0+0x11c]
J 26469 C2 org.jruby.RubyKernel$INVOKER$s$send.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (
12 bytes) @ 0x00007f62d42be794 [0x00007f62d42be600+0x194]
J 15178 C2 org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrTwoOrNBlock.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IR
ubyObject; (17 bytes) @ 0x00007f62d457f334 [0x00007f62d457f2e0+0x54]
J 11018 C2 org.jruby.runtime.callsite.CachingCallSite.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject; (60 bytes) @ 0x00007
f62d5fb9f70 [0x00007f62d5fb9ea0+0xd0]

The problem appeared after a constant load of puppet agent request and we have 974 hosts managed by this puppet server.

Steps to Reproduce

We succeeded to reproduce this issue on a sandbox environment (same OS and config), with :

  • 1 puppet server
  • 3 VM instances -> running a script allowing to make puppet agent -t 300 times, in parallel with a sleep of 7 second between every new puppet agent -t

And after 30-40 minutes, the JVM crash with the SIGSEGV issue, either on libcrypt.so.1 or on libc.so.6.

Environment versions

  • puppet agent : 7.34.0
  • puppet server : 7.17.3
  • OS : Red Hat Enterprise Linux 8.10
  • /lib64/libcrypt.so.1 -> libcrypt.so.1.1.0
  • /lib64/libc.so.6 -> libc-2.28.so
  • openjdk : 1.8.0_432-b06

CPU arch info :

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  2
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      Google
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) CPU @ 2.80GHz
Stepping:            7
CPU MHz:             2799.998
BogoMIPS:            5599.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            33792K
NUMA node0 CPU(s):   0-7
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat avx512_vnni md_clear arch_capabilities

RAM info : 32Gb

@alexandreleclercqdecat alexandreleclercqdecat changed the title sigsegv fault occured in puppetserver jvm when sigsegv fault occured in puppetserver jvm when agent increasing Dec 12, 2024
@alexandreleclercqdecat alexandreleclercqdecat changed the title sigsegv fault occured in puppetserver jvm when agent increasing sigsegv fault occured in puppetserver jvm Dec 12, 2024
@alexandreleclercqdecat alexandreleclercqdecat changed the title sigsegv fault occured in puppetserver jvm sigsegv fault on libc occured in puppetserver jvm Dec 12, 2024
@alexandreleclercqdecat
Copy link
Author

alexandreleclercqdecat commented Dec 12, 2024

More info :

  • custom part of puppetserver.conf :
    max-active-instances: 4

    # (optional) the number of HTTP requests a given JRuby instance will handle in its lifetime.
    max-requests-per-instance: 0

    # (optional) The maximum number of requests that may be queued waiting to borrow a JRuby from the pool.
    max-queued-requests: 360

    # (optional) Sets the upper limit for the random sleep set as a Retry-After header on 503 responses returned when max-queued-requests is enabled.
    max-retry-delay: 1800

    # (optional) enable or disable environment class cache
    environment-class-cache-enabled: false

    # (optional) A map of environment variables which are made visible to
    # Ruby code running within JRuby, for example, via the Ruby ENV class.
    # By default, the only environment variables whose values are set into JRuby from the shell are HOME and PATH.
    # The default value for the GEM_HOME environment variable in JRuby is set from the value provided for the
    # jruby-puppet.gem-home key.
    # Any variable set from the map for the environment-vars key overrides these defaults.
    # Avoid overriding HOME, PATH, or GEM_HOME here because these values are already configurable via the shell
    # or jruby-puppet.gem-home.
    environment-vars: {
    }
    multithreaded: false
  • Java opts :
    JAVA_ARGS="-Xms16384M -Xmx16384M -Dcom.redhat.fips=false -Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger -XX:ReservedCodeCacheSize=1024m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant