Comments (5)
Failed 100% on ubu24x86-beta-svl-rt1-1, passed on other machines (ubu22x86-svl-rt3-1, ubu22x86-svl-rt8-1, rhel7x86-rtp-rt2-1, cent8x86-rtp-rt3-1).
@hangshao0 pls take a look.
from openj9.
[2024-03-20T00:55:01.093Z] [ERR] JVMSHRC012I Cannot remove shared cache "ShareClassesCMLTests" as there are JVMs still attached to the cache
This means number of attached process to the shared memory is not 0.
Tries a simple command 3 times, seems that cacheInfo->nattach
value is garbage value (8717, 9215, 9696).
jenkins@ubu24x86-beta-svl-rt2-1:~/workspace$ java -Xtrace:print={j9shr.2317,j9prt.1052,j9prt.56-60} -Xshareclasses:nonpersistent,name=Cache0 -version
16:17:56.412*0x17000 j9prt.56 > j9shmem_stat entered, name = C290M11F1A64_memory_Cache0_G43L00
16:17:56.412 0x17000 j9prt.60 < j9shmem_stat exit - return success
16:17:56.413 0x17000 j9prt.56 > j9shmem_stat entered, name = C290M11F1A64_memory_Cache0_G43L00
16:17:56.413 0x17000 j9prt.60 < j9shmem_stat exit - return success
16:17:56.415 0x17000 j9shr.2317 < SH_OSCachesysv::getCacheStatsHelper: Exit. cacheInfo->name is Cache0, cacheInfo->os_shmid is 655627, cacheInfo->lastattach is 1711037876000, cacheInfo->lastdetach is 1711037874000, cacheInfo->nattach is 8717
...
jenkins@ubu24x86-beta-svl-rt2-1:~/workspace$ java -Xtrace:print={j9shr.2317,j9prt.1052,j9prt.56-60} -Xshareclasses:nonpersistent,name=Cache0 -version
16:17:58.419*0x17000 j9prt.56 > j9shmem_stat entered, name = C290M11F1A64_memory_Cache0_G43L00
16:17:58.419 0x17000 j9prt.60 < j9shmem_stat exit - return success
16:17:58.419 0x17000 j9prt.56 > j9shmem_stat entered, name = C290M11F1A64_memory_Cache0_G43L00
16:17:58.419 0x17000 j9prt.60 < j9shmem_stat exit - return success
16:17:58.421 0x17000 j9shr.2317 < SH_OSCachesysv::getCacheStatsHelper: Exit. cacheInfo->name is Cache0, cacheInfo->os_shmid is 655627, cacheInfo->lastattach is 1711037878000, cacheInfo->lastdetach is 1711037876000, cacheInfo->nattach is 9215
....
jenkins@ubu24x86-beta-svl-rt2-1:~/workspace$ java -Xtrace:print={j9shr.2317,j9prt.1052,j9prt.56-60} -Xshareclasses:nonpersistent,name=Cache0 -version
16:18:58.938*0x17000 j9prt.56 > j9shmem_stat entered, name = C290M11F1A64_memory_Cache0_G43L00
16:18:58.938 0x17000 j9prt.60 < j9shmem_stat exit - return success
16:18:58.939 0x17000 j9prt.56 > j9shmem_stat entered, name = C290M11F1A64_memory_Cache0_G43L00
16:18:58.939 0x17000 j9prt.60 < j9shmem_stat exit - return success
16:18:58.941 0x17000 j9shr.2317 < SH_OSCachesysv::getCacheStatsHelper: Exit. cacheInfo->name is Cache0, cacheInfo->os_shmid is 655627, cacheInfo->lastattach is 1711037938000, cacheInfo->lastdetach is 1711037878000, cacheInfo->nattach is 9696
While, on another machine, cacheInfo->nattach
is consistent.
from openj9.
We need to figure out what's wrong with Ubuntu 24_04, or this particular machine. It's still in beta, but we're getting close to the release date.
- are configuration changes required?
- are code changes required to support Ubuntu 24_04?
- is it no longer possible to support Ubuntu 24_04 for non-persistent caches?
I didn't check what build we have installed, but here I see a daily build.
from openj9.
Using ipcs, I see the nattch
of the shared memory is 12116, even when there is no java process attached to it.
key shmid owner perms bytes nattch status
0x6100771b 655627 jenkins 600 314572800 12116
Then I run a simple command:
java -Xtrace:print={j9shr.2317,j9prt.56,j9prt.57-60} -Xshareclasses:nonpersistent,name=Cache0 -version
After it finished, ipcs shows the nattch
becomes 12742
key shmid owner perms bytes nattch status
0x6100771b 655627 jenkins 600 314572800 12742
I tried using ipcrm -m
to remove the shared memory, but it cannot be removed. I guess it is because nattch > 0. It is marked as dest
, which means it will be deleted when all processes attached to it terminated.
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 655627 jenkins 600 314572800 12742 dest
It looks to me the nattch
reported by the OS is incorrect. It is hard for me to believe there are 12742 processes attached to this shared memory.
There are over 200 shared memory segments that are marked 'dest', but not deleted on this machine.
from openj9.
Added a note to infrastructure/issues/8836
from openj9.
Related Issues (20)
- Restoring a checkpoint fails on Power if SELinux is in Enforcing mode on restore but not at checkpoint time
- mauve crash vmState=0x0005ff04 Method_being_compiled=com/ibm/crypto/plus/provider/icc/Digest.a()V
- Is jdk11 not optimized when changing to JIT optimization? HOT 3
- Hash of java.rmi differs to expected hash recorded in java.base HOT 2
- MathLoadTest_bigdecimal_CS crash Illegal instruction vmState=0x00000000 Compiled_method=java/lang/Class.getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; HOT 10
- testJITServer_1_FAILED testServerGoesDown AssertionError: Failed to properly start server, it terminated prematurely with exit value: 1 HOT 2
- OpenJDK javax/imageio/plugins/jpeg/JPEGsNotAcceleratedTest The application does not have desktop access HOT 1
- OpenJDK sun/security/mscapi/NonAsciiAlias jdk.crypto.mscapi KeyStoreException: error 5, Access is denied. HOT 1
- jdk_io_1_FAILED java/io/ObjectStreamClass/TestOSCClassLoaderLeak.java test TestOSCClassLoaderLeak.testClassLoaderLeak() AssertionError: expected [false] but found [true]
- IdleMicrobenchmark_J9_0_FAILED IDLE Memory is more by 99999999999 MB
- ClassLoadingTest_5m_1_FAILED j9vm.249 ** ASSERTION FAILED ** at c:\...\openj9\runtime\vm\KeyHashTable.c:75: ((0 ))
- Test failures in VarHandle-related sanity.openjdk components HOT 7
- CRIU: jdk.crac.management is exported by default
- cmdLineTester_criu_jitserverPostRestore_0_FAILED openssl: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
- Regression with Euro symbol in String management
- MauveMultiThrdLoad_5m crash vmstate=0x00040000 HOT 7
- JVM's Just-In-Time (JIT) compiler could not locate the stack map for a method HOT 2
- cmdLineTester_jvmtitests_hcr_SE80 rc018 Illegal instruction Compiled_method=sun/nio/cs/StandardCharsets$Classes.init([Ljava/lang/Object;)V HOT 1
- FVT_Serviceability.diagnostics ERROR: Incorrect JIT Version Information in ENVINFO section. JIT information in javacore was 'tr.open_20240522_180822_aa580a0', expected it to contain 'aa580a0dc7f' HOT 1
- TriagerX - AI-Assisted Issue Triage and Assignment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openj9.