全球主机交流论坛

标题: 磁盘满了也VPS也会DOWN掉?(鸣谢 king_bette From DIAHOSTING) [打印本页]

作者: saskeke    时间: 2010-6-28 22:34
标题: 磁盘满了也VPS也会DOWN掉?(鸣谢 king_bette From DIAHOSTING)
We apologies for the delay in reply.
We have checked your issue and found that your vps disk is full.
=================================================================
[root@ ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 49G 47G 6.3M 100% /
=================================================================

Please remove unnecessary files to make free space or upgrade plan.

Thank you for your patience.

但我自己查看了一下,貌似是MySQL挂了。
是我被攻击?还是今天流量太大?
还是因为一个月没重启?

[ 本帖最后由 saskeke 于 2010-6-28 23:11 编辑 ]
作者: shinko    时间: 2010-6-28 22:35
当然.......没空间...人都会挂
作者: saskeke    时间: 2010-6-28 22:37
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL. ERROR! Manager of pid-file quit without updating file.


运行./lnmp restart的时候的错误提示
作者: king_bette    时间: 2010-6-28 22:40
看看是不是nginx的日志把VPS塞满了
作者: saskeke    时间: 2010-6-28 22:40
MySQL经常卡住,但硬重启或者强制关闭会损坏数据,请问各位大大有没有什么好的办法?
作者: saskeke    时间: 2010-6-28 22:44
求高人……



Down了好久了


作者: king_bette    时间: 2010-6-28 22:44
cd /
du -sm *
找到占用空间最大的文件夹,一步一步下去,就能找到被哪些文件占用了
一般是在/usr/local/nginx/log里面下面
作者: isiscool    时间: 2010-6-28 22:49
你把你的家里电脑空间填满, 你看看你的电脑还能不能运行?
作者: saskeke    时间: 2010-6-28 22:52
谢谢king _bette
我已经删掉了1个G的垃圾文件

但现在restart MYSQL 还是不行

[root@ ~]# ./lnmp restart
=========================================================================
Manager for LNMP V0.4  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
Nginx program is reloding!
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
Shutting down php_fpm . done
Starting php_fpm  done
作者: king_bette    时间: 2010-6-28 22:57
再重起看看吧
还不行就是mysql出问题,看/var/log/mysqld 日志
作者: saskeke    时间: 2010-6-28 22:57
算了不管了,KILL ,KILL不成就REBOOT




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4