Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Neo4j nineo_logical.log轮换时出现性能问题-Windows 7_Neo4j - Fatal编程技术网

Neo4j nineo_logical.log轮换时出现性能问题-Windows 7

Neo4j nineo_logical.log轮换时出现性能问题-Windows 7,neo4j,Neo4j,在通过neo4jclient(rest)将数据插入我的neo4j数据库时,我注意到有时不会创建新节点。这是当messages.log表示存在日志循环时 2014-09-03 09:24:24.727+0000 WARN [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 103ms [total block time: 64.957s] 2014-09-03 09:25

在通过neo4jclient(rest)将数据插入我的neo4j数据库时,我注意到有时不会创建新节点。这是当
messages.log
表示存在日志循环时

2014-09-03 09:24:24.727+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 103ms [total block time: 64.957s]
2014-09-03 09:25:05.303+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Rotating [C:\PROGRA~1\NEO4J-~1.3-W\NEO4J-~1.3\data\graph.db\nioneo_logical.log.2] @ version=621 to C:\PROGRA~1\NEO4J-~1.3-W\NEO4J-~1.3\data\graph.db\nioneo_logical.log.1 from position 26214690
2014-09-03 09:25:05.303+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Rotate log first start entry @ pos=25543534 out of [364439=Start[364439,xid=GlobalId[NEOKERNL|2191762550081260552|368202|-1], BranchId[ 52 49 52 49 52 49 ],master=-1,me=-1,time=2014-09-03 09:24:22.933+0000/1409736262933,lastCommittedTxWhenTransactionStarted=2098723], 364441=Start[364441,xid=GlobalId[NEOKERNL|-3264499367417003726|368203|-1], BranchId[ 52 49 52 49 52 49 ],master=-1,me=-1,time=2014-09-03 09:24:23.417+0000/1409736263417,lastCommittedTxWhenTransactionStarted=2098724]]
2014-09-03 09:25:05.475+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Rotate: old log scanned, newLog @ pos=671172
2014-09-03 09:25:05.490+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Log rotated, newLog @ pos=671172, version 622 and last tx 2098724
2014-09-03 09:25:22.744+0000 WARN  [o.n.k.EmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 103ms [total block time: 65.06s]
2014-09-03 09:26:33.694+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Rotating [C:\PROGRA~1\NEO4J-~1.3-W\NEO4J-~1.3\data\graph.db\nioneo_logical.log.1] @ version=622 to C:\PROGRA~1\NEO4J-~1.3-W\NEO4J-~1.3\data\graph.db\nioneo_logical.log.2 from position 26215122
2014-09-03 09:26:33.694+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Rotate log first start entry @ pos=26198480 out of [366049=Start[366049,xid=GlobalId[NEOKERNL|-4996649236013186268|369812|-1], BranchId[ 52 49 52 49 52 49 ],master=-1,me=-1,time=2014-09-03 09:25:51.558+0000/1409736351558,lastCommittedTxWhenTransactionStarted=2100333], 366051=Start[366051,xid=GlobalId[NEOKERNL|3341935111658490668|369813|-1], BranchId[ 52 49 52 49 52 49 ],master=-1,me=-1,time=2014-09-03 09:25:51.573+0000/1409736351573,lastCommittedTxWhenTransactionStarted=2100333]]
2014-09-03 09:26:33.710+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Rotate: old log scanned, newLog @ pos=16658
2014-09-03 09:26:33.725+0000 INFO  [o.n.k.i.t.x.XaLogicalLog]: Log rotated, newLog @ pos=16658, version 623 and last tx 2100334
因为这大约是每分钟一次,而RESTAPI似乎被阻塞,所以性能非常差

是否可能并建议增加日志大小?如果我将
keep_logical_logs=100M大小
更改为更高的值,是否会影响此行为


有没有什么好的方法来加快原木旋转或避免其他部分堵塞?

从臀部拍摄:病毒扫描器?什么样的硬件HDD/SSD?病毒扫描程序已停用;硬盘驱动器;win7系统在esx主机上虚拟运行虚拟化环境因不可预知的IO延迟而闻名。你能试一下真正的硬件,看看问题是否消失了吗?