无法从Node.js连接到JMX

问题描述

使用jmx nodeJs包桥接来自nodeJs的kafka应用程序并与之通信时遇到问题(请参见https://www.npmjs.com/package/jmx)。

我的代码

var jmx = require('jmx');
var java = require('java');

java.import("javax.management.remote.JMXConnectorFactory");


var System = java.import('java.lang.System');
System.setProperty('sun.rmi.transport.connectionTimeout','500');
System.setProperty('sun.rmi.transport.tcp.handshakeTimeout','500');
System.setProperty('sun.rmi.transport.tcp.responseTimeout','500');
System.setProperty('sun.rmi.transport.tcp.readTimeout','500');

var host = "192.168.xx.xx";
var port = 5600;

var jmxrmi = 'service:jmx:rmi:///jndi/rmi://' + host + ':' + port + '/jmxrmi';

var client = jmx.createClient({
    service:jmxrmi
});

client.on('error',function (e) {
    console.log('Error: JMX at %s:%d',host,port,e);
    client.disconnect();
});

client.on('disconnect',function (err) {
  console.log('Successfully disconnected from client.');
});

client.on('connect',function() {
  console.log('Successfully connected to client.');
  client.disconnect();
});

client.connect();



以上代码给出以下错误

#
# A Fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4ebce03415,pid=29951,tid=0x00007f4ec0d77740
#
# JRE version: OpenJDK Runtime Environment (8.0_265-b01) (build 1.8.0_265-8u265-b01-0ubuntu2~18.04-b01)
# Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [nodejavabridge_bindings.node+0x22415]  getSystemClassLoader(jnienv_*)+0x15
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping,try "ulimit -c unlimited" before starting Java again
#
# An error report file with more @R_389_4045@ion is saved as:
# /home/kuldeep/monitoring-agent/hs_err_pid29951.log
#
# If you would like to submit a bug report,please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

还将创建一个日志文件,其内容如下所示:

#
# A Fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4ebce03415,try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report,please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# 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 (0x000000000319b000):  JavaThread "main" [_thread_in_native,id=29951,stack(0x00007ffde0ea2000,0x00007ffde0fa2000)]

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

Registers:
RAX=0x0000000000000000,RBX=0x0000000000000000,RCX=0x0000000000000007,RDX=0x00000000030e2010
RSP=0x00007ffde0f9cd80,RBP=0x00007ffde0f9cda0,RSI=0x00007f4ebce0a8ac,RDI=0x0000000000000000
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007ffde0f9cd80)
0x00007ffde0f9cd80:   00000000031fa530 00007ffde0f9ce60


Instructions: (pc=0x00007f4ebce03415)
0x00007f4ebce033f5:   00 ba 9e 00 00 00 e8 90 76 fe ff 55 48 8d 35 a4
0x00007f4ebce03405:   74 00 00 48 89 e5 41 56 41 55 41 54 53 48 89 fb
0x00007f4ebce03415:   48 8b 07 ff 50 30 49 89 c4 48 8b 03 48 89 df 4c
0x00007f4ebce03425:   89 e6 48 8d 0d 8f 74 00 00 48 8d 15 9d 74 00 00 


