几分钟后CouchDB崩溃了

时间:2014-05-06 13:24:38

标签: crash couchdb freebsd


CouchDB对我来说非常不愉快。 Niether文档,也没有提示可以帮助我。情况是这样的:
FreeBSD 9.2 amd64
couchdb-1.5.0,2从港口安装 npm couchapp
npm semver。

在CouchDB中开始复制以进行节点回购,并且每隔几分钟就会发生惊人的崩溃。我写了一个脚本,每隔5秒测试一次过程:
13时40分53秒
13:48:11 7m42s [成长趋势]
13:56:09 7分58秒 14:04:11 8分02秒 14:12:23 8分12秒 14:21:14 8分12秒 14:30:08 8分54秒 14:40:48 10分40秒 14:57:13 16分35秒 [停止增长趋势]
15:08:29 11月16日
...

couch.log:(并非总是如此,有时甚至根本没有)

Tue, 06 May 2014 12:59:51 GMT] [error] [<0.134.0>] Error in replication `[REPLICATION_HASH]+continuous` (triggered by document `npmjs_repl`): timeout
Restarting replication in 40 seconds.
[info] [<0.372.0>] Replication `"[REPLICATION_HASH]+continuous"` is using:
        4 worker processes
        a worker batch size of 500
        20 HTTP connections
        a connection timeout of 30000 milliseconds
        10 retries per request
        socket options are: [{keepalive,true},{nodelay,false}]
        source start sequence 203628
[Tue, 06 May 2014 13:00:32 GMT] [info] [<0.372.0>] Replication `"[REPLICATION_HASH]7+continuous"` is using:
        4 worker processes
        a worker batch size of 500
        20 HTTP connections
        a connection timeout of 30000 milliseconds
        10 retries per request
        socket options are: [{keepalive,true},{nodelay,false}]
        source start sequence 203628

err.log (在每次崩溃中)

heart: Tue May  6 15:06:14 2014: heart-beat time-out, no activity for 13 seconds
heart: Tue May  6 15:06:16 2014: Executed "/usr/local/bin/couchdb -k" -> 0. Terminating.

heart_beat_kill_pid = 52979
heart_beat_timeout = 11

桁架输出:

...
kevent(3,0x0,0,{},256,{0.000000000 })            = 0 (0x0)
kevent(3,0x0,0,{},256,{0.000000000 })            = 0 (0x0)
kevent(3,0x0,0,{},256,{0.000000000 })            = 0 (0x0)
kevent(3,0x0,0,{},256,{0.000000000 })            = 0 (0x0)
kevent(3,0x0,0,{},256,{0.000000000 })            = 0 (0x0)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 17431527424 (0x40f000000)
SIGNAL 9 (SIGKILL)
process exit, rval = 0

感谢您的帮助。

0 个答案:

没有答案