我们在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 Server is active} v2.2.13。 2017-05-16 05:36:29,189 + 0000 INFO [FelixStartLevel] * SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - 已激活 2017-05-16 05:36:29,242 + 0000 INFO [FelixStartLevel] * SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - 启动升级 2017-05-16 05:36:35,919 + 0000 WARN [FelixStartLevel] * SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ ANSI {green {db = config}} Storage&#39 ;配置'没有正确关闭。将尝试从提前写入日志中恢复 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 INFO [FelixStartLevel] * SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ ANSI {green {db = config}}找到FUZZY检查点。 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 INFO [FelixStartLevel] * SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ ANSI {green {db = config}}存储数据恢复是完成 2017-05-16 05:42:5400 + 0000 INFO [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}} Storage&#39 ;分析'没有正确关闭。将尝试从提前写入日志中恢复 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 INFO [FelixStartLevel] * SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ ANSI {green {db = analytics}}找到FUZZY检查点。 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}} Storage&#39 ;审计'没有正确关闭。将尝试从提前写入日志中恢复 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 INFO [FelixStartLevel] * SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ ANSI {green {db = audit}}找到FUZZY检查点。 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}} Record 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 INFO [FelixStartLevel] * SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - $ ANSI {green {db = audit}}存储数据恢复是完成
答案 0 :(得分:2)
一些注意事项:
我们的内部人员说,他注意到NXRM 3在Raspberry Pi 3,启动期间更新架构时内存不足,而他还没有找到解决方法。
他找到了解决方法。他也有一个大胡子。他编辑了nexus.vmoptions以获得以下内容:
-Xms256M
-Xmx256M
-XX:MaxDirectMemorySize=512M
Orient使用系统内存,这与使用Java堆的Nexus Repo不同,如果这对你有帮助的话。关于东方和关闭的上述说明也可能非常相关。
这里有一些关于东方和记忆以及调整的信息:
Optimizing OrientDB Database Memory
此处还有一篇关于Nexus Repository Manager 3的系统要求的更通用的文章:
Nexus Repository Manager 3 System Requirements
我建议您的团队有很大的不同,可能会使用我们的Docker图像并将Nexus Repo旋转到您必须使用的任何硬件上。
祝你好运!