全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1823|回复: 10
打印 上一主题 下一主题

磁盘满了也VPS也会DOWN掉?(鸣谢 king_bette From DIAHOSTING)

[复制链接]
跳转到指定楼层
1#
发表于 2010-6-28 22:34:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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 编辑 ]
2#
发表于 2010-6-28 22:35:56 | 只看该作者
当然.......没空间...人都会挂
3#
 楼主| 发表于 2010-6-28 22:37:54 | 只看该作者
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL. ERROR! Manager of pid-file quit without updating file.


运行./lnmp restart的时候的错误提示
4#
发表于 2010-6-28 22:40:17 | 只看该作者
看看是不是nginx的日志把VPS塞满了

评分

参与人数 1威望 +5 收起 理由
saskeke + 5 谢谢,请问如何查看是否被nginx的日志塞满? ...

查看全部评分

5#
 楼主| 发表于 2010-6-28 22:40:47 | 只看该作者
MySQL经常卡住,但硬重启或者强制关闭会损坏数据,请问各位大大有没有什么好的办法?
6#
 楼主| 发表于 2010-6-28 22:44:04 | 只看该作者
求高人……



Down了好久了

7#
发表于 2010-6-28 22:44:05 | 只看该作者
cd /
du -sm *
找到占用空间最大的文件夹,一步一步下去,就能找到被哪些文件占用了
一般是在/usr/local/nginx/log里面下面
8#
发表于 2010-6-28 22:49:21 | 只看该作者
你把你的家里电脑空间填满, 你看看你的电脑还能不能运行?
9#
 楼主| 发表于 2010-6-28 22:52:14 | 只看该作者
谢谢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
10#
发表于 2010-6-28 22:57:43 | 只看该作者
再重起看看吧
还不行就是mysql出问题,看/var/log/mysqld 日志
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-30 19:28 , Processed in 0.102622 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表