奇怪,Beansdb崩溃了

101 views
Skip to first unread message

今夜晚风

unread,
Nov 22, 2011, 9:36:17 PM11/22/11
to BeanDB
Hi,Davies Liu,你好,目前我使用BeansDB主要是保存小图片,今天早上BeansDB忽然崩溃了,后来重新启动后,才解决方法,特请
你帮忙看看,非常感谢!

操作系统信息:
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

Davies Liu

unread,
Nov 23, 2011, 12:18:21 AM11/23/11
to bea...@googlegroups.com
下次运行的时候,可以改一下ulimit 让它 core dump.

ulimit -c unlimited

下次如果再出现 crash,麻烦用 gdb 看看 traceback。

你们是部署了几个几点?如果有多个节点的话,可以提供更好的可用性。
部署新节点时,直接将数据目录拷贝过去就可以。

2011/11/23 今夜晚风 <phpc...@gmail.com>:

可能是客户端意外关闭连接。

--
- Davies

今夜晚风

unread,
Nov 23, 2011, 2:10:14 AM11/23/11
to BeanDB
目前只有一个节点。

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>:

Reply all
Reply to author
Forward
0 new messages