{"id":479,"date":"2011-03-11T14:55:00","date_gmt":"2011-03-11T07:55:00","guid":{"rendered":"http:\/\/whplus.com\/blog\/?p=479"},"modified":"2011-03-11T14:59:20","modified_gmt":"2011-03-11T07:59:20","slug":"what-is-cloud-linux","status":"publish","type":"post","link":"https:\/\/www.whplus.com\/blog\/2011\/03\/11\/what-is-cloud-linux.html","title":{"rendered":"What is Cloud Linux?"},"content":{"rendered":"<p>Anyone who keeps up with us knows that we\u2019ve moved all of our shared and reseller hosting servers over to Cloud Linux. Here I\u2019m going to go over what exactly Cloud Linux is, what it brings to the table, and some of the more technical aspects of it.<\/p>\n<p><strong>So, what exactly <em>is<\/em> Cloud Linux?<\/strong><\/p>\n<p>In a typical server environment, there are no hard limits in place  for each user. There are of course things you can limit (PHP memory use,  cron job execution, disk space, bandwidth, etc), but those aren\u2019t the  things users do that will hit you where it hurts. The majority of  resource problems stem from CPU use, or disk IO, bad MySQL queries, and  other runaway scripts. Before Cloud Linux, it was always a game of cat  and mouse. We had to have our sysadmins get notified of the issue, login  to the machine, locate the user and suspend whatever activity they were  doing which was causing the problems. Pretty lame, right? We thought so  too. Cloud Linux changes the game, not only for the end user like  yourself but for us. <!--more--><\/p>\n<p>So enter Cloud Linux. CL creates a virtual environment for each  individual account on a shared server and allows us to limit the amount  of resources any single account can use. Gone are the days of a single  account taking up every single CPU on the machine because it wants to.  This brings a lot of benefits to the table for both you end users and us  as a host. We deal with less system level resource issues, there are  fewer service interruptions, and most importantly the speed of most  users sites go up as the machines aren\u2019t using as many resources. As an  end user, you also benefit from the lower server load and fewer  interruptions of service. You also get a nifty little display in your  cPanel (more on this later) which shows useful stats for your account.<\/p>\n<p><strong>Talk nerdy to me<\/strong><\/p>\n<p>Now you have a basic idea of what this fancy software does. If you\u2019re  content with knowing that it just works, carry on to the next section.  If you want some more info, stay tuned. Most of what we\u2019re going to  cover can be found at <a href=\"http:\/\/cloudlinux.com\/docs\/index.php\" target=\"_blank\">http:\/\/cloudlinux.com\/docs\/index.php<\/a> but we\u2019ll hit on it here.<\/p>\n<p>LVE \u2013 LVE, short for Lightweight Virtual Environment, is the driving  technology behind the CL methodology. LVE, developed exclusively by the  folks over at Cloud Linux, is a kernel level technology which handles  the isolation and resource monitoring that CL is able to provide. LVE  brings together technology provided by Apache modules and the Linux  kernel.\u00a0 More reading available here: <a href=\"http:\/\/cloudlinux.com\/docs\/workingwithlve.php\" target=\"_blank\">http:\/\/cloudlinux.com\/docs\/workingwithlve.php<\/a><\/p>\n<p>LVE and cPanel \/ WHM \u2013 CL has developed a plugin specifically for use  on cPanel \/ WHM based systems. Installed through yum (CentOS package  manager), the plugin allows you to view resource accurate up to the last  second, and also allows you to edit default and individual LVE limits.<\/p>\n<p>Installation \u2013 Installation is really quite simple for us at least  since we\u2019re using CentOS and cPanel. All you need to do is wget their  installation script, run the script and authenticate it against your  activation key. Since it is a new kernel, a reboot is required.<\/p>\n<p>Data Reporting \u2013 The CL kernel adds a few <em>proc<\/em> entries for  user usage statistics as a small set of command line tools to view &amp;  monitor usage. In addition to this the cPanel \/ WHM integration has  user based reporting which will log a history of CPU usage for an  account allowing for quick and efficient tracking of resource usage.<\/p>\n<p><strong>But wait! There must be some downside to this!<\/strong><\/p>\n<p>With anything in life, with the good comes the bad. Fortunately for  us (and you) though, those negatives only effect a small subset of  users. Well, who are these users? They\u2019re the ones who were causing  resource issues before. Thanks to CL these users are now limited with  the amount of resources they can consume. If they hit their CPU limit  the system won\u2019t allow them to use anymore resources and as a result  future processes that need CPU time will have to wait until others are  finished. As a result some users think CL causes slow machines &amp;  websites. The reality of course is that they were gaming the system  before and taking advantage of a server with no resource limits.<\/p>\n<p><strong>Wrapping up<\/strong><\/p>\n<p>While it is difficult to emphasize how awesome CL is in a 1,000 word  blog post, I think this gets the point across. Everybody benefits,  everyone is happier, and we are involved first hand in technology that  will be considered standard within a few years, if not sooner. We\u2019ve  been using Cloud Linux in production now for about 4 months and in that  time we\u2019ve seen the load average on all servers reduced by at least 50%.  All in all everyone is pleased with the decision, and the few  complaints we\u2019ve received have been from those users who are maxing out  their CPU quota. The CL staff have been super helpful and we\u2019ve even  developed a very strong working relationship with their lead developers  and CEO.<\/p>\n<p><em>Source: http:\/\/blog.hawkhost.com\/2011\/02\/28\/cloud-linux-101-what-is-cloud-linux\/<\/em><\/p>\n<p><strong> <\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anyone who keeps up with us knows that we\u2019ve moved all of our shared and reseller hosting servers over to Cloud Linux. Here I\u2019m going to go over what exactly Cloud Linux is, what it brings to the table, and some of the more technical aspects of it. So, what exactly is Cloud Linux? In\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.whplus.com\/blog\/2011\/03\/11\/what-is-cloud-linux.html\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-479","post","type-post","status-publish","format-standard","hentry","category-referensi"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/comments?post=479"}],"version-history":[{"count":4,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/479\/revisions"}],"predecessor-version":[{"id":482,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/479\/revisions\/482"}],"wp:attachment":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/media?parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/categories?post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/tags?post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}