Insufficient space for shared memory file 磁盘空间不足
来源:互联网 发布:linux java 短信猫 编辑:程序博客网 时间:2024/06/05 07:35
线上服务器运行时突然停止了,而且访问这台服务器的界面很卡,而且停止服务器时遇到如下问题:
Insufficient space for shared memory file
首先咨询百度翻译,意思是:共享内存文件空间不足。
提示文件空间不足,而恰巧我们的程序涉及到文件的上传。
那么肯定是文件存储的磁盘空间不足。
使用df查看一下文件存储的磁盘的利用率,已然达到了100%。如下:
好吧,咨询了一下专业的人士,他将不要将tomcat放在 /usr/local下面,因为 /usr/目录与/home目录共用一个磁盘分区,而且分区比较小。
建议将服务器放到/app目录下。/app是专门存放应用的路径。
附录:
下面是一些linux查看磁盘的命令演示:
[root@yjyapp ~]# df -mFilesystem 1M-blocks Used Available Use% Mounted on/dev/vda2 50397 25763 22075 54% /tmpfs 7976 1 7976 1% /dev/shm/dev/vda1 194 34 151 19% /boot/dev/vdb 201587 188 191160 1% /file/dev/vdc 503967 944 477423 1% /app
[root@yjyapp ~]# fdisk -lDisk /dev/vda: 64.4 GB, 64424509440 bytes16 heads, 63 sectors/track, 124830 cylindersUnits = cylinders of 1008 * 512 = 516096 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000edfae Device Boot Start End Blocks Id System/dev/vda1 * 3 409 204800 83 LinuxPartition 1 does not end on cylinder boundary./dev/vda2 409 104434 52428800 83 LinuxPartition 2 does not end on cylinder boundary./dev/vda3 104434 121078 8388608 82 Linux swap / SolarisPartition 3 does not end on cylinder boundary.Disk /dev/vdb: 214.7 GB, 214748364800 bytes16 heads, 63 sectors/track, 416101 cylindersUnits = cylinders of 1008 * 512 = 516096 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/vdc: 536.9 GB, 536870912000 bytes16 heads, 63 sectors/track, 1040253 cylindersUnits = cylinders of 1008 * 512 = 516096 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000
[root@yjyapp ~]# df -lhFilesystem Size Used Avail Use% Mounted on/dev/vda2 50G 26G 22G 54% /tmpfs 7.8G 264K 7.8G 1% /dev/shm/dev/vda1 194M 34M 151M 19% /boot/dev/vdb 197G 188M 187G 1% /file/dev/vdc 493G 944M 467G 1% /app
[root@yjyapp ~]# df -lh /home/uploadfile/Filesystem Size Used Avail Use% Mounted on/dev/vda2 50G 26G 22G 54% /
阅读全文
0 0
- Insufficient space for shared memory file 磁盘空间不足
- 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解决办法
- tomcat服务启动异常:Insufficient space for shared memory file
- jps 命令内容中出现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:
- linux磁盘空间不足:Can't start server: can't create PID file: No space left on device
- tortoiseSVN Failed writing updated file: 磁盘空间不足。
- Bank conflict for shared memory
- java.io.IOException: No space left on device,磁盘空间不足
- ERROR: insufficient memory reserved for statement tuplesort_mk.h:115
- Novell:Insufficient directory space
- no space left on device 磁盘空间不足原因及排查方法
- windml Insufficient memory
- [Leetcode] 443. String Compression 解题报告
- android sdk 与java jdk之间的对应关系
- 自适应布局小结
- classpath、path、JAVA_HOME的作用及JAVA环境变量配置
- 详解浏览器最大并发连接数
- Insufficient space for shared memory file 磁盘空间不足
- Eclipse快捷键
- android 在module内创建CMakeLists.txt来实现生成多个.so文件
- 递归算法笔记
- AUTOCAD学习笔记8:单相桥式整流滤波稳压电路的绘制
- hadoop 之 Map数据处理(Reduce不参与)
- C++仿函数 functor
- Java异常处理总结
- python使用renames函数批量修改文件名开头字符串