DNSPod / dnspod-sr

A faster recursive dns server from DNSPod
Other
1.36k stars 328 forks source link

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

Open salmonx opened 8 years ago

salmonx commented 8 years ago

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 commented 8 years ago

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

jfb8856606 commented 8 years ago

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

jfb8856606 commented 8 years ago

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

jfb8856606 commented 8 years ago

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