Skip to content

Instantly share code, notes, and snippets.

@dolt131943
Last active April 20, 2021 07:27
Show Gist options
  • Save dolt131943/981feb00bebdd48f318643beee92e813 to your computer and use it in GitHub Desktop.
Save dolt131943/981feb00bebdd48f318643beee92e813 to your computer and use it in GitHub Desktop.
nexus3 docker 无法完成启动(8h以上),单核cpu一直100%,无法访问
"FelixStartLevel" #23 daemon prio=5 os_prio=0 tid=0x00007fee78418800 nid=0xde runnable [0x00007fee53782000]
   java.lang.Thread.State: RUNNABLE
	at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OWALPageChangesPortion.getIntValue(OWALPageChangesPortion.java:85)
	at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.getIntValue(ODurablePage.java:117)
	at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPage.doDefragmentation(OClusterPage.java:501)
	at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPage.appendRecord(OClusterPage.java:99)
	at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.updateRecord(OPaginatedCluster.java:1121)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:4039)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:4607)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:1857)
	at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:541)
	at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:99)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2908)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2870)
	at org.sonatype.nexus.orient.transaction.OrientTransaction.commit(OrientTransaction.java:74)
	at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:68)
	at org.sonatype.nexus.transaction.Operations.proceedWithTransaction(Operations.java:232)
	at org.sonatype.nexus.transaction.Operations.transactional(Operations.java:223)
	at org.sonatype.nexus.transaction.Operations.call(Operations.java:166)
	at org.sonatype.nexus.orient.transaction.OrientOperations.call(OrientOperations.java:55)
	at org.sonatype.nexus.quartz.internal.orient.JobStoreImpl.executeWrite(JobStoreImpl.java:224)
	at org.sonatype.nexus.quartz.internal.orient.JobStoreImpl.storeJob(JobStoreImpl.java:363)
	at org.quartz.core.QuartzScheduler.addJob(QuartzScheduler.java:938)
	at org.quartz.impl.StdScheduler.addJob(StdScheduler.java:273)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI.updateLastRunStateInfo(QuartzSchedulerSPI.java:292)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI.lambda$0(QuartzSchedulerSPI.java:199)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI$$Lambda$636/1305084201.accept(Unknown Source)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI.forEachNexusJob(QuartzSchedulerSPI.java:234)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI.reattachListeners(QuartzSchedulerSPI.java:197)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI.doStart(QuartzSchedulerSPI.java:192)
	at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI$$EnhancerByGuice$$d9d9f05c.CGLIB$start$33(<generated>)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI$$EnhancerByGuice$$d9d9f05c$$FastClassByGuice$$580e8a30.invoke(<generated>)
	at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
	at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
	at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
	at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
	at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
	at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:78)
	at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:54)
	at org.sonatype.nexus.quartz.internal.QuartzSchedulerSPI$$EnhancerByGuice$$d9d9f05c.start(<generated>)
	at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:199)
	at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:111)
	- locked <0x0000000718eecaf8> (a org.eclipse.sisu.inject.DefaultBeanLocator)
	at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:321)
	at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:218)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1431)
	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
	at java.lang.Thread.run(Thread.java:748)

看样子这个事情一直没做完。

另外,之前是强制停机的,但看到手册说docker stop 时地需要加--time=120。

When stopping, be sure to allow sufficient time for the databases to fully shut down.

docker stop --time=120 <CONTAINER_NAME>

想来可能是文件数据库损坏之类的无法连接了。

解决方案

not resolve finally. just restore backup first.

need too work to analysis this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment