JackieTien97 edited a comment on issue #2641: URL: https://github.com/apache/iotdb/issues/2641#issuecomment-773869071
# 读写卡住 1. top命令查看iotdb进程当前的cpu负载与内存占用,截图留存,或以文字形式记录; 2. jps 查看 IoTDB 进程号 -> pid 3. jstack命令输出iotdb进程的线程运行信息,生成stack1.log文件;再次执行 jstack命令,生成stack2.log `jstack -l pid > stack1.log` `jstack -l pid > stack2.log` (pid用具体的iotdb进程号替换) # OOM 或内存占用过高 使用jmap命令生成iotdb进程的堆栈信息(注意:若分配给iotdb进程的内存较大,此步耗时可能会很久,生成的文件可能较大,确保磁盘剩余空间充足) `jmap -dump:format=b,file=iotdb.phrof pid` (pid用具体的iotdb进程号替换) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
