操作系统信息:
CentOS 5.5 Linux 2.6.18 x86_64
开始使用BeansDB时间:
2011/11/01
启动命令:
./beansdb -d -p 7900 -H /home/beansdb -T 1 -v -u root -c 2048 -L /var/
log/beansdb.log
BeansDB信息:
get @
VALUE @ 0 254
0/ 18827 647561
1/ 60281 646587
2/ 9613 646248
3/ 22255 645920
4/ 45935 647971
5/ 59859 646443
6/ 41709 646327
7/ 1298 646681
8/ 64551 647751
9/ 44129 646507
a/ 28417 647432
b/ 56672 645659
c/ 37891 648426
d/ 60952 646610
e/ 42950 647338
f/ 20037 647084
系统错误日志/var/log/messages:
Nov 23 08:29:25 nfs1 kernel: beansdb[30315]: segfault at
00002aaae6764000 rip 0000003a3587a336 rsp 00000000430cf018 error 4
BeansDB日志(/var/log/beansdb.log):
从开始使用到现在,一直出现这种信息,但是不影响使用。
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Connection reset by peer
Failed to write, and not due to blocking: Broken pipe
Failed to write, and not due to blocking: Broken pipe
ulimit -c unlimited
下次如果再出现 crash,麻烦用 gdb 看看 traceback。
你们是部署了几个几点?如果有多个节点的话,可以提供更好的可用性。
部署新节点时,直接将数据目录拷贝过去就可以。
2011/11/23 今夜晚风 <phpc...@gmail.com>:
可能是客户端意外关闭连接。
--
- Davies
On 11月23日, 下午1时18分, Davies Liu <davies....@gmail.com> wrote:
> 下次运行的时候,可以改一下ulimit 让它 core dump.
>
> ulimit -c unlimited
>
> 下次如果再出现 crash,麻烦用 gdb 看看 traceback。
>
> 你们是部署了几个几点?如果有多个节点的话,可以提供更好的可用性。
> 部署新节点时,直接将数据目录拷贝过去就可以。
>
> 2011/11/23 今夜晚风 <phpcl...@gmail.com>: