【发布时间】:2017-05-18 05:54:06
【问题描述】:
我们在 Odroid C1+ 上运行 Sonatype Nexus 3,大约相当于 RPi 2。是的,不推荐,但对于我们 2 的开发团队来说,性能是可以接受的。
启动除外。 Nexus 3 OSS 服务器需要一个小时或更长时间才能可用。
这正常吗? 任何想法为什么这么慢?
以下是一些启动时的日志条目。
2017-05-16 05:36:29,185+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - $ANSI{green:italic OrientDB 服务器处于活动状态} v2.2.13。 2017-05-16 05:36:29,189+0000 信息 [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - 已激活 2017-05-16 05:36:29,242+0000 信息 [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - 开始升级 2017-05-16 05:36:35,919+0000 警告 [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 存储“配置”没有正确关闭。将尝试从预写日志中恢复 2017-05-16 05:36:35,931+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 寻找最后一个检查点... 2017-05-16 05:36:36,515+0000 信息 [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 找到模糊检查点。 2017-05-16 05:36:36,530+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 数据恢复过程FUZZY 检查点已启动。 2017-05-16 05:36:36,562+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 记录 com.orientechnologies .orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointEndRecord{lsn=OLogSequenceNumber{segment=0, position=6856901}} 将在数据恢复过程中被跳过 2017-05-16 05:36:36,570+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 1 个操作已处理, 当前的 LSN 是 OLogSequenceNumber{segment=0, position=6856901} 最后的 LSN 是 OLogSequenceNumber{segment=0, position=6856954} 2017-05-16 05:36:36,579+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 记录 OFuzzyCheckpointStartRecord{lsn =OLogSequenceNumber{segment=0, position=6856908}} com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointStartRecord{lsn=null, previousCheckpoint=OLogSequenceNumber{segment=0, position=6856861}} 将在数据恢复期间被跳过 2017-05-16 05:36:36,822+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 记录 com.orientechnologies .orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointEndRecord{lsn=OLogSequenceNumber{segment=0, position=6856948}} 将在数据恢复过程中被跳过 2017-05-16 05:36:36,829+0000 信息 [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=config}} 存储数据恢复是完全的 2017-05-16 05:42:54,800+0000 信息 [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - 启动 SCHEMAS 2017-05-16 05:42:55,883+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 存储“分析”没有正确关闭。将尝试从预写日志中恢复 2017-05-16 05:42:55,894+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 寻找最后一个检查点... 2017-05-16 05:42:55,904+0000 信息 [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 找到模糊检查点。 2017-05-16 05:42:55,913+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 数据恢复过程来自FUZZY 检查点已启动。 2017-05-16 05:42:55,921+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 记录 com.orientechnologies .orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointEndRecord{lsn=OLogSequenceNumber{segment=0, position=2246069}} 将在数据恢复过程中被跳过 2017-05-16 05:42:55,929+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 1 个操作已处理, 当前的 LSN 是 OLogSequenceNumber{segment=0, position=2246069} 最后的 LSN 是 OLogSequenceNumber{segment=0, position=2246122} 2017-05-16 05:42:55,938+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 记录 OFuzzyCheckpointStartRecord{lsn =OLogSequenceNumber{segment=0, position=2246076}} com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointStartRecord{lsn=null, previousCheckpoint=OLogSequenceNumber{segment=0, position=2246029}} 将在数据恢复期间被跳过 2017-05-16 05:42:55,946+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 记录 com.orientechnologies .orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointEndRecord{lsn=OLogSequenceNumber{segment=0, position=2246116}} 将在数据恢复过程中被跳过 2017-05-16 05:42:55,952+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=analytics}} 存储数据恢复是完全的 2017-05-16 05:49:05,078+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 存储“审计”没有正确关闭。将尝试从预写日志中恢复 2017-05-16 05:49:05,089+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 寻找最后一个检查点... 2017-05-16 05:49:05,097+0000 信息 [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 发现模糊检查点。 2017-05-16 05:49:05,105+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 数据恢复过程FUZZY 检查点已启动。 2017-05-16 05:49:05,113+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 记录 com.orientechnologies .orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointEndRecord{lsn=OLogSequenceNumber{segment=0, position=2268394}} 将在数据恢复过程中被跳过 2017-05-16 05:49:05,121+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 1 个操作已处理, 当前的 LSN 是 OLogSequenceNumber{segment=0, position=2268394} 最后的 LSN 是 OLogSequenceNumber{segment=0, position=2268447} 2017-05-16 05:49:05,129+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 记录 OFuzzyCheckpointStartRecord{lsn =OLogSequenceNumber{segment=0, position=2268401}} com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointStartRecord{lsn=null, previousCheckpoint=OLogSequenceNumber{segment=0, position=2268354}} 将在数据恢复期间被跳过 2017-05-16 05:49:05,138+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 记录 com.orientechnologies .orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointEndRecord{lsn=OLogSequenceNumber{segment=0, position=2268441}} 将在数据恢复过程中被跳过 2017-05-16 05:49:05,144+0000 信息 [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ANSI{green {db=audit}} 存储数据恢复是完成
【问题讨论】:
-
嵌入的orientdb好像坏了,自动恢复了。也许你在关机时做错了什么?