Stack: [0x00007ffde0ea2000,0x00007ffde0fa2000],sp=0x00007ffde0f9cd80,free space=1003k
Native frames: (J=compiled Java code,j=interpreted,Vv=VM code,C=native code)
C  [nodejavabridge_bindings.node+0x22415]  getSystemClassLoader(jnienv_*)+0x15
C  [nodejavabridge_bindings.node+0xf5e2]  Java::createJVM(JavaVM_**,jnienv_**)+0x782
C  [nodejavabridge_bindings.node+0xf8bd]  Java::ensureJvm()+0x2d
C  [nodejavabridge_bindings.node+0x10e00]  Java::findClassSync(Nan::FunctionCallbackInfo<v8::Value> const&)+0x90
C  [nodejavabridge_bindings.node+0xac0f]  Nan::imp::FunctionCallbackWrapper(v8::FunctionCallbackInfo<v8::Value> const&)+0xaf
C  [node+0x762a3f]
C  [node+0x7635a9]  v8::internal::Builtin_HandleApiCall(int,v8::internal::Object**,v8::internal::Isolate*)+0xb9
C  0x000023fed82dbe1d
C  0x000023fed82918d5
C  0x000023fed82918d5
C  0x000023fed828a5c3
C  0x000023fed828d023
C  0x000023fed828ee75
C  0x000023fed82892c1
C  [node+0xa725d3]  v8::internal::Execution::Call(v8::internal::Isolate*,v8::internal::Handle<v8::internal::Object>,int,v8::internal::Handle<v8::internal::Object>*)+0x103
C  [node+0x6ff8e9]  v8::Function::Call(v8::Local<v8::Context>,v8::Local<v8::Value>,v8::Local<v8::Value>*)+0x179
C  [node+0x4dfbc7]  node::LoadEnvironment(node::Environment*)+0x3b7
C  [node+0x4e6e50]  node::Start(v8::Isolate*,node::IsolateData*,std::vector<std::string,std::allocator<std::string> > const&,std::allocator<std::string> > const&)+0x470
C  [node+0x4e5239]  node::Start(int,char**)+0x469
C  [libc.so.6+0x21b97]  __libc_start_main+0xe7


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00007f4e18001000 JavaThread "Thread-3" [_thread_in_native,id=29991,stack(0x00007f4e8c4df000,0x00007f4e8ccdf000)]
  0x00007f4e20001000 JavaThread "Thread-2" [_thread_in_native,id=29989,stack(0x00007f4e8d4e1000,0x00007f4e8dce1000)]
  0x00007f4e84001000 JavaThread "Thread-4" [_thread_in_native,id=29990,stack(0x00007f4e8cce0000,0x00007f4e8d4e0000)]
  0x00007f4e2c001000 JavaThread "Thread-1" [_thread_in_native,id=29988,stack(0x00007f4e8dce2000,0x00007f4e8e4e2000)]
  0x000000000350c000 JavaThread "Service Thread" daemon [_thread_blocked,id=29986,stack(0x00007f4e8ea0f000,0x00007f4e8eb10000)]
  0x0000000003500800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked,id=29985,stack(0x00007f4e8eb11000,0x00007f4e8ec11000)]
  0x00000000034fe800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked,id=29984,stack(0x00007f4e8ec12000,0x00007f4e8ed12000)]
  0x00000000034fc800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked,id=29983,stack(0x00007f4e8ed13000,0x00007f4e8ee13000)]
  0x00000000034fa000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked,id=29982,stack(0x00007f4e8ee14000,0x00007f4e8ef14000)]
  0x00000000034f8800 JavaThread "Signal dispatcher" daemon [_thread_blocked,id=29981,stack(0x00007f4e8ef14000,0x00007f4e8f015000)]
  0x00000000034c8800 JavaThread "Finalizer" daemon [_thread_blocked,id=29980,stack(0x00007f4e8f2f3000,0x00007f4e8f3f4000)]
  0x00000000034c4000 JavaThread "Reference Handler" daemon [_thread_blocked,id=29974,stack(0x00007f4e8f3f4000,0x00007f4e8f4f5000)]
=>0x000000000319b000 JavaThread "main" [_thread_in_native,0x00007ffde0fa2000)]

Other Threads:
  0x00000000034ba800 VMThread [stack: 0x00007f4e8f4f6000,0x00007f4e8f5f6000] [id=29973]
  0x000000000350e000 WatcherThread [stack: 0x00007f4e8e90f000,0x00007f4e8ea0f000] [id=29987]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

heap address: 0x00000006c7600000,size: 3978 MB,Compressed Oops mode: Zero based,Oop shift amount: 3
Narrow klass base: 0x0000000000000000,Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x00000007c0000000

Heap:
 PSYoungGen      total 74752K,used 7742K [0x000000076d200000,0x0000000772500000,0x00000007c0000000)
  eden space 64512K,12% used [0x000000076d200000,0x000000076d98fba8,0x0000000771100000)
  from space 10240K,0% used [0x0000000771b00000,0x0000000771b00000,0x0000000772500000)
  to   space 10240K,0% used [0x0000000771100000,0x0000000771100000,0x0000000771b00000)
 ParOldGen       total 171008K,used 0K [0x00000006c7600000,0x00000006d1d00000,0x000000076d200000)
  object space 171008K,0% used [0x00000006c7600000,0x00000006c7600000,0x00000006d1d00000)
 Metaspace       used 3248K,capacity 4574K,committed 4864K,reserved 1056768K
  class space    used 340K,capacity 388K,committed 512K,reserved 1048576K

Card table byte_map: [0x00007f4e96ead000,0x00007f4e97673000] byte_map_base: 0x00007f4e93872000

Marking Bits: (ParMarkBitMaP*) 0x00007f4ea7fe3520
 Begin Bits: [0x00007f4e76729000,0x00007f4e7a551000)
 End Bits:   [0x00007f4e7a551000,0x00007f4e7e379000)

Polling page: 0x00007f4ec0d90000

CodeCache: size=245760Kb used=1201Kb max_used=1201Kb free=244558Kb
 bounds [0x00007f4e97a33000,0x00007f4e97ca3000,0x00007f4ea6a33000]
 total_blobs=323 nmethods=73 adapters=165
 compilation: enabled

Compilation events (10 events):
Event: 0.048 Thread 0x0000000003500800   69   !   3       java.lang.StringCoding::encode (120 bytes)
Event: 0.048 Thread 0x0000000003500800 nmethod 69 0x00007f4e97b5a650 code [0x00007f4e97b5a9a0,0x00007f4e97b5c218]
Event: 0.048 Thread 0x0000000003500800   68       3       java.lang.reflect.ReflectAccess::copyMethod (5 bytes)
Event: 0.048 Thread 0x0000000003500800 nmethod 68 0x00007f4e97b5d110 code [0x00007f4e97b5d280,0x00007f4e97b5d488]
Event: 0.049 Thread 0x0000000003500800   70       1       java.lang.reflect.AccessibleObject::isAccessible (5 bytes)
Event: 0.049 Thread 0x0000000003500800 nmethod 70 0x00007f4e97b5d8d0 code [0x00007f4e97b5da20,0x00007f4e97b5db30]
Event: 0.049 Thread 0x0000000003500800   72       3       java.lang.reflect.Modifier::isPublic (12 bytes)
Event: 0.049 Thread 0x0000000003500800 nmethod 72 0x00007f4e97b5db90 code [0x00007f4e97b5dd00,0x00007f4e97b5de90]
Event: 0.049 Thread 0x0000000003500800   73       3       java.lang.class::searchMethods (90 bytes)
Event: 0.050 Thread 0x0000000003500800 nmethod 73 0x00007f4e97b5df10 code [0x00007f4e97b5e160,0x00007f4e97b5f0f8]

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (5 events):
Event: 0.011 Thread 0x000000000319b000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076d207cc0) thrown at [/build/openjdk-8-nxKaDu/openjdk-8-8u265-b01/src/hotspot/src/share/vm/
Event: 0.011 Thread 0x000000000319b000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000076d207fa8) thrown at [/build/openjdk-8-nxKaDu/openjdk-8-8u265-b01/src/hotspot/src/share/vm/prims/jni.cpp,lin
Event: 0.035 Thread 0x000000000319b000 Exception <a 'java/util/zip/ZipException'> (0x000000076d27b520) thrown at [/build/openjdk-8-nxKaDu/openjdk-8-8u265-b01/src/hotspot/src/share/vm/prims/jni.cpp,line 711]
Event: 0.035 Thread 0x000000000319b000 Exception <a 'java/security/PrivilegedActionException'> (0x000000076d27b7c0) thrown at [/build/openjdk-8-nxKaDu/openjdk-8-8u265-b01/src/hotspot/src/share/vm/prims/jvm.cpp,line 1512]
Event: 0.035 Thread 0x000000000319b000 Exception <a 'java/security/PrivilegedActionException'> (0x000000076d27b9d0) thrown at [/build/openjdk-8-nxKaDu/openjdk-8-8u265-b01/src/hotspot/src/share/vm/prims/jvm.cpp,line 1512]

Events (10 events):
Event: 0.047 loading class sun/reflect/MethodAccessorGenerator$1
Event: 0.047 loading class sun/reflect/MethodAccessorGenerator$1 done
Event: 0.047 loading class sun/reflect/ClassDefiner
Event: 0.047 loading class sun/reflect/ClassDefiner done
Event: 0.047 loading class sun/reflect/ClassDefiner$1
Event: 0.047 loading class sun/reflect/ClassDefiner$1 done
Event: 0.049 Thread 0x00007f4e2c001000 Thread added: 0x00007f4e2c001000
Event: 0.049 Thread 0x00007f4e84001000 Thread added: 0x00007f4e84001000
Event: 0.049 Thread 0x00007f4e20001000 Thread added: 0x00007f4e20001000
Event: 0.049 Thread 0x00007f4e18001000 Thread added: 0x00007f4e18001000


Dynamic libraries:
00400000-02296000 r-xp 00000000 08:16 24510826                           /usr/local/bin/node

ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

VM Arguments:
java_command: <unkNown>
java_class_path (initial): /home/kuldeep/monitoring-agent/node_modules/java/commons-lang3-node-java.jar:/home/kuldeep/monitoring-agent/node_modules/java/src-java
Launcher Type: generic

Environment Variables:
PATH=/home/kuldeep/monitoring-agent/node_modules/.bin:/opt/mongodb/bin:/home/kuldeep/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/spark/bin:/opt/netbeans/bin/:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
USERNAME=kuldeep
SHELL=/bin/bash
disPLAY=:0

Signal Handlers:
SIGSEGV: [libjvm.so+0xabb430],sa_mask[0]=11111111011111111101111111111110,sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xabb430],sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x8eb5b0],sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x8eb5b0],sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x8eb5b0],sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x8eb5b0],sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: [+0x5c6580],sa_flags=none
SIGUSR2: [libjvm.so+0x8eb460],sa_mask[0]=00000000000000000000000000000000,sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: [libjvm.so+0x8ebad0],sa_flags=SA_RESTART|SA_SIGINFO
SIGINT: [libjvm.so+0x8ebad0],sa_flags=SA_RESTART|SA_SIGINFO
SIGTERM: [libjvm.so+0x8ebad0],sa_flags=SA_RESTART|SA_SIGINFO
SIGQUIT: [libjvm.so+0x8ebad0],sa_flags=SA_RESTART|SA_SIGINFO


---------------  S Y S T E M  ---------------

OS:disTRIB_ID=Ubuntu
disTRIB_RELEASE=18.04
disTRIB_CODENAME=bionic
disTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"

uname:Linux 4.15.0-117-generic #118-Ubuntu SMP Fri Sep 4 20:02:41 UTC 2020 x86_64
libc:glibc 2.27 NPTL 2.27 
rlimit: STACK 8192k,CORE 0k,NPROC 63360,NOFILE 4096,AS infinity
load average:0.86 0.85 0.94

/proc/meminfo:
MemTotal:       16286028 kB
MemFree:         3483016 kB
MemAvailable:    7805156 kB
Buffers:         1065548 kB
Cached:          4014396 kB
SwapCached:        22340 kB
Active:          9421932 kB
Inactive:        2640132 kB
Active(anon):    6579348 kB
Inactive(anon):  1096924 kB
Active(file):    2842584 kB
Inactive(file):  1543208 kB
Unevictable:          16 kB
mlocked:              16 kB
SwapTotal:       9764860 kB
SwapFree:        9733104 kB
Dirty:              1912 kB
Writeback:             0 kB
AnonPages:       6959808 kB
Mapped:          1061948 kB
Shmem:            709940 kB
Slab:             446676 kB
SReclaimable:     271312 kB
SUnreclaim:       175364 kB
KernelStack:       24196 kB
PageTables:        83628 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    17907872 kB
Committed_AS:   31093220 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:    399360 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      758032 kB
DirectMap2M:    12734464 kB
DirectMap1G:     4194304 kB

container (cgroup) @R_389_4045@ion:
container_type: cgroupv1
cpu_cpuset_cpus: 0-7
cpu_memory_nodes: 0
active_processor_count: 8
cpu_quota: -1
cpu_period: 100000
cpu_shares: -1
memory_limit_in_bytes: -1
memory_and_swap_limit_in_bytes: -2
memory_soft_limit_in_bytes: -1
memory_usage_in_bytes: 12352532480
memory_max_usage_in_bytes: 12977152000


cpu:total 8 (initial active 8) (4 cores per cpu,2 threads per core) family 6 model 158 stepping 9,cmov,cx8,fxsr,mmx,sse,sse2,sse3,ssse3,sse4.1,sse4.2,popcnt,avx,avx2,aes,clmul,erms,rtm,3dNowpref,lzcnt,ht,tsc,tscinvbit,bmi1,bmi2,adx

/proc/cpuinfo:
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4080.264
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 0
cpu cores   : 4
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4038.617
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 1
cpu cores   : 4
apicid      : 2
initial apicid  : 2
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4058.922
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 2
cpu cores   : 4
apicid      : 4
initial apicid  : 4
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4066.351
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 3
cpu cores   : 4
apicid      : 6
initial apicid  : 6
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:

processor   : 4
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4069.134
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 0
cpu cores   : 4
apicid      : 1
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:

processor   : 5
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4000.002
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 1
cpu cores   : 4
apicid      : 3
initial apicid  : 3
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:

processor   : 6
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4084.042
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 2
cpu cores   : 4
apicid      : 5
initial apicid  : 5
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:

processor   : 7
vendor_id   : GenuineIntel
cpu family  : 6
model       : 158
model name  : Intel(R) Core(TM) i7-7700 cpu @ 3.60GHz
stepping    : 9
microcode   : 0xd6
cpu MHz     : 4075.337
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 3
cpu cores   : 4
apicid      : 7
initial apicid  : 7
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dNowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit srbds
bogomips    : 7200.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical,48 bits virtual
power management:



Memory: 4k page,physical 16286028k(3478180k free),swap 9764860k(9733104k free)

vm_info: OpenJDK 64-Bit Server VM (25.265-b01) for linux-amd64 JRE (1.8.0_265-8u265-b01-0ubuntu2~18.04-b01),built on Aug  3 2020 01:16:56 by "buildd" with gcc 7.5.0

time: Tue Sep 29 10:21:29 2020
timezone: IST
elapsed time: 0 seconds (0d 0h 0m 0s)



由于有问题的字符限制,一些不相关(我认为)行已从日志文件删除。 注意:Kafka JMX正在端口5600上运行。

我是nodeJ的新手,请帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)