UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || Skype : mark_ducadi
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Please email cmo[at]eukhost.com if you have any questions or need my assistance
I'm guessing that was my VM - I'll admit I'm quite inexperienced when it comes to Linux - I'm a developer not a sysadmin. But if 512Mb is too little memory for a VM - why allow that setting in the control panel? Anyways.... it's at 2Gb now.
Sorry to thread hijack but - I'm wondering if my VM issues are related to any work that might be going on? I run a small site and when it's running - it runs flawlessly. But I go to bed - wake up next morning and try to access it - it's dead (or asleep)
HTTP / SSH / FTP is all inaccessible - then a few minutes later it will be responsive - then die again. All the while load is near 0 and uptime reports its been running for hours.
Yup - there's a ticket in the system
... and it's dead again
EDIT:
... and it's back :S
For others who may be interested/monitoring progress:
[The crew at eUKHost have been working tirelessly to make the eNlight platform into a system that many of us have grown to expect from them. This is new bleeding edge technology, so teething is unfortunately a necessary evil. For me, however, unless it develops to allow a smaller footprint, then I'll need to look elsewhere for a small Cloud.]
Latest observations:
For Centos 5.7 cPanel/WHM on the current eNlight VM template.
The key performance issue is swap - anything else is just dross.
768Mb is absolute bottom limit - 1Gb is fine but you MUST contain memory usage by pairing back Apache settings and tuning of mySQL.
AFTER you have done this, at a shell prompt
You may need to temporarily stop some processes, before being able to do a swapoff, to free off memory. Clamd, mySQL and Apache are the most obvious candidates.Code:echo "3" > /proc/sys/vm/drop_caches swapoff -av swapon -av
If you use Directmin, some other control panel, or none at all, then you will very likely get better response from a low end installation.
At this point, I'd like to see some development on reducing the swapiness (yes, it is a *nix word), thus reducing pressure on swap. Unfortunately my time spent on eNlight has left me short of time & energy to get on with client-side work.
Hope the above helps some of you.
EJ
Thanks EJ for keeping with us and giving your precious time.
The new template for CPanel is available and we can see the results. It is improved a lot for smaller sites.
Its running small site CPanel now under 300M including cache and 0 swap.Code:root@centos [~]# free -m total used free shared buffers cached Mem: 524 289 234 0 2 80 -/+ buffers/cache: 207 316 Swap: 511 0 511
There are few improvements at the infra side as well to serve them better.
Will keep posted for more.
Raised a ticket yesterday, to try to get this actioned on my existing VM but has caused more issues.Snr. support didn't know what I was talking about (fair enough). The new ticket system won't allow me to add updates, so couldn't even refer them to this thread.
If a new VM is now created using the dropdown selection of cPanel, does it now use the above mentioned template?
Give me the ticket ID and I'll patch in some one.Raised a ticket yesterday,
Yes, It uses the new template having 512M Swap.If a new VM is now created using the dropdown selection of cPanel, does it now use the above mentioned template?![]()
SUPPORT #JNI-146-31145Give me the ticket ID and I'll patch in some one.
Might as well use up the rest of my 'bonus' creditYes, It uses the new template having 512M Swap.![]()
Though I suspect a tweak to swapiness is a distinct possibility.
You will have to create a VM and then update about the migrations in ticket. Sorry.
Or you may ask them to create a VM for you in your account and migrate the data.
Don't worry about the credit, we'll refill it for migration period![]()
Thanks - much appreciated.
I've closed the ticket and will handle the migration myself: I'm pretty seasoned at cpmoves.Though I may have a requirement to transfer the cPanel license to the new IP - time will tell.
Normal service will resume shortly...
![]()
The swappiness of your VM is not actually calculated by Enlight. It's a kernel feature since 2003. You can change it on the fly by using:
Where 60 is the default swappiness and the higher it is; the quicker the OS will start to use its swap. Lowering it should enforce less swap to be used.Code:sysctl -w vm.swappiness=60
To make the change permanent, add it to /etc/sysctl.conf.
Code:vm.swappiness = 60
On a newly created VM, with the 'fresh' template....
- Apache recompiled with sensible settings
- CSF installed, along with the other useful "freebies" - numerous services disabled
- mySQL adjust for a low footprint
- clamd added for Windoze clients
- Bind chosen for its' flexibility (as usual)
- Three domains migrated over, though 'inactive' currently
Responsiveness: a slug chasing a blackbird - not the other way around.Code:total used free shared buffers cached Mem: 524288 468744 55544 0 448 18388 -/+ buffers/cache: 449908 74380 Swap: 524280 322884 201396 Total: 1048568 791628 256940
For comparison:
Swappiness changed to 40 on original eNlight unfortunately appears to make little difference.
Both VMs burst to a Load of over 40 at the slightest thing eg. opening WHM.Code:total used free shared buffers cached Mem: 524288 457512 66776 0 364 20280 -/+ buffers/cache: 436868 87420 Swap: 524280 313308 210972 Total: 1048568 770820 277748
As a reminder, here's the similar VM that has been running for a few months, with Load consistently low (<1).
And the services running on it (reformatted to compress it a bit)...Code:total used free shared buffers cached Mem: 524288 520960 3328 0 908 78228 -/+ buffers/cache: 441824 82464 Swap: 522104 57752 464352 Total: 1046392 578712 467680
Code:clamd cpanellogd cpdavd cpsrvd exim exim-4.69-30_cpanel_maildir ftpd httpd 2.2.21 (Unix) imap ipaliases lfd mysql 5.1.56 named 9.3.6-P1-RedHat-9.3.6-16.P1.el5_7.1 queueprocd spamd 3.3.1 sshd syslogd
Last edited by ejsolutions; 17-02-2012 at 15:05. Reason: additional info
Hello EJ,
We have been working on this particular IO wait issue and have made significant changes on the storage for everyones benefit. Less swap & optimized storage have reduced the IO problem so far. Can you check in the "top" which may indicate the reason of sluggishness ?
I checked in your VM graphs and it shows that load was max 2 in past couple of days after our changes. Hows its health now for you?
The server which you gave actually have less %user than the enlight one. I suspect its due to less processing load but there can be other factors too.
I've had Pingdom checking my site for the last week - for the most part its been ok - until just recently
See attached screenshot:
Whilst there has been improvements, I'm reserving judgement until I bring the RAM allocation back down to 512Mb, from 768Mb (matching the existing Cloud #2 VM).
As I type this, I'm unable to monitor the status of eNlight, as I am getting no response from the server whatsoever - not good. I'll try a forced restart from the eUKHost client area.
(It's not my poxy broadband dropping issues, as other WHM and sites are responding fine.)
Except I can't:
"Error : Under Maintenance."![]()
Last edited by ejsolutions; 20-02-2012 at 15:50. Reason: typo
There are currently 1 users browsing this thread. (0 members and 1 guests)