alibaba / alibaba/cobar

cobar server本身的负载问题

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

三台windows 2008服务器,各自安装了三个cobar节点作为集群之后,
利用LoadRunner压力测试工具测试含有cobar的数据库访问web服务,
测试1500个人的并发量,cobar调用的java.exe 对cpu的占用处于5%以下基本是0%。
但是占用内存不断飙升,到了500,000kb之后,利用cobar获取数据库表内容会无法获取,
进入长时间的等待,数据库服务器及web服务器均没有问题。进入dos命令,
连接刚才所使用且内存达到500,000多kb的cobar节点,发show cobar_status;运行结果显示为on正常。
但是利用show cobar_cluster;命令发现结果为Empty set,返回为false,
正常情况下执行该命令应该是会显示各个节点的信息。目前就只发现内存升到500多m,
show cobar_cluster;返回false。重启该cobar节点之后又恢复正常,可以读取表数据了。
请问,如上所说问题,开发人员有没遇到过,或者说这样就代表该cobar节点已经到瓶颈,某个模块出问题了。如果是这样的话,我要如何监测,到达该瓶颈的时候是否有相关的心跳及控制功能?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior with LoadRunner against a Cobar node and record memory usage and database access latency. Check the node with `show cobar_status;` and `show cobar_cluster;` before and after the failure; done means the cause of the empty cluster result is identified and a monitoring or recovery expectation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.