2016 年 10 月 发布的文章
查看全部
3 条记录
安装完后发现,top内存量占用都很大,竟然有47.1%内存使用。
我的vps总共才1G内存,目前只放了个discuz,不需要mysql那么大的内存。一路优化完后只有7.5%占用率了。
1、关闭innodb使用MYISAM存储引擎
参考http://docs.oracle.com/cd/E17952 ... db-tu...
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12662496 bytes) in /vhs/kangle/nodewww/dbadmin/mysql/index.php on line 16
如上报错显...
Centos查看端口占用情况和开启端口命令
Public
Centos查看端口占用情况命令,比如查看80端口占用情况使用如下命令:
lsof -i tcp:80
列出所有端口
netstat -ntlp
1、开启端口(以80端口为例)
方法一:
&nbs...