jps 命令内容中出现Insufficient space for shared memory file:
来源:互联网 发布:阿里云拍照背景幕布 编辑:程序博客网 时间:2024/05/16 18:31
#jps 报错了
Java HotSpot(TM) 64-Bit Server VM warning:
Insufficient space for shared memory file:
/tmp/hsperfdata_root/15746 Try using the -Djava.io.tmpdir= option to select an alternate temp location.
df -h
发现某一个满的分区
清理一些日志文件 恢复正常
起namenode时,hadoop报错:
Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
/tmp/hsperfdata_work/23408
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
错误解决后,搜索学习这个 /tmp/hsperfdata_$user/$number的作用:
That directory is part of a Java performance counter.
这个文件存的应该是JVM进程当前的一些性能参数(或者说运行信息)
jvmstat会生成一个目录文件叫hsperfdata_username,那这个目录文件在哪里呢,默认的是生成在 java.io.tmpdir目录下, java.io.tmpdir在linux下默认是/tmp下,故默认开启了jvm monitor的功能以后就会在/tmp目录下生成一个目录叫 hsperfdata_username ,然后这个目录中会有一个pid文件,可以利用strings查看里面的文件内容,一般就是jvm的进程信息而已。
而jps、jconsole、jvisualvm等工具的数据来源就是这个文件(/tmp/hsperfdata_userName/pid)。所以当该文件不存在或是无法读取时就会出现jps无法查看该进程号,jconsole无法监控等问题
/tmp/hsperfdata_userName/pid文件会在对应java进程退出后被清除。如果java进程非正常退出(如kill -9),那么pid文件会被保留,直到执行一次java命令或是加载了jvm程序的命令(如jps、javac、jstat),会将所有无用的pid文件都清除掉
Java HotSpot(TM) 64-Bit Server VM warning:
Insufficient space for shared memory file:
/tmp/hsperfdata_root/15746 Try using the -Djava.io.tmpdir= option to select an alternate temp location.
df -h
发现某一个满的分区
清理一些日志文件 恢复正常
起namenode时,hadoop报错:
Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
/tmp/hsperfdata_work/23408
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
错误解决后,搜索学习这个 /tmp/hsperfdata_$user/$number的作用:
That directory is part of a Java performance counter.
这个文件存的应该是JVM进程当前的一些性能参数(或者说运行信息)
jvmstat会生成一个目录文件叫hsperfdata_username,那这个目录文件在哪里呢,默认的是生成在 java.io.tmpdir目录下, java.io.tmpdir在linux下默认是/tmp下,故默认开启了jvm monitor的功能以后就会在/tmp目录下生成一个目录叫 hsperfdata_username ,然后这个目录中会有一个pid文件,可以利用strings查看里面的文件内容,一般就是jvm的进程信息而已。
而jps、jconsole、jvisualvm等工具的数据来源就是这个文件(/tmp/hsperfdata_userName/pid)。所以当该文件不存在或是无法读取时就会出现jps无法查看该进程号,jconsole无法监控等问题
/tmp/hsperfdata_userName/pid文件会在对应java进程退出后被清除。如果java进程非正常退出(如kill -9),那么pid文件会被保留,直到执行一次java命令或是加载了jvm程序的命令(如jps、javac、jstat),会将所有无用的pid文件都清除掉
0 0
- jps 命令内容中出现Insufficient space for shared memory file:
- Tomcat ShutDown出现 Insufficient space for shared memory file:
- 出现Insufficient space for shared memory file错误解决
- Insufficient space for shared memory file
- 学院服务器维护日常 Insufficient space for shared memory file
- 关于Insufficient space for shared memory file解决办法
- tomcat服务启动异常:Insufficient space for shared memory file
- Insufficient space for shared memory file 磁盘空间不足
- Java HotSpot(TM) Server VM warning: Insufficient space for shared memory file: /tmp/hsperfdata_ch
- Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
- Bank conflict for shared memory
- jps: error while loading shared libraries: libjli.so: cannot open shared object file: No such file..
- 执行命令mm出错以及运行adb shell出现insufficient permissions for device错误的解决方法
- yum后出现【Insufficient space in download directory】 错误
- vertica-磁盘执行export出现insufficient space报错
- Ubuntu16.04安装myeclipse2014时出现insufficient memory
- ERROR: insufficient memory reserved for statement tuplesort_mk.h:115
- 解决命令启动Android模拟器出现lib64OpenglRender.so: cannot open shared object file问题
- NTP时间服务器搭建
- 持续集成回顾暨点滴分享[1] – 举目向前,摸石过河
- 服务器将GMT修改为CST
- hadoop群集运行job慢的问题
- Handshakes
- jps 命令内容中出现Insufficient space for shared memory file:
- 镀金到底重不重要
- kafka-manager监控工具安装
- javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
- 修改mysql中普通用户的密码
- many connection errors; unblock with
- Hadoop1.x和Hadoop2.x中fsimage和edits合并实现
- wifi的阻抗问题
- 如何优化YARN和MapReduce内存