Portal Home > Knowledgebase > Articles Database > VPS with CentOS/cPanel/fsck crashes monthly
VPS with CentOS/cPanel/fsck crashes monthly
Posted by cloud7, 08-21-2014, 10:20 AM |
Assume a VPS with
CentOS 6.5 x86_64
cPanel 11.42
1GB RAM
50GB HDD
QEMU Virtual CPU cpu64-rhel6 / 3192 MHz / 6384 bogomips
1GB Swap File
0.5GB RAM burst shared with one other VPS
A few php programs run on it, e.g. wordpress, lime survey, phplist, etc.
Is there anything that one could spot immediately that would make this VPS crash/fail for 3days/month, especially each time a few days after reinstall? And then even requiring an fsck?
Also, cPanel said, they do not recommend running fsck on a VPS, as it could destroy their vfs. I thought that the VPS FS is the normal CentOS FS with CPanel having some files as their vfs on it, but basically a file system check would not touch the vfs integrity as it would check the file system underneath, the linux fs. Any thoughts on that?
|
Posted by FastServ, 08-21-2014, 10:25 AM |
1GB RAM is very low for Cpanel, even a VPS. I would suggest adding more RAM, at least 2GB temporarily. If that doesn't solve it, your host node may be unstable.
|
Posted by mcaynoz, 08-21-2014, 12:15 PM |
Please do the command top
Look for a numerical value then the words ending in wa
In debian it's a decimal value, in Centos it's a %
|
Posted by cloud7, 08-21-2014, 03:26 PM |
It is currently down/crashed/failed, I cannot get the data. On another VPS at the same provider, running WebMin, not cPanel, it is 0.0%wa. Thanks for the hint, what should be the max for this and is htere a way to auto manage it?
I will also look into oom_score_adj, any tips on how to tweak this best? (clam, munin, ...)
|
Posted by layer0, 08-21-2014, 08:22 PM |
Use top -d1 and watch it for something like 30 seconds (especially during a time when you feel the VPS is busy, and then compare it to a more idle time) and see what the %wa comes out to. This would help you to understand whether or not I/O is a bottleneck on a system. In my opinion it would be good if this stayed <5%, but you might be seeing much higher values than that if there's a disk I/O related performance problem on the system.
As Randy said, you definitely want to get more RAM on this VPS.
|
Posted by net, 08-21-2014, 08:25 PM |
Moved > Hosting Security and Technology.
|
Posted by cloud7, 02-13-2015, 06:47 PM |
Am since November with a different VPS provider. There, such disk problems, crashes, IP misconfigs, wrong advice, at least one reinstall per month, etc, have never happened.
All of what I learned (logs, mhts, emails, notes, script-like how-tos, etc) through this low-price beginner's experience has been enormously useful for evaluating new providers.
And I thank everyone here who has been so kind and gave good advice freely. You guys are great!
|
Add to Favourites Print this Article
Also Read
iTop10 Script (Views: 725)