Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

太容易挂掉了, 用一个固定端口查询,1000并发 #42

Open
salmonx opened this issue May 27, 2016 · 4 comments
Open

太容易挂掉了, 用一个固定端口查询,1000并发 #42

salmonx opened this issue May 27, 2016 · 4 comments

Comments

@salmonx
Copy link

salmonx commented May 27, 2016

set affinity quizzer failed, may be the cpu cores num less than (FETCHER_NUM + QUIZZER_NUM + 1)
[DBG:] dnspod-sr is successfully running now!!
[DBG:] max_ele_size is 1000000 - 1808
[DBG:] server may contain 332730 useful records
[DBG:] hash_table_size is 65536
[DBG:] we have 10 hash tables
[DBG:] we have 2 fetchers,2 quizzers
answer set Q sign
answer set Q sign
answer set Q sign
answer set Q sign
dnspod-sr: storage.c:263: get_val_from_he: Assertion `he->count > 0' failed.

已放弃

set affinity quizzer failed, may be the cpu cores num less than (FETCHER_NUM + QUIZZER_NUM + 1)
[DBG:] dnspod-sr is successfully running now!!
[DBG:] max_ele_size is 1000000 - 1808
[DBG:] server may contain 332730 useful records
[DBG:] hash_table_size is 65536
[DBG:] we have 10 hash tables
[DBG:] we have 2 fetchers,2 quizzers
answer set Q sign
answer set Q sign

sig number is 11

set affinity quizzer failed, may be the cpu cores num less than (FETCHER_NUM + QUIZZER_NUM + 1)
[DBG:] dnspod-sr is successfully running now!!
[DBG:] max_ele_size is 1000000 - 1808
[DBG:] server may contain 332730 useful records
[DBG:] hash_table_size is 65536
[DBG:] we have 10 hash tables
[DBG:] we have 2 fetchers,2 quizzers

sig number is 11

answer set Q sign
answer set Q sign
answer set Q sign

sig number is 11

[DBG:] we have 2 fetchers,2 quizzers
type is 448
type is 1800
sig number is 11

无数次。。。

@jfb8856606
Copy link
Member

能看下配置文件root.z内容吗,是否有修改过

@jfb8856606
Copy link
Member

这个问题之前修复了,现在看好像哪里又出现了,我们排查下

@jfb8856606
Copy link
Member

大并发下某些不支持的记录类型检查不完全导致,已经修改,正在进行1000以上的并发稳定性测试。

@jfb8856606
Copy link
Member

jfb8856606 commented Aug 30, 2016

已经修改提交,自测2000并发不会再挂掉了,可以更新后再测试下。如果需要测试更高的并发,可能需要修改部分配置,如增大线程数和内存池大小(memory.h:MEMPOOL_SIZE,需要注意的是该值需要为2的整倍数)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants