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/11/18 02:37:00 UTC

[jira] [Created] (IOTDB-2028) The file handle is not released immediately after query

刘珍 created IOTDB-2028:
-------------------------

             Summary: The file handle is not released immediately after query
                 Key: IOTDB-2028
                 URL: https://issues.apache.org/jira/browse/IOTDB-2028
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Query
    Affects Versions: 0.12.3
            Reporter: 刘珍
         Attachments: image-2021-11-18-10-27-28-502.png

rel/0.12  0.12.3 rc2
commit 0ee47a59d898cca7deb32fee35505b98022ab53b
Author: HTHou <hh...@outlook.com>
Date:   Sun Nov 14 12:46:27 2021 +0800

    [maven-release-plugin] prepare for next development iteration


1. 10 sg  / 100dev /100 sensor 
   10 dev/sg
  1 sensor/dev
   200000000 points/sensor
2. The test results
 !image-2021-11-18-10-27-28-502.png! 

3. Test steps
3.1   
echo 3 >/proc/sys/vm/drop_caches
3.2 
start iotdb.
Get the pid of iotdb.
3.3
Run the test script
with sleep :

lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip50.d_0  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip51.d_1  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip52.d_2  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip53.d_3  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip54.d_4  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip55.d_5  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip56.d_6  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip57.d_7  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip58.d_8  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out
./sbin/start-cli.sh -p 6667 -e "select count(*) from root.ip5.ip59.d_9  " >> count_1.out
sleep 120
lsof -p 10604|wc -l >> a.out

------------------------------------
without sleep
The script above , deletes “sleep 120”




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