You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/02/05 08:08:56 UTC

[GitHub] [iotdb] JackieTien97 commented on issue #2641: What you can do when IoTDB has no response(IoTDB 无响应如何操作)

JackieTien97 commented on issue #2641:
URL: https://github.com/apache/iotdb/issues/2641#issuecomment-773869071


   1. top命令查看iotdb进程当前的cpu负载与内存占用,截图留存,或以文字形式记录;
   
   2. jstack命令输出iotdb进程的线程运行信息,生成stack1.log文件;再次执行 jstack命令,生成stack2.log
   `jstack -l pid > stack1.log`
   `jstack -l pid > stack2.log`
   (pid用具体的iotdb进程号替换)
   
   3. 如果内存占用过高,使用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:
users@infra.apache.org