使用RESTful查询taosd 进程会重启,次数过多会崩溃。
错误:
使用RESTful查询taosd 进程会重启,次数过多会崩溃。日志出现如下错误。 08/14 08:40:24.910436 29849 7ff79711d700 ERROR RPC MND-shell cid:0, sid:3 session is already released
TD版本: TDengine-server-1.6.5.5-Linux-x64.tar
1、RESTful 查询会大量生成 core 文件。

2、进程日志。几乎每次查询taosd 都会重启是否正常? `[root@iZ2zeckaik793iodbodpg0Z ~]# systemctl status taosd ● taosd.service - TDengine server service Loaded: loaded (/etc/systemd/system/taosd.service; enabled; vendor preset: Active: failed (Result: start-limit) since Fri 2020-08-14 08:26:45 CST; 10 Process: 28700 ExecStart=/usr/bin/taosd (code=killed, signal=ABRT) Main PID: 28700 (code=killed, signal=ABRT)
Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service: main proce Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Unit taosd.service entere Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service failed. Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service holdoff tim Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Stopped TDengine server s Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: start request repeated to Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Failed to start TDengine Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Unit taosd.service entere Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service failed. [root@iZ2zeckaik793iodbodpg0Z ~]# systemctl status taosd ● taosd.service - TDengine server service Loaded: loaded (/etc/systemd/system/taosd.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since Fri 2020-08-14 08:26:45 CST; 11min ago Process: 28700 ExecStart=/usr/bin/taosd (code=killed, signal=ABRT) Main PID: 28700 (code=killed, signal=ABRT)
Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service: main p... Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Unit taosd.service en... Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service failed. Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service holdoff... Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Stopped TDengine serv... Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: start request repeate... Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Failed to start TDeng... Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: Unit taosd.service en... Aug 14 08:26:45 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service failed. Hint: Some lines were ellipsized, use -l to show in full. [root@iZ2zeckaik793iodbodpg0Z ~]# systemctl start taosd [root@iZ2zeckaik793iodbodpg0Z ~]# systemctl status taosd ● taosd.service - TDengine server service Loaded: loaded (/etc/systemd/system/taosd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2020-08-14 08:38:04 CST; 28s ago Main PID: 29586 (taosd) CGroup: /system.slice/taosd.service └─29586 /usr/bin/taosd
Aug 14 08:38:04 iZ2zeckaik793iodbodpg0Z systemd[1]: Started TDengine serv... Aug 14 08:38:04 iZ2zeckaik793iodbodpg0Z TDengine:[29586]: Starting TDengi... Aug 14 08:38:04 iZ2zeckaik793iodbodpg0Z TDengine:[29586]: Started TDengin... Hint: Some lines were ellipsized, use -l to show in full. [root@iZ2zeckaik793iodbodpg0Z ~]# systemctl status taosd ● taosd.service - TDengine server service Loaded: loaded (/etc/systemd/system/taosd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2020-08-14 08:38:51 CST; 4s ago Main PID: 29689 (taosd) CGroup: /system.slice/taosd.service └─29689 /usr/bin/taosd
Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service holdoff... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z systemd[1]: Stopped TDengine serv... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z systemd[1]: Started TDengine serv... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z TDengine:[29689]: Starting TDengi... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z TDengine:[29689]: Started TDengin... Hint: Some lines were ellipsized, use -l to show in full. [root@iZ2zeckaik793iodbodpg0Z ~]# systemctl status taosd ● taosd.service - TDengine server service Loaded: loaded (/etc/systemd/system/taosd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2020-08-14 08:38:51 CST; 46s ago Main PID: 29689 (taosd) CGroup: /system.slice/taosd.service └─29689 /usr/bin/taosd
Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z systemd[1]: taosd.service holdoff... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z systemd[1]: Stopped TDengine serv... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z systemd[1]: Started TDengine serv... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z TDengine:[29689]: Starting TDengi... Aug 14 08:38:51 iZ2zeckaik793iodbodpg0Z TDengine:[29689]: Started TDengin... Hint: Some lines were ellipsized, use -l to show in full. [root@iZ2zeckaik793iodbodpg0Z ~]# systemctl status taosd ● taosd.service - TDengine server service Loaded: loaded (/etc/systemd/system/taosd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2020-08-14 08:40:23 CST; 13s ago Main PID: 29849 (taosd) CGroup: /system.slice/taosd.service └─29849 /usr/bin/taosd
Aug 14 08:40:23 iZ2zeckaik793iodbodpg0Z systemd[1]: Started TDengine serv... Aug 14 08:40:23 iZ2zeckaik793iodbodpg0Z TDengine:[29849]: Starting TDengi... Aug 14 08:40:23 iZ2zeckaik793iodbodpg0Z TDengine:[29849]: Started TDengin... Hint: Some lines were ellipsized, use -l to show in full. [root@iZ2zeckaik793iodbodpg0Z ~]# `
3、taods 日志 `================================================== new log file
08/14 08:38:04.759485 29586 7efda21e2740 UTL timezone not configured, set to system default: (CST, +0800)
08/14 08:38:04.759551 29586 7efda21e2740 UTL locale not configured, set to system default:en_US.UTF-8
08/14 08:38:04.759562 29586 7efda21e2740 UTL charset not configured, set to system default:UTF-8
08/14 08:38:04.759634 29586 7efda21e2740 UTL taos config & system info:
08/14 08:38:04.759637 29586 7efda21e2740 UTL ==================================
08/14 08:38:04.759639 29586 7efda21e2740 UTL localIp: 172.17.122.10
08/14 08:38:04.759643 29586 7efda21e2740 UTL httpIp: 0.0.0.0
08/14 08:38:04.759646 29586 7efda21e2740 UTL httpPort: 6020
08/14 08:38:04.759648 29586 7efda21e2740 UTL mgmtShellPort: 6030
08/14 08:38:04.759650 29586 7efda21e2740 UTL vnodeShellPort: 6035
08/14 08:38:04.759653 29586 7efda21e2740 UTL configDir: /etc/taos
08/14 08:38:04.759655 29586 7efda21e2740 UTL logDir: /var/log/taos
08/14 08:38:04.759658 29586 7efda21e2740 UTL scriptDir: /etc/taos
08/14 08:38:04.759660 29586 7efda21e2740 UTL dataDir: /var/lib/taos
08/14 08:38:04.759662 29586 7efda21e2740 UTL numOfThreadsPerCore: 2.000000
08/14 08:38:04.759674 29586 7efda21e2740 UTL ratioOfQueryThreads: 0.500000
08/14 08:38:04.759677 29586 7efda21e2740 UTL numOfVnodesPerCore: 8
08/14 08:38:04.759679 29586 7efda21e2740 UTL numOfTotalVnodes: 0
08/14 08:38:04.759682 29586 7efda21e2740 UTL tables: 1000
08/14 08:38:04.759684 29586 7efda21e2740 UTL cache: 66666(byte)
08/14 08:38:04.759686 29586 7efda21e2740 UTL rows: 4096
08/14 08:38:04.759689 29586 7efda21e2740 UTL fileBlockMinPercent: 0.050000
08/14 08:38:04.759692 29586 7efda21e2740 UTL ablocks: 4
08/14 08:38:04.759694 29586 7efda21e2740 UTL tblocks: 100
08/14 08:38:04.759696 29586 7efda21e2740 UTL affectedRowsMod: 0
08/14 08:38:04.759698 29586 7efda21e2740 UTL monitorInterval: 30(s)
08/14 08:38:04.759701 29586 7efda21e2740 UTL rpcTimer: 300(ms)
08/14 08:38:04.759703 29586 7efda21e2740 UTL rpcMaxTime: 600(s)
08/14 08:38:04.759705 29586 7efda21e2740 UTL ctime: 3600(s)
08/14 08:38:04.759708 29586 7efda21e2740 UTL statusInterval: 1(s)
08/14 08:38:04.759710 29586 7efda21e2740 UTL shellActivityTimer: 3(s)
08/14 08:38:04.759712 29586 7efda21e2740 UTL meterMetaKeepTimer: 7200(s)
08/14 08:38:04.759715 29586 7efda21e2740 UTL metricMetaKeepTimer: 600(s)
08/14 08:38:04.759717 29586 7efda21e2740 UTL maxUsers: 1000
08/14 08:38:04.759719 29586 7efda21e2740 UTL maxDbs: 1000
08/14 08:38:04.759721 29586 7efda21e2740 UTL maxTables: 650000
08/14 08:38:04.759724 29586 7efda21e2740 UTL maxVGroups: 1000
08/14 08:38:04.759726 29586 7efda21e2740 UTL minSlidingTime: 10(ms)
08/14 08:38:04.759728 29586 7efda21e2740 UTL minIntervalTime: 10(ms)
08/14 08:38:04.759731 29586 7efda21e2740 UTL maxStreamCompDelay: 20000(ms)
08/14 08:38:04.759733 29586 7efda21e2740 UTL maxFirstStreamCompDelay:10000(ms)
08/14 08:38:04.759735 29586 7efda21e2740 UTL retryStreamCompDelay: 10(ms)
08/14 08:38:04.759738 29586 7efda21e2740 UTL clog: 1
08/14 08:38:04.759740 29586 7efda21e2740 UTL comp: 2
08/14 08:38:04.759742 29586 7efda21e2740 UTL days: 10
08/14 08:38:04.759744 29586 7efda21e2740 UTL keep: 3650
08/14 08:38:04.759747 29586 7efda21e2740 UTL defaultDB:
08/14 08:38:04.759749 29586 7efda21e2740 UTL defaultUser: root
08/14 08:38:04.759752 29586 7efda21e2740 UTL sockettype: udp
08/14 08:38:04.759754 29586 7efda21e2740 UTL compressMsgSize: -1
08/14 08:38:04.759756 29586 7efda21e2740 UTL maxSQLLength: 65380(byte)
08/14 08:38:04.759758 29586 7efda21e2740 UTL timezone: (CST, +0800)
08/14 08:38:04.759761 29586 7efda21e2740 UTL locale: en_US.UTF-8
08/14 08:38:04.759763 29586 7efda21e2740 UTL charset: UTF-8
08/14 08:38:04.759765 29586 7efda21e2740 UTL maxShellConns: 2000
08/14 08:38:04.759767 29586 7efda21e2740 UTL maxMeterConnections: 10000
08/14 08:38:04.759769 29586 7efda21e2740 UTL maxMgmtConnections: 2000
08/14 08:38:04.759771 29586 7efda21e2740 UTL maxVnodeConnections: 10000
08/14 08:38:04.759772 29586 7efda21e2740 UTL minimalLogDirGB: 0.100000(GB)
08/14 08:38:04.759775 29586 7efda21e2740 UTL minimalTmpDirGB: 0.100000(GB)
08/14 08:38:04.759777 29586 7efda21e2740 UTL minimalDataDirGB: 0.500000(GB)
08/14 08:38:04.759779 29586 7efda21e2740 UTL http: 1
08/14 08:38:04.759781 29586 7efda21e2740 UTL monitor: 1
08/14 08:38:04.759783 29586 7efda21e2740 UTL monitorDbName: log
08/14 08:38:04.759785 29586 7efda21e2740 UTL httpCacheSessions: 500
08/14 08:38:04.759786 29586 7efda21e2740 UTL httpEnableRecordSql: 0
08/14 08:38:04.759788 29586 7efda21e2740 UTL telegrafUseFieldNum: 0
08/14 08:38:04.759790 29586 7efda21e2740 UTL httpMaxThreads: 20
08/14 08:38:04.759792 29586 7efda21e2740 UTL restfulRowLimit: 10240
08/14 08:38:04.759794 29586 7efda21e2740 UTL httpEnableCompress: 0
08/14 08:38:04.759796 29586 7efda21e2740 UTL numOfLogLines: 10000000
08/14 08:38:04.759798 29586 7efda21e2740 UTL asyncLog: 1
08/14 08:38:04.759799 29586 7efda21e2740 UTL debugFlag: 131
08/14 08:38:04.759801 29586 7efda21e2740 UTL mDebugFlag: 135
08/14 08:38:04.759803 29586 7efda21e2740 UTL dDebugFlag: 131
08/14 08:38:04.759805 29586 7efda21e2740 UTL sdbDebugFlag: 135
08/14 08:38:04.759807 29586 7efda21e2740 UTL rpcDebugFlag: 131
08/14 08:38:04.759809 29586 7efda21e2740 UTL tmrDebugFlag: 131
08/14 08:38:04.759811 29586 7efda21e2740 UTL cDebugFlag: 131
08/14 08:38:04.759812 29586 7efda21e2740 UTL jniDebugFlag: 131
08/14 08:38:04.759814 29586 7efda21e2740 UTL odbcDebugFlag: 131
08/14 08:38:04.759816 29586 7efda21e2740 UTL uDebugFlag: 131
08/14 08:38:04.759818 29586 7efda21e2740 UTL httpDebugFlag: 131
08/14 08:38:04.759819 29586 7efda21e2740 UTL monitorDebugFlag: 131
08/14 08:38:04.759821 29586 7efda21e2740 UTL qDebugFlag: 131
08/14 08:38:04.759823 29586 7efda21e2740 UTL tscEnableRecordSql: 0
08/14 08:38:04.759825 29586 7efda21e2740 UTL enableCoreFile: 0
08/14 08:38:04.759827 29586 7efda21e2740 UTL gitinfo: 918cb2220f6a1f71966f7e94e697885d50fc241f
08/14 08:38:04.759829 29586 7efda21e2740 UTL gitinfoOfInternal:
08/14 08:38:04.759831 29586 7efda21e2740 UTL buildinfo: Built by root at 2020-02-09 11:06
08/14 08:38:04.759833 29586 7efda21e2740 UTL version: 1.6.5.5
08/14 08:38:04.759835 29586 7efda21e2740 UTL dataDir: /var/lib/taos
08/14 08:38:04.759836 29586 7efda21e2740 UTL os pageSize: 4096(KB)
08/14 08:38:04.759838 29586 7efda21e2740 UTL os openMax: 1048576
08/14 08:38:04.759840 29586 7efda21e2740 UTL os streamMax: 16
08/14 08:38:04.759842 29586 7efda21e2740 UTL os numOfCores: 2
08/14 08:38:04.759843 29586 7efda21e2740 UTL os totalDisk: 492.028717(GB)
08/14 08:38:04.759846 29586 7efda21e2740 UTL os totalMemory: 7821(MB)
08/14 08:38:04.759851 29586 7efda21e2740 UTL os sysname: Linux
08/14 08:38:04.759852 29586 7efda21e2740 UTL os nodename: iZ2zeckaik793iodbodpg0Z
08/14 08:38:04.759854 29586 7efda21e2740 UTL os release: 3.10.0-1062.18.1.el7.x86_64
08/14 08:38:04.759856 29586 7efda21e2740 UTL os version: #1 SMP Tue Mar 17 23:49:17 UTC 2020
08/14 08:38:04.759857 29586 7efda21e2740 UTL os machine: x86_64
08/14 08:38:04.759859 29586 7efda21e2740 UTL ==================================
08/14 08:38:04.759863 29586 7efda21e2740 DND Server IP address is:172.17.122.10
08/14 08:38:04.759869 29586 7efda21e2740 DND starting to initialize TDengine ...
08/14 08:38:04.759960 29586 7efda21e2740 MND starting to initialize TDengine mgmt ...
08/14 08:38:04.760615 29586 7efda21e2740 MND-SDB open sdb file:/var/lib/taos/mgmt/user.db for read
08/14 08:38:04.760647 29586 7efda21e2740 MND-SDB table:user is initialized, numOfRows:3, numOfTables:1
08/14 08:38:04.760655 29586 7efda21e2740 MND user data is initialized
08/14 08:38:04.760663 29586 7efda21e2740 MND dnode first access, set total vnodes:50
08/14 08:38:04.760712 29586 7efda21e2740 MND-SDB open sdb file:/var/lib/taos/mgmt/db.db for read
08/14 08:38:04.760735 29586 7efda21e2740 MND-SDB table:db is initialized, numOfRows:2, numOfTables:2
08/14 08:38:04.760742 29586 7efda21e2740 MND db data is initialized
08/14 08:38:04.760837 29586 7efda21e2740 MND-SDB open sdb file:/var/lib/taos/mgmt/vgroups.db for read
08/14 08:38:04.760859 29586 7efda21e2740 MND-SDB table:vgroups is initialized, numOfRows:2, numOfTables:3
08/14 08:38:04.760866 29586 7efda21e2740 MND dnode:0x0:0.0.0.0, vnode:0 add to vgroup:1
08/14 08:38:04.760871 29586 7efda21e2740 MND dnode:0xa7a11ac:172.17.122.10, begin calc free vnodes
08/14 08:38:04.760878 29586 7efda21e2740 MND 0-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:0, vgroup:1, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:38:04.760884 29586 7efda21e2740 MND dnode:0xa7a11ac:172.17.122.10, numOfVnodes:50, numOfFreeVnodes:49, totalVnodes:1
08/14 08:38:04.760902 29586 7efda21e2740 MND dnode:0x0:0.0.0.0, vnode:1 add to vgroup:2
08/14 08:38:04.760905 29586 7efda21e2740 MND dnode:0xa7a11ac:172.17.122.10, begin calc free vnodes
08/14 08:38:04.760908 29586 7efda21e2740 MND 0-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:0, vgroup:1, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:38:04.760911 29586 7efda21e2740 MND 1-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:1, vgroup:2, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:38:04.760915 29586 7efda21e2740 MND dnode:0xa7a11ac:172.17.122.10, numOfVnodes:50, numOfFreeVnodes:48, totalVnodes:2
08/14 08:38:04.760921 29586 7efda21e2740 MND vgroup is initialized
08/14 08:38:04.770834 29586 7efda21e2740 MND-SDB open sdb file:/var/lib/taos/mgmt/meters.db for read
08/14 08:38:04.772501 29586 7efda21e2740 MND-SDB table:meters is initialized, numOfRows:54, numOfTables:4
08/14 08:38:04.776421 29586 7efda21e2740 MND meter is initialized
08/14 08:38:04.776742 29586 7efda21e2740 WARN MND user:root is already there
08/14 08:38:04.776750 29586 7efda21e2740 WARN MND user:monitor is already there
08/14 08:38:04.776753 29586 7efda21e2740 WARN MND user:_root is already there
08/14 08:38:04.776757 29586 7efda21e2740 MND TDengine mgmt is initialized successfully
08/14 08:38:04.779165 29586 7efda21e2740 DND vid:0, cache pool is allocated:0x90fd30
08/14 08:38:04.779498 29586 7efda21e2740 DND vid:0, commit log is initialized
08/14 08:38:04.779504 29586 7efda21e2740 DND vid:0, storage initialized, version:217314 fileId:1848 numOfFiles:4
08/14 08:38:04.779642 29586 7efda21e2740 DND vid:1, cache pool is allocated:0x9103b0
08/14 08:38:04.779885 29586 7efda21e2740 DND vid:1, commit log is initialized
08/14 08:38:04.779890 29586 7efda21e2740 DND vid:1, storage initialized, version:326934 fileId:1848 numOfFiles:9
08/14 08:38:04.780524 29586 7efda21e2740 DND vid:0, status:offline, start to open
08/14 08:38:04.780581 29586 7efda21e2740 DND vid:0, sessions:33, shell is opened
08/14 08:38:04.780586 29586 7efda21e2740 DND vid:0, status:master numOfPeers:0
08/14 08:38:04.780590 29586 7efda21e2740 DND vid:0, stream role is changed from stop to start
08/14 08:38:04.780597 29586 7efda21e2740 DND vid:0, vnode is opened, openVnodes:1, status:master
08/14 08:38:04.780601 29586 7efda21e2740 DND vid:1, status:offline, start to open
08/14 08:38:04.780658 29586 7efda21e2740 DND vid:1, sessions:1001, shell is opened
08/14 08:38:04.780662 29586 7efda21e2740 DND vid:1, status:master numOfPeers:0
08/14 08:38:04.780667 29586 7efda21e2740 DND vid:1, stream role is changed from stop to start
08/14 08:38:04.780679 29586 7efda21e2740 DND vid:1, vnode is opened, openVnodes:2, status:master
08/14 08:38:04.780689 29586 7efda21e2740 DND vnode is initialized successfully
08/14 08:38:04.780692 29586 7efda21e2740 HTP starting to initialize http service ...
08/14 08:38:04.803871 29586 7efda21e2740 DND TDengine is initialized successfully
08/14 08:38:04.803974 29586 7efd76389700 HTP http service init success at ip:0.0.0.0:6020
08/14 08:38:04.815574 29586 7efd97f8e700 MON starting to initialize monitor service ..
08/14 08:38:04.816101 29586 7efd99791700 MND pConn:0x7efda20b9090 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:38:04.816147 29586 7efd99791700 MND user:monitor login from 172.17.122.10, code:0
08/14 08:38:04.816506 29586 7efd9878f700 MND table:0.log.log, table is created by monitor
08/14 08:38:04.816547 29586 7efd94fbd700 MON dnode:172.17.122.10 is started
08/14 08:38:04.816682 29586 7efd9878f700 MND table:0.log.dn, table is created by monitor
08/14 08:38:04.816851 29586 7efd9878f700 MND table:0.log.acct, table is created by monitor
08/14 08:38:04.816959 29586 7efd98f90700 MND 0.log.dn, uid:104237590727491590 meter meta is retrieved
08/14 08:38:04.817093 29586 7efd9878f700 MND table:0.log.dn_172_17_122_10, table is created by monitor
08/14 08:38:04.817186 29586 7efd98f90700 MND 0.log.acct, uid:104237590727557127 meter meta is retrieved
08/14 08:38:04.817320 29586 7efd9878f700 MND table:0.log.acct_root, table is created by monitor
08/14 08:38:04.817418 29586 7efd9878f700 MND table:0.log.slowquery, table is created by monitor
08/14 08:38:04.817442 29586 7efd8ffff700 MON monitor service init success
08/14 08:38:04.945426 29586 7efd99791700 MND pConn:0x7efda20b9110 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:38:04.945436 29586 7efd99791700 MND login from:100007f:6634
08/14 08:38:35.760888 29586 7efd98f90700 MND pConn:0x7efda20b9190 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0 08/14 08:38:35.760901 29586 7efd98f90700 MND login from:a7a11ac:59829 08/14 08:38:35.760911 29586 7efd98f90700 MND 0.log.dn_172_17_122_10, uid:1099511758856 meter meta is retrieved 08/14 08:38:41.760571 29586 7efd99791700 MND connection from monitor is closed
08/14 08:38:50.811996 29586 7efd98f90700 MND pConn:0x7efda20b9210 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0 08/14 08:38:50.812122 29586 7efd98f90700 MND user:root login from 172.17.122.10, code:0 08/14 08:38:50.812219 29586 7efd99791700 MND pConn:0x7efda20b9290 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0 08/14 08:38:50.812229 29586 7efd99791700 MND login from:a7a11ac:59829 08/14 08:38:50.812250 29586 7efd99791700 MND 0.log.log, uid:1099511693317 meter meta is retrieved 08/14 08:38:50.812408 29586 7efd98f90700 MND 0.water.water_monitoring, uid:104244873987620876 meter meta is retrieved 08/14 08:38:50.812656 29586 7efd99791700 MND metric:0.water.water_monitoring len:21, metric query condition:(mac='d001a2b3c5d8') 08/14 08:38:50.812692 29586 7efd99791700 MND metric:0.water.water_monitoring numOfRes:5 08/14 08:38:50.812709 29586 7efd99791700 MND metric:0.water.water_monitoring metric-meta tables:5, vnode:1 08/14 08:38:50.812713 29586 7efd99791700 MND metric-meta msg size 378 08/14 08:38:50.823200 29586 7efd98f90700 MND 0.water.rainfall_monitoring, uid:104498520954372144 meter meta is retrieved 08/14 08:38:50.823340 29586 7efd99791700 MND metric:0.water.rainfall_monitoring len:21, metric query condition:(mac='d001a2b3c5d8') 08/14 08:38:50.823354 29586 7efd99791700 MND metric:0.water.rainfall_monitoring numOfRes:1 08/14 08:38:50.823361 29586 7efd99791700 MND metric:0.water.rainfall_monitoring metric-meta tables:1, vnode:1 08/14 08:38:50.823364 29586 7efd99791700 MND metric-meta msg size 80 08/14 08:38:50.834006 29586 7efd98f90700 MND metric:0.water.water_monitoring len:21, metric query condition:(mac='d001a2b3c4f2') 08/14 08:38:50.834025 29586 7efd98f90700 MND metric:0.water.water_monitoring numOfRes:3 08/14 08:38:50.834038 29586 7efd98f90700 MND metric:0.water.water_monitoring metric-meta tables:3, vnode:1 08/14 08:38:50.834042 29586 7efd98f90700 MND metric-meta msg size 254
new log file
==================================================
08/14 08:38:51.163963 29689 7fb2e588e740 UTL timezone not configured, set to system default: (CST, +0800)
08/14 08:38:51.164031 29689 7fb2e588e740 UTL locale not configured, set to system default:en_US.UTF-8
08/14 08:38:51.164041 29689 7fb2e588e740 UTL charset not configured, set to system default:UTF-8
08/14 08:38:51.164116 29689 7fb2e588e740 UTL taos config & system info:
08/14 08:38:51.164120 29689 7fb2e588e740 UTL ==================================
08/14 08:38:51.164123 29689 7fb2e588e740 UTL localIp: 172.17.122.10
08/14 08:38:51.164127 29689 7fb2e588e740 UTL httpIp: 0.0.0.0
08/14 08:38:51.164130 29689 7fb2e588e740 UTL httpPort: 6020
08/14 08:38:51.164133 29689 7fb2e588e740 UTL mgmtShellPort: 6030
08/14 08:38:51.164136 29689 7fb2e588e740 UTL vnodeShellPort: 6035
08/14 08:38:51.164139 29689 7fb2e588e740 UTL configDir: /etc/taos
08/14 08:38:51.164142 29689 7fb2e588e740 UTL logDir: /var/log/taos
08/14 08:38:51.164145 29689 7fb2e588e740 UTL scriptDir: /etc/taos
08/14 08:38:51.164148 29689 7fb2e588e740 UTL dataDir: /var/lib/taos
08/14 08:38:51.164151 29689 7fb2e588e740 UTL numOfThreadsPerCore: 2.000000
08/14 08:38:51.164164 29689 7fb2e588e740 UTL ratioOfQueryThreads: 0.500000
08/14 08:38:51.164168 29689 7fb2e588e740 UTL numOfVnodesPerCore: 8
08/14 08:38:51.164171 29689 7fb2e588e740 UTL numOfTotalVnodes: 0
08/14 08:38:51.164174 29689 7fb2e588e740 UTL tables: 1000
08/14 08:38:51.164177 29689 7fb2e588e740 UTL cache: 66666(byte)
08/14 08:38:51.164180 29689 7fb2e588e740 UTL rows: 4096
08/14 08:38:51.164183 29689 7fb2e588e740 UTL fileBlockMinPercent: 0.050000
08/14 08:38:51.164186 29689 7fb2e588e740 UTL ablocks: 4
08/14 08:38:51.164189 29689 7fb2e588e740 UTL tblocks: 100
08/14 08:38:51.164192 29689 7fb2e588e740 UTL affectedRowsMod: 0
08/14 08:38:51.164195 29689 7fb2e588e740 UTL monitorInterval: 30(s)
08/14 08:38:51.164198 29689 7fb2e588e740 UTL rpcTimer: 300(ms)
08/14 08:38:51.164201 29689 7fb2e588e740 UTL rpcMaxTime: 600(s)
08/14 08:38:51.164204 29689 7fb2e588e740 UTL ctime: 3600(s)
08/14 08:38:51.164207 29689 7fb2e588e740 UTL statusInterval: 1(s)
08/14 08:38:51.164210 29689 7fb2e588e740 UTL shellActivityTimer: 3(s)
08/14 08:38:51.164213 29689 7fb2e588e740 UTL meterMetaKeepTimer: 7200(s)
08/14 08:38:51.164216 29689 7fb2e588e740 UTL metricMetaKeepTimer: 600(s)
08/14 08:38:51.164218 29689 7fb2e588e740 UTL maxUsers: 1000
08/14 08:38:51.164221 29689 7fb2e588e740 UTL maxDbs: 1000
08/14 08:38:51.164224 29689 7fb2e588e740 UTL maxTables: 650000
08/14 08:38:51.164227 29689 7fb2e588e740 UTL maxVGroups: 1000
08/14 08:38:51.164230 29689 7fb2e588e740 UTL minSlidingTime: 10(ms)
08/14 08:38:51.164233 29689 7fb2e588e740 UTL minIntervalTime: 10(ms)
08/14 08:38:51.164236 29689 7fb2e588e740 UTL maxStreamCompDelay: 20000(ms)
08/14 08:38:51.164238 29689 7fb2e588e740 UTL maxFirstStreamCompDelay:10000(ms)
08/14 08:38:51.164241 29689 7fb2e588e740 UTL retryStreamCompDelay: 10(ms)
08/14 08:38:51.164244 29689 7fb2e588e740 UTL clog: 1
08/14 08:38:51.164247 29689 7fb2e588e740 UTL comp: 2
08/14 08:38:51.164250 29689 7fb2e588e740 UTL days: 10
08/14 08:38:51.164253 29689 7fb2e588e740 UTL keep: 3650
08/14 08:38:51.164255 29689 7fb2e588e740 UTL defaultDB:
08/14 08:38:51.164258 29689 7fb2e588e740 UTL defaultUser: root
08/14 08:38:51.164261 29689 7fb2e588e740 UTL sockettype: udp
08/14 08:38:51.164264 29689 7fb2e588e740 UTL compressMsgSize: -1
08/14 08:38:51.164267 29689 7fb2e588e740 UTL maxSQLLength: 65380(byte)
08/14 08:38:51.164270 29689 7fb2e588e740 UTL timezone: (CST, +0800)
08/14 08:38:51.164275 29689 7fb2e588e740 UTL locale: en_US.UTF-8
08/14 08:38:51.164278 29689 7fb2e588e740 UTL charset: UTF-8
08/14 08:38:51.164281 29689 7fb2e588e740 UTL maxShellConns: 2000
08/14 08:38:51.164284 29689 7fb2e588e740 UTL maxMeterConnections: 10000
08/14 08:38:51.164287 29689 7fb2e588e740 UTL maxMgmtConnections: 2000
08/14 08:38:51.164290 29689 7fb2e588e740 UTL maxVnodeConnections: 10000
08/14 08:38:51.164293 29689 7fb2e588e740 UTL minimalLogDirGB: 0.100000(GB)
08/14 08:38:51.164296 29689 7fb2e588e740 UTL minimalTmpDirGB: 0.100000(GB)
08/14 08:38:51.164299 29689 7fb2e588e740 UTL minimalDataDirGB: 0.500000(GB)
08/14 08:38:51.164303 29689 7fb2e588e740 UTL http: 1
08/14 08:38:51.164306 29689 7fb2e588e740 UTL monitor: 1
08/14 08:38:51.164308 29689 7fb2e588e740 UTL monitorDbName: log
08/14 08:38:51.164311 29689 7fb2e588e740 UTL httpCacheSessions: 500
08/14 08:38:51.164314 29689 7fb2e588e740 UTL httpEnableRecordSql: 0
08/14 08:38:51.164317 29689 7fb2e588e740 UTL telegrafUseFieldNum: 0
08/14 08:38:51.164320 29689 7fb2e588e740 UTL httpMaxThreads: 20
08/14 08:38:51.164323 29689 7fb2e588e740 UTL restfulRowLimit: 10240
08/14 08:38:51.164325 29689 7fb2e588e740 UTL httpEnableCompress: 0
08/14 08:38:51.164328 29689 7fb2e588e740 UTL numOfLogLines: 10000000
08/14 08:38:51.164331 29689 7fb2e588e740 UTL asyncLog: 1
08/14 08:38:51.164334 29689 7fb2e588e740 UTL debugFlag: 131
08/14 08:38:51.164337 29689 7fb2e588e740 UTL mDebugFlag: 135
08/14 08:38:51.164340 29689 7fb2e588e740 UTL dDebugFlag: 131
08/14 08:38:51.164342 29689 7fb2e588e740 UTL sdbDebugFlag: 135
08/14 08:38:51.164345 29689 7fb2e588e740 UTL rpcDebugFlag: 131
08/14 08:38:51.164348 29689 7fb2e588e740 UTL tmrDebugFlag: 131
08/14 08:38:51.164351 29689 7fb2e588e740 UTL cDebugFlag: 131
08/14 08:38:51.164354 29689 7fb2e588e740 UTL jniDebugFlag: 131
08/14 08:38:51.164357 29689 7fb2e588e740 UTL odbcDebugFlag: 131
08/14 08:38:51.164359 29689 7fb2e588e740 UTL uDebugFlag: 131
08/14 08:38:51.164362 29689 7fb2e588e740 UTL httpDebugFlag: 131
08/14 08:38:51.164365 29689 7fb2e588e740 UTL monitorDebugFlag: 131
08/14 08:38:51.164368 29689 7fb2e588e740 UTL qDebugFlag: 131
08/14 08:38:51.164371 29689 7fb2e588e740 UTL tscEnableRecordSql: 0
08/14 08:38:51.164373 29689 7fb2e588e740 UTL enableCoreFile: 0
08/14 08:38:51.164376 29689 7fb2e588e740 UTL gitinfo: 918cb2220f6a1f71966f7e94e697885d50fc241f
08/14 08:38:51.164379 29689 7fb2e588e740 UTL gitinfoOfInternal:
08/14 08:38:51.164382 29689 7fb2e588e740 UTL buildinfo: Built by root at 2020-02-09 11:06
08/14 08:38:51.164385 29689 7fb2e588e740 UTL version: 1.6.5.5
08/14 08:38:51.164388 29689 7fb2e588e740 UTL dataDir: /var/lib/taos
08/14 08:38:51.164391 29689 7fb2e588e740 UTL os pageSize: 4096(KB)
08/14 08:38:51.164393 29689 7fb2e588e740 UTL os openMax: 1048576
08/14 08:38:51.164396 29689 7fb2e588e740 UTL os streamMax: 16
08/14 08:38:51.164398 29689 7fb2e588e740 UTL os numOfCores: 2
08/14 08:38:51.164401 29689 7fb2e588e740 UTL os totalDisk: 492.028717(GB)
08/14 08:38:51.164405 29689 7fb2e588e740 UTL os totalMemory: 7821(MB)
08/14 08:38:51.164411 29689 7fb2e588e740 UTL os sysname: Linux
08/14 08:38:51.164414 29689 7fb2e588e740 UTL os nodename: iZ2zeckaik793iodbodpg0Z
08/14 08:38:51.164416 29689 7fb2e588e740 UTL os release: 3.10.0-1062.18.1.el7.x86_64
08/14 08:38:51.164419 29689 7fb2e588e740 UTL os version: #1 SMP Tue Mar 17 23:49:17 UTC 2020
08/14 08:38:51.164422 29689 7fb2e588e740 UTL os machine: x86_64
08/14 08:38:51.164424 29689 7fb2e588e740 UTL ==================================
08/14 08:38:51.164429 29689 7fb2e588e740 DND Server IP address is:172.17.122.10
08/14 08:38:51.164437 29689 7fb2e588e740 DND starting to initialize TDengine ...
08/14 08:38:51.164544 29689 7fb2e588e740 MND starting to initialize TDengine mgmt ...
08/14 08:38:51.165252 29689 7fb2e588e740 MND-SDB open sdb file:/var/lib/taos/mgmt/user.db for read
08/14 08:38:51.165282 29689 7fb2e588e740 MND-SDB table:user is initialized, numOfRows:3, numOfTables:1
08/14 08:38:51.165289 29689 7fb2e588e740 MND user data is initialized
08/14 08:38:51.165297 29689 7fb2e588e740 MND dnode first access, set total vnodes:50
08/14 08:38:51.165342 29689 7fb2e588e740 MND-SDB open sdb file:/var/lib/taos/mgmt/db.db for read
08/14 08:38:51.165369 29689 7fb2e588e740 MND-SDB table:db is initialized, numOfRows:2, numOfTables:2
08/14 08:38:51.165376 29689 7fb2e588e740 MND db data is initialized
08/14 08:38:51.165463 29689 7fb2e588e740 MND-SDB open sdb file:/var/lib/taos/mgmt/vgroups.db for read
08/14 08:38:51.165485 29689 7fb2e588e740 MND-SDB table:vgroups is initialized, numOfRows:2, numOfTables:3
08/14 08:38:51.165492 29689 7fb2e588e740 MND dnode:0x0:0.0.0.0, vnode:0 add to vgroup:1
08/14 08:38:51.165497 29689 7fb2e588e740 MND dnode:0xa7a11ac:172.17.122.10, begin calc free vnodes
08/14 08:38:51.165504 29689 7fb2e588e740 MND 0-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:0, vgroup:1, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:38:51.165510 29689 7fb2e588e740 MND dnode:0xa7a11ac:172.17.122.10, numOfVnodes:50, numOfFreeVnodes:49, totalVnodes:1
08/14 08:38:51.165533 29689 7fb2e588e740 MND dnode:0x0:0.0.0.0, vnode:1 add to vgroup:2
08/14 08:38:51.165535 29689 7fb2e588e740 MND dnode:0xa7a11ac:172.17.122.10, begin calc free vnodes
08/14 08:38:51.165544 29689 7fb2e588e740 MND 0-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:0, vgroup:1, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:38:51.165548 29689 7fb2e588e740 MND 1-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:1, vgroup:2, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:38:51.165551 29689 7fb2e588e740 MND dnode:0xa7a11ac:172.17.122.10, numOfVnodes:50, numOfFreeVnodes:48, totalVnodes:2
08/14 08:38:51.165557 29689 7fb2e588e740 MND vgroup is initialized
08/14 08:38:51.172713 29689 7fb2e588e740 MND-SDB open sdb file:/var/lib/taos/mgmt/meters.db for read
08/14 08:38:51.174818 29689 7fb2e588e740 MND-SDB table:meters is initialized, numOfRows:54, numOfTables:4
08/14 08:38:51.179425 29689 7fb2e588e740 MND meter is initialized
08/14 08:38:51.179739 29689 7fb2e588e740 WARN MND user:root is already there
08/14 08:38:51.179744 29689 7fb2e588e740 WARN MND user:monitor is already there
08/14 08:38:51.179746 29689 7fb2e588e740 WARN MND user:_root is already there
08/14 08:38:51.179752 29689 7fb2e588e740 MND TDengine mgmt is initialized successfully
08/14 08:38:51.182597 29689 7fb2e588e740 DND vid:0, cache pool is allocated:0x20a0cc0
08/14 08:38:51.183007 29689 7fb2e588e740 DND vid:0, commit log is initialized
08/14 08:38:51.183012 29689 7fb2e588e740 DND vid:0, storage initialized, version:217316 fileId:1848 numOfFiles:4
08/14 08:38:51.183146 29689 7fb2e588e740 DND vid:1, cache pool is allocated:0x20a1340
08/14 08:38:51.183331 29689 7fb2e588e740 DND vid:1, commit log is initialized
08/14 08:38:51.183335 29689 7fb2e588e740 DND vid:1, storage initialized, version:326934 fileId:1848 numOfFiles:9
08/14 08:38:51.183870 29689 7fb2e588e740 DND vid:0, status:offline, start to open
08/14 08:38:51.183913 29689 7fb2e588e740 DND vid:0, sessions:33, shell is opened
08/14 08:38:51.183916 29689 7fb2e588e740 DND vid:0, status:master numOfPeers:0
08/14 08:38:51.183920 29689 7fb2e588e740 DND vid:0, stream role is changed from stop to start
08/14 08:38:51.183926 29689 7fb2e588e740 DND vid:0, vnode is opened, openVnodes:1, status:master
08/14 08:38:51.183929 29689 7fb2e588e740 DND vid:1, status:offline, start to open
08/14 08:38:51.183993 29689 7fb2e588e740 DND vid:1, sessions:1001, shell is opened
08/14 08:38:51.183996 29689 7fb2e588e740 DND vid:1, status:master numOfPeers:0
08/14 08:38:51.184001 29689 7fb2e588e740 DND vid:1, stream role is changed from stop to start
08/14 08:38:51.184012 29689 7fb2e588e740 DND vid:1, vnode is opened, openVnodes:2, status:master
08/14 08:38:51.184020 29689 7fb2e588e740 DND vnode is initialized successfully
08/14 08:38:51.184023 29689 7fb2e588e740 HTP starting to initialize http service ...
08/14 08:38:51.206344 29689 7fb2e588e740 DND TDengine is initialized successfully
08/14 08:38:51.207035 29689 7fb2b97f2700 HTP http service init success at ip:0.0.0.0:6020
08/14 08:38:51.224322 29689 7fb2db63a700 MON starting to initialize monitor service ..
08/14 08:38:51.224523 29689 7fb2dc63c700 MND pConn:0x7fb2e5765090 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:38:51.224563 29689 7fb2dc63c700 MND user:monitor login from 172.17.122.10, code:0
08/14 08:38:51.225132 29689 7fb2dbe3b700 MND table:0.log.log, table is created by monitor
08/14 08:38:51.225209 29689 7fb2d8669700 MON dnode:172.17.122.10 is started
08/14 08:38:51.225404 29689 7fb2dbe3b700 MND table:0.log.dn, table is created by monitor
08/14 08:38:51.225632 29689 7fb2dbe3b700 MND table:0.log.acct, table is created by monitor
08/14 08:38:51.225776 29689 7fb2dce3d700 MND 0.log.dn, uid:104237590727491590 meter meta is retrieved
08/14 08:38:51.225968 29689 7fb2dbe3b700 MND table:0.log.dn_172_17_122_10, table is created by monitor
08/14 08:38:51.226133 29689 7fb2dce3d700 MND 0.log.acct, uid:104237590727557127 meter meta is retrieved
08/14 08:38:51.226303 29689 7fb2dbe3b700 MND table:0.log.acct_root, table is created by monitor
08/14 08:38:51.226430 29689 7fb2dbe3b700 MND table:0.log.slowquery, table is created by monitor
08/14 08:38:51.226494 29689 7fb2d7e68700 MON monitor service init success
08/14 08:38:51.254566 29689 7fb2dc63c700 MND pConn:0x7fb2e5765110 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:38:51.254687 29689 7fb2dc63c700 MND user:root login from 172.17.122.10, code:0
08/14 08:38:51.256596 29689 7fb2dc63c700 MND 0.log.log, uid:1099511693317 meter meta is retrieved
08/14 08:38:51.256631 29689 7fb2dc63c700 MND 0.water.water_monitoring, uid:104244873987620876 meter meta is retrieved
08/14 08:38:51.257045 29689 7fb2dc63c700 MND metric:0.water.water_monitoring len:21, metric query condition:(mac='d001a2b3c5d8')
08/14 08:38:51.257077 29689 7fb2dc63c700 MND metric:0.water.water_monitoring numOfRes:5
08/14 08:38:51.257087 29689 7fb2dc63c700 MND metric:0.water.water_monitoring metric-meta tables:5, vnode:1
08/14 08:38:51.257090 29689 7fb2dc63c700 MND metric-meta msg size 378
08/14 08:38:51.600688 29689 7fb2dc63c700 MND pConn:0x7fb2e5765190 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:38:51.600705 29689 7fb2dc63c700 MND login from:100007f:6634
08/14 08:39:22.167987 29689 7fb2dce3d700 MND pConn:0x7fb2e5765210 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:39:22.168000 29689 7fb2dce3d700 MND login from:a7a11ac:34779
08/14 08:39:22.168009 29689 7fb2dce3d700 MND 0.log.dn_172_17_122_10, uid:1099511758856 meter meta is retrieved
08/14 08:39:28.172666 29689 7fb2dc63c700 MND connection from monitor is closed
08/14 08:40:23.404232 29689 7fb2dce3d700 MND pConn:0x7fb2e5765290 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0 08/14 08:40:23.404246 29689 7fb2dce3d700 MND login from:a7a11ac:34779 08/14 08:40:23.404257 29689 7fb2dce3d700 MND 0.water.rainfall_monitoring, uid:104498520954372144 meter meta is retrieved 08/14 08:40:23.404461 29689 7fb2dc63c700 MND metric:0.water.rainfall_monitoring len:21, metric query condition:(mac='d001a2b3c5d8') 08/14 08:40:23.404479 29689 7fb2dc63c700 MND metric:0.water.rainfall_monitoring numOfRes:1 08/14 08:40:23.404488 29689 7fb2dc63c700 MND metric:0.water.rainfall_monitoring metric-meta tables:1, vnode:1 08/14 08:40:23.404491 29689 7fb2dc63c700 MND metric-meta msg size 80 08/14 08:40:23.415182 29689 7fb2dc63c700 MND metric:0.water.water_monitoring len:21, metric query condition:(mac='d001a2b3c4f2') 08/14 08:40:23.415205 29689 7fb2dc63c700 MND metric:0.water.water_monitoring numOfRes:3 08/14 08:40:23.415214 29689 7fb2dc63c700 MND metric:0.water.water_monitoring metric-meta tables:3, vnode:1 08/14 08:40:23.415217 29689 7fb2dc63c700 MND metric-meta msg size 254
================================================== new log file
08/14 08:40:23.662790 29849 7ff7a7430740 UTL timezone not configured, set to system default: (CST, +0800)
08/14 08:40:23.662863 29849 7ff7a7430740 UTL locale not configured, set to system default:en_US.UTF-8
08/14 08:40:23.662877 29849 7ff7a7430740 UTL charset not configured, set to system default:UTF-8
08/14 08:40:23.662954 29849 7ff7a7430740 UTL taos config & system info:
08/14 08:40:23.662959 29849 7ff7a7430740 UTL ==================================
08/14 08:40:23.662962 29849 7ff7a7430740 UTL localIp: 172.17.122.10
08/14 08:40:23.662967 29849 7ff7a7430740 UTL httpIp: 0.0.0.0
08/14 08:40:23.662970 29849 7ff7a7430740 UTL httpPort: 6020
08/14 08:40:23.662974 29849 7ff7a7430740 UTL mgmtShellPort: 6030
08/14 08:40:23.662977 29849 7ff7a7430740 UTL vnodeShellPort: 6035
08/14 08:40:23.662980 29849 7ff7a7430740 UTL configDir: /etc/taos
08/14 08:40:23.662983 29849 7ff7a7430740 UTL logDir: /var/log/taos
08/14 08:40:23.662986 29849 7ff7a7430740 UTL scriptDir: /etc/taos
08/14 08:40:23.662989 29849 7ff7a7430740 UTL dataDir: /var/lib/taos
08/14 08:40:23.662992 29849 7ff7a7430740 UTL numOfThreadsPerCore: 2.000000
08/14 08:40:23.663007 29849 7ff7a7430740 UTL ratioOfQueryThreads: 0.500000
08/14 08:40:23.663012 29849 7ff7a7430740 UTL numOfVnodesPerCore: 8
08/14 08:40:23.663016 29849 7ff7a7430740 UTL numOfTotalVnodes: 0
08/14 08:40:23.663019 29849 7ff7a7430740 UTL tables: 1000
08/14 08:40:23.663023 29849 7ff7a7430740 UTL cache: 66666(byte)
08/14 08:40:23.663026 29849 7ff7a7430740 UTL rows: 4096
08/14 08:40:23.663029 29849 7ff7a7430740 UTL fileBlockMinPercent: 0.050000
08/14 08:40:23.663033 29849 7ff7a7430740 UTL ablocks: 4
08/14 08:40:23.663037 29849 7ff7a7430740 UTL tblocks: 100
08/14 08:40:23.663041 29849 7ff7a7430740 UTL affectedRowsMod: 0
08/14 08:40:23.663044 29849 7ff7a7430740 UTL monitorInterval: 30(s)
08/14 08:40:23.663048 29849 7ff7a7430740 UTL rpcTimer: 300(ms)
08/14 08:40:23.663051 29849 7ff7a7430740 UTL rpcMaxTime: 600(s)
08/14 08:40:23.663055 29849 7ff7a7430740 UTL ctime: 3600(s)
08/14 08:40:23.663058 29849 7ff7a7430740 UTL statusInterval: 1(s)
08/14 08:40:23.663061 29849 7ff7a7430740 UTL shellActivityTimer: 3(s)
08/14 08:40:23.663063 29849 7ff7a7430740 UTL meterMetaKeepTimer: 7200(s)
08/14 08:40:23.663066 29849 7ff7a7430740 UTL metricMetaKeepTimer: 600(s)
08/14 08:40:23.663069 29849 7ff7a7430740 UTL maxUsers: 1000
08/14 08:40:23.663072 29849 7ff7a7430740 UTL maxDbs: 1000
08/14 08:40:23.663074 29849 7ff7a7430740 UTL maxTables: 650000
08/14 08:40:23.663077 29849 7ff7a7430740 UTL maxVGroups: 1000
08/14 08:40:23.663080 29849 7ff7a7430740 UTL minSlidingTime: 10(ms)
08/14 08:40:23.663083 29849 7ff7a7430740 UTL minIntervalTime: 10(ms)
08/14 08:40:23.663086 29849 7ff7a7430740 UTL maxStreamCompDelay: 20000(ms)
08/14 08:40:23.663088 29849 7ff7a7430740 UTL maxFirstStreamCompDelay:10000(ms)
08/14 08:40:23.663091 29849 7ff7a7430740 UTL retryStreamCompDelay: 10(ms)
08/14 08:40:23.663094 29849 7ff7a7430740 UTL clog: 1
08/14 08:40:23.663097 29849 7ff7a7430740 UTL comp: 2
08/14 08:40:23.663100 29849 7ff7a7430740 UTL days: 10
08/14 08:40:23.663102 29849 7ff7a7430740 UTL keep: 3650
08/14 08:40:23.663105 29849 7ff7a7430740 UTL defaultDB:
08/14 08:40:23.663108 29849 7ff7a7430740 UTL defaultUser: root
08/14 08:40:23.663111 29849 7ff7a7430740 UTL sockettype: udp
08/14 08:40:23.663113 29849 7ff7a7430740 UTL compressMsgSize: -1
08/14 08:40:23.663116 29849 7ff7a7430740 UTL maxSQLLength: 65380(byte)
08/14 08:40:23.663119 29849 7ff7a7430740 UTL timezone: (CST, +0800)
08/14 08:40:23.663125 29849 7ff7a7430740 UTL locale: en_US.UTF-8
08/14 08:40:23.663127 29849 7ff7a7430740 UTL charset: UTF-8
08/14 08:40:23.663130 29849 7ff7a7430740 UTL maxShellConns: 2000
08/14 08:40:23.663133 29849 7ff7a7430740 UTL maxMeterConnections: 10000
08/14 08:40:23.663136 29849 7ff7a7430740 UTL maxMgmtConnections: 2000
08/14 08:40:23.663138 29849 7ff7a7430740 UTL maxVnodeConnections: 10000
08/14 08:40:23.663141 29849 7ff7a7430740 UTL minimalLogDirGB: 0.100000(GB)
08/14 08:40:23.663144 29849 7ff7a7430740 UTL minimalTmpDirGB: 0.100000(GB)
08/14 08:40:23.663147 29849 7ff7a7430740 UTL minimalDataDirGB: 0.500000(GB)
08/14 08:40:23.663150 29849 7ff7a7430740 UTL http: 1
08/14 08:40:23.663153 29849 7ff7a7430740 UTL monitor: 1
08/14 08:40:23.663156 29849 7ff7a7430740 UTL monitorDbName: log
08/14 08:40:23.663159 29849 7ff7a7430740 UTL httpCacheSessions: 500
08/14 08:40:23.663161 29849 7ff7a7430740 UTL httpEnableRecordSql: 0
08/14 08:40:23.663164 29849 7ff7a7430740 UTL telegrafUseFieldNum: 0
08/14 08:40:23.663167 29849 7ff7a7430740 UTL httpMaxThreads: 20
08/14 08:40:23.663169 29849 7ff7a7430740 UTL restfulRowLimit: 10240
08/14 08:40:23.663172 29849 7ff7a7430740 UTL httpEnableCompress: 0
08/14 08:40:23.663175 29849 7ff7a7430740 UTL numOfLogLines: 10000000
08/14 08:40:23.663178 29849 7ff7a7430740 UTL asyncLog: 1
08/14 08:40:23.663180 29849 7ff7a7430740 UTL debugFlag: 131
08/14 08:40:23.663188 29849 7ff7a7430740 UTL mDebugFlag: 135
08/14 08:40:23.663191 29849 7ff7a7430740 UTL dDebugFlag: 131
08/14 08:40:23.663194 29849 7ff7a7430740 UTL sdbDebugFlag: 135
08/14 08:40:23.663196 29849 7ff7a7430740 UTL rpcDebugFlag: 131
08/14 08:40:23.663199 29849 7ff7a7430740 UTL tmrDebugFlag: 131
08/14 08:40:23.663202 29849 7ff7a7430740 UTL cDebugFlag: 131
08/14 08:40:23.663204 29849 7ff7a7430740 UTL jniDebugFlag: 131
08/14 08:40:23.663207 29849 7ff7a7430740 UTL odbcDebugFlag: 131
08/14 08:40:23.663210 29849 7ff7a7430740 UTL uDebugFlag: 131
08/14 08:40:23.663212 29849 7ff7a7430740 UTL httpDebugFlag: 131
08/14 08:40:23.663215 29849 7ff7a7430740 UTL monitorDebugFlag: 131
08/14 08:40:23.663218 29849 7ff7a7430740 UTL qDebugFlag: 131
08/14 08:40:23.663221 29849 7ff7a7430740 UTL tscEnableRecordSql: 0
08/14 08:40:23.663223 29849 7ff7a7430740 UTL enableCoreFile: 0
08/14 08:40:23.663226 29849 7ff7a7430740 UTL gitinfo: 918cb2220f6a1f71966f7e94e697885d50fc241f
08/14 08:40:23.663229 29849 7ff7a7430740 UTL gitinfoOfInternal:
08/14 08:40:23.663232 29849 7ff7a7430740 UTL buildinfo: Built by root at 2020-02-09 11:06
08/14 08:40:23.663235 29849 7ff7a7430740 UTL version: 1.6.5.5
08/14 08:40:23.663237 29849 7ff7a7430740 UTL dataDir: /var/lib/taos
08/14 08:40:23.663240 29849 7ff7a7430740 UTL os pageSize: 4096(KB)
08/14 08:40:23.663242 29849 7ff7a7430740 UTL os openMax: 1048576
08/14 08:40:23.663245 29849 7ff7a7430740 UTL os streamMax: 16
08/14 08:40:23.663247 29849 7ff7a7430740 UTL os numOfCores: 2
08/14 08:40:23.663250 29849 7ff7a7430740 UTL os totalDisk: 492.028717(GB)
08/14 08:40:23.663254 29849 7ff7a7430740 UTL os totalMemory: 7821(MB)
08/14 08:40:23.663261 29849 7ff7a7430740 UTL os sysname: Linux
08/14 08:40:23.663264 29849 7ff7a7430740 UTL os nodename: iZ2zeckaik793iodbodpg0Z
08/14 08:40:23.663266 29849 7ff7a7430740 UTL os release: 3.10.0-1062.18.1.el7.x86_64
08/14 08:40:23.663268 29849 7ff7a7430740 UTL os version: #1 SMP Tue Mar 17 23:49:17 UTC 2020
08/14 08:40:23.663270 29849 7ff7a7430740 UTL os machine: x86_64
08/14 08:40:23.663272 29849 7ff7a7430740 UTL ==================================
08/14 08:40:23.663276 29849 7ff7a7430740 DND Server IP address is:172.17.122.10
08/14 08:40:23.663283 29849 7ff7a7430740 DND starting to initialize TDengine ...
08/14 08:40:23.663383 29849 7ff7a7430740 MND starting to initialize TDengine mgmt ...
08/14 08:40:23.664127 29849 7ff7a7430740 MND-SDB open sdb file:/var/lib/taos/mgmt/user.db for read
08/14 08:40:23.664161 29849 7ff7a7430740 MND-SDB table:user is initialized, numOfRows:3, numOfTables:1
08/14 08:40:23.664169 29849 7ff7a7430740 MND user data is initialized
08/14 08:40:23.664177 29849 7ff7a7430740 MND dnode first access, set total vnodes:50
08/14 08:40:23.664229 29849 7ff7a7430740 MND-SDB open sdb file:/var/lib/taos/mgmt/db.db for read
08/14 08:40:23.664252 29849 7ff7a7430740 MND-SDB table:db is initialized, numOfRows:2, numOfTables:2
08/14 08:40:23.664259 29849 7ff7a7430740 MND db data is initialized
08/14 08:40:23.664346 29849 7ff7a7430740 MND-SDB open sdb file:/var/lib/taos/mgmt/vgroups.db for read
08/14 08:40:23.664366 29849 7ff7a7430740 MND-SDB table:vgroups is initialized, numOfRows:2, numOfTables:3
08/14 08:40:23.664373 29849 7ff7a7430740 MND dnode:0x0:0.0.0.0, vnode:0 add to vgroup:1
08/14 08:40:23.664378 29849 7ff7a7430740 MND dnode:0xa7a11ac:172.17.122.10, begin calc free vnodes
08/14 08:40:23.664385 29849 7ff7a7430740 MND 0-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:0, vgroup:1, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:40:23.664390 29849 7ff7a7430740 MND dnode:0xa7a11ac:172.17.122.10, numOfVnodes:50, numOfFreeVnodes:49, totalVnodes:1
08/14 08:40:23.664406 29849 7ff7a7430740 MND dnode:0x0:0.0.0.0, vnode:1 add to vgroup:2
08/14 08:40:23.664408 29849 7ff7a7430740 MND dnode:0xa7a11ac:172.17.122.10, begin calc free vnodes
08/14 08:40:23.664411 29849 7ff7a7430740 MND 0-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:0, vgroup:1, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:40:23.664414 29849 7ff7a7430740 MND 1-dnode:0xa7a11ac:172.17.122.10, calc free vnodes, exist vnode:1, vgroup:2, state:0 offline, dropstate:0 ready, syncstatus:0 ready
08/14 08:40:23.664418 29849 7ff7a7430740 MND dnode:0xa7a11ac:172.17.122.10, numOfVnodes:50, numOfFreeVnodes:48, totalVnodes:2
08/14 08:40:23.664423 29849 7ff7a7430740 MND vgroup is initialized
08/14 08:40:23.670831 29849 7ff7a7430740 MND-SDB open sdb file:/var/lib/taos/mgmt/meters.db for read
08/14 08:40:23.672597 29849 7ff7a7430740 MND-SDB table:meters is initialized, numOfRows:54, numOfTables:4
08/14 08:40:23.676492 29849 7ff7a7430740 MND meter is initialized
08/14 08:40:23.676834 29849 7ff7a7430740 WARN MND user:root is already there
08/14 08:40:23.676841 29849 7ff7a7430740 WARN MND user:monitor is already there
08/14 08:40:23.676843 29849 7ff7a7430740 WARN MND user:_root is already there
08/14 08:40:23.676847 29849 7ff7a7430740 MND TDengine mgmt is initialized successfully
08/14 08:40:23.679230 29849 7ff7a7430740 DND vid:0, cache pool is allocated:0x1ff2ce0
08/14 08:40:23.679570 29849 7ff7a7430740 DND vid:0, commit log is initialized
08/14 08:40:23.679576 29849 7ff7a7430740 DND vid:0, storage initialized, version:217319 fileId:1848 numOfFiles:4
08/14 08:40:23.679703 29849 7ff7a7430740 DND vid:1, cache pool is allocated:0x1ff3360
08/14 08:40:23.679880 29849 7ff7a7430740 DND vid:1, commit log is initialized
08/14 08:40:23.679885 29849 7ff7a7430740 DND vid:1, storage initialized, version:326934 fileId:1848 numOfFiles:9
08/14 08:40:23.680333 29849 7ff7a7430740 DND vid:0, status:offline, start to open
08/14 08:40:23.680382 29849 7ff7a7430740 DND vid:0, sessions:33, shell is opened
08/14 08:40:23.680389 29849 7ff7a7430740 DND vid:0, status:master numOfPeers:0
08/14 08:40:23.680393 29849 7ff7a7430740 DND vid:0, stream role is changed from stop to start
08/14 08:40:23.680400 29849 7ff7a7430740 DND vid:0, vnode is opened, openVnodes:1, status:master
08/14 08:40:23.680404 29849 7ff7a7430740 DND vid:1, status:offline, start to open
08/14 08:40:23.680460 29849 7ff7a7430740 DND vid:1, sessions:1001, shell is opened
08/14 08:40:23.680464 29849 7ff7a7430740 DND vid:1, status:master numOfPeers:0
08/14 08:40:23.680470 29849 7ff7a7430740 DND vid:1, stream role is changed from stop to start
08/14 08:40:23.680481 29849 7ff7a7430740 DND vid:1, vnode is opened, openVnodes:2, status:master
08/14 08:40:23.680492 29849 7ff7a7430740 DND vnode is initialized successfully
08/14 08:40:23.680496 29849 7ff7a7430740 HTP starting to initialize http service ...
08/14 08:40:23.700118 29849 7ff7a7430740 DND TDengine is initialized successfully
08/14 08:40:23.700140 29849 7ff77b8b2700 HTP http service init success at ip:0.0.0.0:6020
08/14 08:40:23.714092 29849 7ff79d1dc700 MON starting to initialize monitor service ..
08/14 08:40:23.714256 29849 7ff79e9df700 MND pConn:0x7ff7a7307090 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:40:23.714290 29849 7ff79e9df700 MND user:monitor login from 172.17.122.10, code:0
08/14 08:40:23.714684 29849 7ff79d9dd700 MND table:0.log.log, table is created by monitor
08/14 08:40:23.714713 29849 7ff79611b700 MON dnode:172.17.122.10 is started
08/14 08:40:23.714842 29849 7ff79d9dd700 MND table:0.log.dn, table is created by monitor
08/14 08:40:23.715019 29849 7ff79d9dd700 MND table:0.log.acct, table is created by monitor
08/14 08:40:23.715113 29849 7ff79e1de700 MND 0.log.dn, uid:104237590727491590 meter meta is retrieved
08/14 08:40:23.715254 29849 7ff79d9dd700 MND table:0.log.dn_172_17_122_10, table is created by monitor
08/14 08:40:23.715325 29849 7ff79e1de700 MND 0.log.acct, uid:104237590727557127 meter meta is retrieved
08/14 08:40:23.715459 29849 7ff79d9dd700 MND table:0.log.acct_root, table is created by monitor
08/14 08:40:23.715567 29849 7ff79d9dd700 MND table:0.log.slowquery, table is created by monitor
08/14 08:40:23.715594 29849 7ff79591a700 MON monitor service init success
08/14 08:40:23.798036 29849 7ff79e9df700 MND pConn:0x7ff7a7307110 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:40:23.798170 29849 7ff79e9df700 MND user:root login from 172.17.122.10, code:0
08/14 08:40:23.798198 29849 7ff79e1de700 MND 0.log.log, uid:1099511693317 meter meta is retrieved
08/14 08:40:23.798294 29849 7ff79e9df700 MND 0.water.water_monitoring, uid:104244873987620876 meter meta is retrieved
08/14 08:40:23.798560 29849 7ff79e1de700 MND metric:0.water.water_monitoring len:21, metric query condition:(mac='d001a2b3c5d8')
08/14 08:40:23.798595 29849 7ff79e1de700 MND metric:0.water.water_monitoring numOfRes:5
08/14 08:40:23.798610 29849 7ff79e1de700 MND metric:0.water.water_monitoring metric-meta tables:5, vnode:1
08/14 08:40:23.798614 29849 7ff79e1de700 MND metric-meta msg size 378
08/14 08:40:24.910436 29849 7ff79711d700 ERROR RPC MND-shell cid:0, sid:3 session is already released
08/14 08:40:24.910563 29849 7ff79e9df700 MND pConn:0x7ff7a7307190 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:40:24.910573 29849 7ff79e9df700 MND login from:100007f:6634
08/14 08:40:54.664553 29849 7ff79e9df700 MND pConn:0x7ff7a7307210 is rebuild, destIp:0x100007f:127.0.0.1 publicIp:0xa7a11ac:172.17.122.10 usePublicIp:0
08/14 08:40:54.664568 29849 7ff79e9df700 MND login from:a7a11ac:43493
08/14 08:40:54.664579 29849 7ff79e9df700 MND 0.log.dn_172_17_122_10, uid:1099511758856 meter meta is retrieved
08/14 08:41:00.669097 29849 7ff79e1de700 MND connection from monitor is closed
`
如何使RESTful的大量查询更稳定?不至于进程崩掉。
Please use latest 2.0 to try. Thanks.
请使用最新的2.0进行尝试。谢谢。
如何保留原有数据升级? 是否有参考文档。
https://www.taosdata.com/cn/documentation20/administrator/#%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%87%BA
2.0版本为什么没有提供 taosdoump 工具?
