全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: polar
打印 上一主题 下一主题

[nginx] mysql 占用CPU过高

[复制链接]
跳转到指定楼层
1#
发表于 2010-12-6 15:07:48 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
LNMP0.5   网站运行一阵子后,mysql占用CPU过高  做过my.cnf nginx.conf php-fpm 优化

现在mysql 15$

网站无法正常打开 PING得通
2#
 楼主| 发表于 2010-12-6 15:22:19 | 显示全部楼层
[root@lnter ~]# mysql> show processlist;
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

[root@lnter ~]# mysql> status;
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
3#
 楼主| 发表于 2010-12-6 16:08:52 | 显示全部楼层


mysql> show processlist;
这个查询命令 在root下怎么使用,命令格式是如何啊.

[root@lnter ~]# mysql> show processlist;
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
4#
 楼主| 发表于 2010-12-6 17:19:17 | 显示全部楼层

回复 10# 的帖子

[root@lnter ~]# mysqladmin processlist
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
5#
 楼主| 发表于 2010-12-6 17:20:34 | 显示全部楼层

回复 9# 的帖子

memcache 是哪个文件的缓存啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-19 19:18 , Processed in 0.078278 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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