You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2021/12/08 08:55:00 UTC

[jira] [Commented] (IOTDB-2125) Create a session,open 2 “pool-14-IoTDB-RPC-Client” threads

    [ https://issues.apache.org/jira/browse/IOTDB-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455054#comment-17455054 ] 

刘珍 commented on IOTDB-2125:
---------------------------

看起来还是benchmark的问题,创建单个Session连接,对应创建1个“pool-14-IoTDB-RPC-Client”线程,没发现新建1个session打开2个client的现象。

> Create a session,open 2 “pool-14-IoTDB-RPC-Client” threads
> ----------------------------------------------------------
>
>                 Key: IOTDB-2125
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2125
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>    Affects Versions: 0.12.3
>            Reporter: 刘珍
>            Priority: Critical
>         Attachments: config.properties
>
>
> rel/0.12 
> Benchmark connects to IoTDB,and opens 2 “pool-14-IoTDB-RPC-Client” threads per session.
> cli doesn't have this problem.
> 1. Run benchmark (config.properties)
> DB_SWITCH=IoTDB-012-*SESSION_BY_TABLET*
> CLIENT_NUMBER={color:#DE350B}20{color}
> 2. jstack iotdb_pid > a.out
> grep "pool-14-IoTDB-RPC-Client" a.out |wc -l
> {color:#DE350B}*40*{color}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)