我有一个托pipe在1Gb内存的VPS Centos5_x64_cpanel系统上的WordPress站点。
最近,我一直在与托pipe公司的网站性能和电子邮件有很多问题,说服务器超负荷。
今天我收到了这封邮件:
We have reboot the VPS ##.##.###.### , as it overload again Normal: empty HighMem: empty 50559 pagecache pages Swap cache: add 20318560, delete 20312638, find 3426118/4492729, race 2780+11340 Free swap = 0kB Total swap = 2097144kB
我每天也会收到这封电子邮件:
The chkservd sub-process with pid 11939 ran for 4949 seconds. This sub-process was terminated when it exceeded the time allowed between checks, which is 600 seconds. To determine why, you can check /var/log/chkservd.log and /usr/local/cpanel/logs/tailwatchd_log. You likely received this notification as a symptom of a larger problem. If your server is experiencing a high load, we recommend investigating the cause. If you continue to receive this notification, it is likely that your system is unable to handle demand or a misconfiguration is delaying restarts. If you are sure that no misconfigurations exist, you should consider gradually increasing the following options in WHM's "Tweak Settings" feature: "The number of times ChkServd will allow a previous check to complete before terminating the check" and/or "The number of seconds between ChkServd service checks". Server: ###.#########.## Primary IP: ##.##.###.### Service: chkservd Notification Type: hang Memory Information: Used: 820MB Available: 208MB Installed: 1024MB Load Information: 76.53 75.24 80.24 Uptime: 0 days, 8 hours, 14 seconds IOStat Information: avg-cpu: %user %nice %system %iowait %steal %idle 1.97 0.01 0.80 13.19 0.01 84.02 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda1 18.57 360.59 132.67 10712202 3941360 sda2 422.54 995.39 2497.02 29570128 74179496 ChkServd Version: 15.1
该网站没有什么特别的,并安装了一些插件。
我怀疑它可能是一个插件导致过多的内存使用情况。 我是相当新的WHM所以有一种方法或日志文件,我可以检查,看看是什么使用所有的内存。 如果是这样,我会看看,有任何testing我可以运行,以检查它是否是一个插件,它是哪个插件。
谢谢
我只能想到一个Hit和Trial的testing,因为我不认为有任何工具可以告诉你哪个特定的插件正在使用内存。
为此,您可以在服务器上运行顶级命令,并开始逐个禁用您的插件。
只要你点击特定的插件,你会注意到RAM获得释放。 这是我现在可以考虑检查插件的内存问题的唯一方法。