Prepare your perl scripts for upcoming cPanel 11.36

The cPanel recently announced that they will ship with a distribution of Perl 5.14.3. This version of Perl will be located inside the/usr/local/cpanel tree to avoid problems with the RPMs provided by the distro. While the installer will still require basic Perl, cPanel will no longer need /usr/bin/perl in order to function.

Based on specific needs cPanel recommend the following two options to change #!/usr/bin/perl at the beginning of your script:

1. If the script needs to function in all versions of cPanel (including versions where Perl 5.14 wasn’t provided), we recommend the following:

#!/bin/sh
eval ‘if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x — $0 ${1+”$@”}; else exec /usr/bin/perl -x $0 ${1+”$@”}; fi;’
if 0;
#!/usr/bin/perl

2. If the script needs to function only in 11.36 and later versions, you can simply change all of your scripts to point to the new version of Perl:

#!/usr/local/cpanel/3rdparty/bin/perl

Please take a note for further changes and prepare your perl scripts for upcoming cPanel version 11.36 to avoid any issues.

Posted in Uncategorized | Tagged , | Leave a comment

US Web Hosting Christmas Offer | 50% Off on Shared, Reseller, E-Commerce, VPS and 10% Off on Dedicated Servers

“At Christmas play and make good cheer, For Christmas comes but once a year“ said Thomas Tusser. So, this Christmas Season, we are offering the Biggest Discount of the year.

WebhostUS: Best US Web hosting provider is thrilled to announce Christmas Offer for its Shared, Reseller, VPS Hosting & Dedicated Servers. Sign up for any of our Shared, Reseller or VPS Hosting and get 50% Discount on the first invoice and Sign up for any of our Dedicated Server and get 10% Discount on the first invoice. To get 50% Off on Shared, Reseller and VPS Hosting, kindly use “XMAS50” Coupon Code and to get 10% Off on Dedicated Servers, use “XMAS10” Coupon Code.

If you Sign up for any of our Reseller Annual Plan, you would be getting Additional 12 Months Free and if you Sign up for any of our Reseller Biennial Plan, you would be getting Additional 24 Months Absolutely Free for Life! This is not a one-time offer but the Free Period will be added during each Renewal with the Price-Freeze.

Note: Two Offers cannot be combined on Reseller Hosting plans.

Shared Hosting starting from just $3.99 USD per month - Order Now
Reseller Hosting starting from just $22.99 per month - Order Now
E-commerce Hosting starting from just $129.99 per yearOrder Now
VPS Hosting starting from just $20.97 per month - Order Now
Dedicated Server starting from just $159.99 per month - Order Now
50% Discount Coupon Code - XMAS50
10% Discount Coupon Code –
XMAS10

Why Choose Webhost.US.Com?

  • Subsidiary of WebhostUK – A leading UK web hosting provider since 2004
  • Registered in England and Wales – Company No.: 06804234
  • VAT Registration No.: GB946132917
  • Instant Account Set-up
  • 24x7x365 days free lightening speed support through instant live chat and helpdesk.
  • Softaculous/Fantastico integrated with Cpanel
  • Free RVSkin for WHM/Cpanel
  • Free Geotrust Rapid SSL Certificate worth £30 per year (On E-commerce and Selected Reseller Plans)
  • Free Enom reseller account
  • Free WHMCS billing software (On Selected Reseller Plans)
  • Free Dedicated IPs (On E-commerce and Selected Reseller Plans)
  • Private White label Nameservers (Applicable on Reseller Plans)
  • Free Data Transfer (A Value added service)
  • Price-Freeze
  • 99.9% Uptime Guarantee
  • 30 Day Money-Back Guarantee (Applicable on Shared hosting and Reseller Hosting)

The Christmas Offer is valid till December 31st 2012. So what are you waiting for? Order now and get 50% Discount before the Offer gets over.

May the Spirit of Christmas bless you with the peace, all the happiness and success you deserve! Wish you Merry Christmas & Happy New Year from WebhostUS!

Many Thanks!
Contact: Webhost US
Live Chat: Chat with Sales Executive
Email: sales@webhost.us.com

Posted in Cloud Hosting News And Offers, Dedicated Server Hosting News And Offers, E-Commerce Hosting, Reseller Hosting News And Offers, Reseller Web Hosting, Shared Hosting News And Offers, UK Reseller Hosting, UK Web Hosting, US Reseller Hosting, US Web hosting, Web Hosting | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Webhost US Black Friday and Cyber Monday Sale| 50% Off on First Payment of Shared, Reseller and VPS Hosting

Webhost US: One of the Leading US Web hosting providers is thrilled to announce Black Friday & Cyber Monday Sale for its Shared, Reseller and VPS Hosting Plans. Sign up for any of our Shared, Reseller and VPS Hosting and get 50% Off on the First Payment. To get 50% Off, kindly use “BFNCMD50” Coupon Code and the discount will be applied.

Note: The offer is valid only for new clients.

Shared Hosting starting from just £14.99 per year - Order Now
Reseller Hosting starting from just £9.99 per month -
Order Now
E-commerce Hosting starting from just £69.99 per year -
Order Now
VPS Hosting starting from just £39.00 per month - Order Now
50% Discount on First Payment Coupon Code -
BFNCMD50

Why Choose Webhost US?

  • Subsidiary of WebhostUK – A leading UK web hosting provider since 2004
  • Registered in England and Wales – Company No.: 06804234
  • VAT Registration No.: GB946132917
  • Instant Account Set-up
  • 24x7x365 days free lightening speed support through instant live chat and helpdesk.
  • Softaculous/Fantastico integrated with Cpanel
  • Free RVSkin for WHM/Cpanel
  • Free Geotrust Rapid SSL Certificate worth £30 per year (On E-commerce and Selected Reseller Plans)
  • Free Enom reseller account
  • Free WHMCS billing software (On Selected Reseller Plans)
  • Free Dedicated IPs (On E-commerce and Selected Reseller Plans)
  • Private White label Nameservers (Applicable on Reseller Plans)
  • Free Data Transfer (A Value added service)
  • Price-Freeze
  • 99.9% Uptime Guarantee
  • 30 Day Money-Back Guarantee (Applicable for Shared hosting and Reseller Hosting)

The Black Friday and Cyber Monday Offer is valid till November 27th 2012. So what are you waiting for? Order now and get 50% Discount before the Offer gets over.

Many Thanks!

Contact: Webhost US
Live Chat:
Chat with Sales Executive
Email:
sales@webhost.us.com

Posted in E-Commerce Hosting, Reseller Web Hosting, Shared Hosting News And Offers, US Reseller Hosting, US Web hosting, VPS Hosting News And Offers | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Google’s new Apache module, mod_pagespeed !!!

Google recently announced a new Apache module, mod_pagespeed, whose only purpose is to get websites hosted on Apache web servers to load faster. On average, Google found that sites that had mod_pagespeed enabled served websites up to 50% faster than their un-endowed brethren.

mod_pagespeed in brief:
mod_pagespeed is basically an open-source module for Apache which does the task of optimizing the web-pages and its resources. Its an automated process and makes use of the filters for enhancment of web performance by re-writing the resources. Performance enhancement for Apache HTTP Server can easily be achieved using the module.

Multiple filters are included within this module that helps in optimizing JavaScript, HTML and CSS stylesheets. Moreover, even the images in the formats .jpeg and .png can be read by the filters. As a final result, users can find an improvement in the load time for webpages on a website.

How to install mod_pagespeed?

1. Determine the the version on the server by using the following command:
    uname -a
2. Download the latest version of mod_pagespeed from http://code.google.com/speed/page-speed/download.html
wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_x86_64.rpm
rpm -i mod-pagespeed-*.rpm
    rpm -ql mod-pagespeed-beta
    /etc/cron.daily/mod-pagespeed
    /etc/httpd/conf.d/pagespeed.conf
    /usr/lib64/httpd/modules/mod_pagespeed.so
    /var/www/mod_pagespeed/cache
    /var/www/mod_pagespeed/files

3. Restart apache using the below command

service httpd restart

How to Upgrade mod_pagespeed ?

To upgrade the mod_pagespeed module, you must download the latest version and make use of the command “yum localinstall mod-pagespeed-*.rpm” for  installing http://code.google.com/speed/page-speed/download.html

to upgrade mod_pagespeed use the below commands to upgrade the package :

    sudo yum update
    sudo /etc/init.d/httpd restart

How to install mod_pagespeed on cpanel server?
There is a feature request for mod_pagespeed here:

Posted in Uncategorized | Tagged , , , , , , , , , , , | Leave a comment

US Web Hosting Spooky Offer | Win BlackBerry9900, iPhone5, iPad2, Xbox360, Playstation3 | One Year Hosting Free and 10% Off on VPS and Dedicated Server!

Webhost.US.Com is back with the SPOOKIEST OFFER for this Halloween. We endeavor to offer money saving deals to the customers looking for reliable, secured and affordable web hosting. However, this time, we are not only giving discounts over our web hosting products but a LUCKY WINNER gets to choose a gift from iPhone5, iPad2, BlackBerry9900, Xbox360 and Playstation3.

The Spooky Offer

Halloween Offer

The Spooky Offer includes:

  • One (1) Year Hosting Free on Shared and Reseller Annual Plans
  • Two (2) Years Hosting Free on Shared and Reseller Biennial Plans.
  • 10% Recurring Discount on any of our Shared E-commerce Plans.
  • 10% Recurring Discount on any of our VPS Plans 
  • 10% Recurring Discount on any of our Dedicated Server Annual Plan
  • A Lucky Winner will be chosen through RANDOM.ORG who gets the privilege to PICK GIFT from iPhone5, iPad2, BlackBerry9900, Xbox360 and Playstation3.

The Spooky Offer is valid till November 30th 2012 and the Winner will be announced on December 1st 2012 on our Blog, Forum, Facebook and Twitter.

Terms and Conditions of the Offer:

  • Customer should be US or UK Resident to be eligible for the lucky draw.
  • Customer placing new order is only eligible for the lucky draw.

Shared Hosting starting from just $3.99 USD per month – Order Now

Reseller Hosting starting from just $22.99 per month – Order Now

E-commerce Hosting starting from just $129.99 per year – Order Now

VPS Hosting starting from just $20.97 per month – Order Now

Dedicated Server starting from just $159.99 per month – Order Now

  •  Free Period on Shared and Reseller Plan will be added manually after receiving order and payment.
  • 10% Recurring Discount Coupon Code: TRICKORTREAT

 Why Choose Webhost.US.Com?

  • 24x7x365 days Free real-time support through instant live chat and helpdesk.
  • Instant Account Set-up
  • Free Data Transfer
  • Free RVSkin for WHM/Cpanel
  • Softaculous/Fantastico integrated with Cpanel
  • Free WHMCS billing software (On Selected Reseller Plans)
  • Free Dedicated IPs (On E-commerce and Selected Reseller Plans)
  • Free Enom reseller account
  • Free Geotrust Rapid SSL Certificate worth $30 per year (On E-commerce and Selected Reseller Plans)
  • Private White label Nameservers
  • Price-Freeze
  • 99.99% Uptime Guarantee
  • 30 Day Money-Back Guarantee (Applicable for Shared hosting and Reseller Hosting)

The Spooky offer ends on November 30th 2012. So hurry up and grab the opportunity, you could be the Lucky Winner! Happy Trick or Treat!!!!

Many Thanks!
Contact : Webhost US
Live Chat : Chat with Sales Executive
Email : sales@webhost.us.com

Posted in E-Commerce Hosting, Reseller Web Hosting, US Reseller Hosting, US Web hosting, Web Hosting | Tagged , , , , , , , , , , , , , | Leave a comment

Hostgator Eaten Up By The Competition Perhaps?

Hostgator, a leading web hosting company which went for 10 years by the catch phrase “We Eat Up The Competition” looks like has been “Eaten Up by The Competition.” Hostgator is renown as Best US Webhosting Company for it’s quality support. The (EIG) is about to acquire Hostgator news had spread like virus all over the internet since past few months. However, it has turned out to be true, Hostgator has been acquired by (EIG) Endurance International Group for $225 Million Dollars and this has been confirmed by CEO of Hostgator Mr. Brent Oxley in a recent internal e-mail. Like every Hosting company and consumers, even Webhost.US.com was taken by surprise. Brent is an inspirational entrepreneur as Hostgator grew rapidly after its launch in 2002 and we are sure that he might have given serious thought on the sell-out. Well, $225 Millions sounds a pretty good deal for him but the ground is shrinking beneath the feet of Hostgator customers.

Hostgator Acquired by EIG

Hostgator Sold

 

Possible Changes in Hostgator?

Out of curiosity about the deal, we tried to gather much information through few sources and online forums regarding the sell-out and the deal made between EIG and Hostgator. But it seems there isn’t much reliable information yet that confirms if Hostgator management would change or there would be Data Center Migration. As per our sources and online forums , many customers have already canceled their hosting accounts with Hostgator and have moved to another hosting providers. Maybe these customers are very well aware of the issues during Data Center migration and would like to avoid those chances. AS per Brent’s official internal email, the Houston and Austin property would still be under his name which means EIG would possibly migrate the Data Center. Hostgator provides popular and familiar hosting control panel Cpanel and Plesk whereas EIG provides their custom control panel known as Vdeck. So, the question still remains if EIG would migrate all Hostgator clients on Servers with VDeck? As per sources and online communities, hosting prices are likely to increase too. Many Experts, Hosting Gurus and Hostgator consumers have expressed concerns if Hostgator’s quality would degrade.

Possible Technical Difficulties During Data Center Migration Can be:

If EIG decides to migrate Hostgator clients hosting account on Servers installed with VDeck control panel, it would be a manual migration and not image restoration. When it comes to manual migration, every file has to be migrated individually due to which there can be compatibilty issues between old server and and new server. This issue can happen during Plesk to Plesk migration as there is no automated data migration option in Plesk like Cpanel. Also, if there is a difference in Plesk Control panel version, complete data has to be migrated manually.

Another possible issue is downtime due to DNS configuration file and IP confliction. If EIG would migrate the Hostgator servers to different data center, Server IP’s will definitely change. When the data is not migrated properly, OLD IP entires will reflect on the new server and IP’s will conflict resulting downtime. It becomes difficult for technical team to audit all files after migration as each Shared Server has 300+ domains hosted. To solve this issue. It can take weeks as it would persist with most of the accounts hosted on the server.

Precautions to be taken by Hostgator Consumers:

There is a possibility to loose data during backup and migration process. It is strictly recommended for Hostgator consumers to take the data backup everyday on their local machine to be at safer side. What If one day you wake up and find email in your inbox stating that “We are sorry for the inconvenience, currently we are having downtime as the servers being migrated to a new Data Center facility?

Caution for Hostgator Users if Finding Alternative:

EIG owns 30+ hosting companies and their marketing team is already promoting their other hosting companies as alternatives on forums. Please check hosting companies from the following list if belongs to EIG before choosing alternate. Following are the companies owned by EIG :

Hostgator Sold
Hostgator Refugee
  • iPowerWeb
  • AccountSupport
  • BizLand
  • BizHostNet
  • BlueDomino
  • BlueHost
  • Dot5
  • DomainHost
  • EasyCGI
  • eHost 
  • EntryHost
  • FastDomain
  • FatCow
  • FreeYellow
  • HostCentric
  • HostClear
  • HostYourSite
  • HyperMart
  • HostMonster
  • ImOutDoors
  • iPowerWeb
  • iPage
  • JustHost
  • NetFirms
  • NetWorksHosting
  • PowWeb
  • PureHost
  • ReadyHost
  • Startlogic
  • SuperGreen Hosting
  • USAnetHosting
  • VirtualAve
  • Xeran

If you are really considering to move to another hosting provider and are in search of reliable hosting company, you can consider Webhost.US.com, a subsidiary launched by Webhost.Uk.Net to establish their market in US after their success in UK Web-hosting market. WebhostUS is operated by it’s parent company Webhost.Uk.Net based in London. WebhostUK limited , a leading UK based Web hosting provider has been in the business for more than 6 years and is the fastest growing Web hosting provider in United Kingdom. We have been in the business since 2004 and continue to lead the industry. To minimize the stress to search a new hosting provider, we are going to make it easier for Hostgator Refugee by giving them flat 30% Recurring Discount on our Shared, Reseller or VPS Hosting plans. Now, we understand the stress of data migration a client would have while switching hosting provider, but rest assured as our skilled technicians will migrate the complete data (WHM/Cpanel account) Free of cost within a short period of time. To get this offer, use “HGREFUGEE30″ Coupon code and contact us to get the data migrated. We will be more than glad to assist you.

Posted in UK Web Hosting, Uncategorized, US Reseller Hosting, US Web hosting, VPS Hosting News And Offers, Web Hosting, WordPress News And Updates | Tagged , , , , , , , , , , , | Leave a comment

WordPress pages shows blank pages

If your WordPress blog is not responding or stalling, this most likely results from a corrupted plugin or theme. When loading the blog in your browser, it will continuously load until it times out, or load with a blank page.

Database Issue

If you are using WordPress 3.1.x, incorrect information in your wp-config.php file can cause a white page to appear. If the MySQL username or MySQL password in this file are incorrect, a white page will appear. In previous versions of WordPress this would appear as a “Error establishing a database connection” message, but that is no longer the case with version 3.1.x.

To fix this issue you must create a new MySQL user and update the wp-config.php file to have the new MySQL username and MySQL Password. Simply locate the following information in that file, and update the bold sections with your new information:

/** MySQL database username */
define(‘DB_USER’, ‘user_wp1′);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘password’);

Plugins Issue

You can easily determine if it is a plugin causing the issue by disabling the plugins temporarily. When a plugin is the issue, it is unlikely you will be able to access to the WordPress Admin Dashboard to disable the plugin. The Dashboard can be access by going to your WordPress blog and adding /wp-admin/ onto the end of the URL.

You can determine if it is a plugin issue by simply renaming the directory that stores the plugins. Inside of the /wp-content/ directory, rename the subdirectory /plugins/ to /plugins-bak/. Note this will disable all of your plugins, but it will allow you to access your WordPress.

Alternatively, to disable a specific plugin, you can look under the /wp-content/plugins/ directory of your WordPress installation. Inside of this directory you will see a listing of all of the plugins. You can remove or rename the new plugins directory to deactivate it. Each plugin will have a directory associated with it. You can go down the list and disable a plugin by renaming the directory for that plugin. An example of this would be if you had a plugin directory of /headerplugin/, it could be renamed to /headerplugin-bak/. If your WordPress loads after renaming it, it is likely that specific plugin that is causing the issue.

Themes Issue

If it is not a plugin issue, it may be a theme related issue. If you have access to the WordPress Admin Dashboard, it is recommended to simply log in and change which theme is your default theme. Though some issues can cause you to lose access the WordPress Admin Dashboard. In order to change the theme in this case, you must access the database directly using phpMyAdmin. To determine which database the WordPress is configured to, you would look inside the wp-config.php file to the line: define(‘DB_NAME’, ‘user_wrdp1′);

Once inside of the database, you will need to select the wp_options table from the list.
Inside of this table you will see a list of rows. These rows hold all of the configuration information for your WordPress. Such as the settings to limit number of posts per page, enable comments, etc. The rows we are looking for are template and stylesheet. To edit a row, you simply click on the pencil icon next to the row.

For WordPress 2.9.x and below, you will then replace the option_value for each of these rows to the word default. This will force the default theme to load instead of the custom theme.

For WordPress 3.0.x and above, you will then replace the option_value for each of these rows to the word twentyten. This will force the new 3.0 default theme to load instead of the custom theme.

If you still have problems, please contact us live chat, or email support@webhost.us.com so we can check for hanging processes.

Posted in Uncategorized | Leave a comment

WebHostUS – offering 4th of July Independence Day – 25% Off on all Webhosting – Shared | Reseller | VPS

On the occasion of US Independence DayWebHostUS, the leading web hosting solutions providing company is offering 25% discount on first payment on Shared hosting, Reseller Hosting and VPS Hosting. If you have not heard about WebHostUS, it is the one of the best web hosting solution provider which offers great features and value for money. With the 25% discount offer, it has become even better.

If you are using some other web hosting provider and would like to transfer over to WebHostUS, you have even more reasons to do so. It offers Free File Transfer, Free Database Transfer and Free Script / Application Transfers.

In order to help you with your decision-making, here is a very brief list of the features offered by WebHostUS.

  1. Unlimited Sub Domains / Addon Domain / Parked Domain, FTP Accounts, and Email Accounts
  2. 99.9% Uptime Guarantee
  3. 30 Day Money Back Guarantee
  4. Free Website Data Transfer, MySQL Transfer, Script / Application Transfer
  5. Latest cPanel Control Panel
  6. Website Statistics: AWStats, Webalizer, Raw Log Manager, Referrer and Error Logs
  7. Softaculous: Instant Shopping Carts, Blogs, Portals, Forums, Counters, Formmail
  8. Unlimited MySQL Databases with phpMyAdmin Access
  9. 24/7/365 Server Monitoring

This is a never miss out opportunity and I would strongly recommend you to capitalize this opportunity and to book your web hosting account with WebHostUS @ 25% discount on first payment use Coupon Code – Ind25

Posted in b2Evolution News And Updates, Cloud Hosting News And Offers, Cpanel News And Updates, Domain Registration, Domain Transfers, Drupal News And Updates, E-Commerce Hosting, Helm News And Updates, Joomla News And Updates, Magento News And Updates, MODx News And Updates, Moodle News And Updates, OpenX News And Updates, osTicket News And Updates, PHP Fusion News And Updates, phpBB News And Updates, Plesk Linux News And Updates, Plesk Windows News And Updates, Reseller Hosting News And Offers, Reseller Web Hosting, Shared Hosting News And Offers, SMF News And Updates, TextPattern News And Updates, UK Reseller Hosting, UK Web Hosting, Uncategorized, US Reseller Hosting, US Web hosting, Vanilla News And Updates, vBulletin News And Updates, VPS Hosting News And Offers, Web developer, Web Hosting, Wiki News And Updates, WordPress News And Updates | Leave a comment

Working with LVE

LVE is a kernel level technology developed by the CloudLinux team. The technology has common roots with container based virtualization. Yet, it is lightweight, and transparent. The goal of LVE is to make sure that no single web site can bring down your web server.

Today, a single site can consume all CPU, IO, Memory resources or apache processes — and bring the server to the halt.  LVE prevents that.  It is done via collaboration of apache modules and kernel.

mod_hostinglimits is apache module that:
Detects VirtualHost from which the request came. Detects if it was meant for cgi or PHP script. Switches apache process used to serve that request into LVE for the user determined via SuexecUserGroup for that virtual host. Lets apache to serve the request. Removes apache process from user’s LVE.

The kernel makes sure that all LVEs get fair share of the server’s resources. This means, for example, that 20 apache processes serving a heavy site will use the same amount of CPU as one apache process serving a smaller site.

Today we can limit CPU, Memory and number of entry processes. We plan to expand this technology to include IO (coming soon)

Each LVE limits amount of entry processes (Apache processes entering into LVE) to prevent single site exhausting all apache processes. If the limit is reached — mod_hostinglimits will not be able to place apache process into LVE, and will return error code 503 (error code we selected, so that it wouldn’t interfere with any other error codes). This way very heavy site would slow down and start returning 503 errors, without affecting other users.

Checking if LVE is installed

To use LVE you have to have CloudLinux kernel installed, and LVE module loaded
you can check the kernel by running the following command:

uname -r

You should see something like 2.6.18-294.8.1.el5.lve0.8.60 The kernel should have lve in its name. To see if lve kernel module is loaded do

# lsmod|grep lve
lve                    46496  0

 You can toggle LVE on/ff by editing

/etc/sysconfig/lve and setting LVE_ENABLE variable to yes or no.
Setting it to yes will enable LVE, setting it to no will disable LVE.
You need to reboot the server, after you set this option to make the changes live

 Values set in /etc/container/ve.cfg are used by default when processes are running within LVE. After editing/etc/container/ve.cfg run the  following command:

# /etc/init.d/lvectl reload

Alternatively you can use lvectl command

# lvectl set default –cpu=25 –save

Example:

<lveconfig>
  <defaults>
    <cpu limit="25"/>
    <io limit="100"/>
    <mem limit="262144"/>
    <ncpu limit="1"/>
    <other maxEntryProcs="10"/>
  </defaults>
  <lve id="532"> 
    <cpu limit="30"/> 
  </lve>
</lveconfig>

Sets CPU limit to 25%, IO limit to 100% (place holder), memory limit to 1GB (memory limit is set as a number of 4096 bytes pages), CPU cores per LVE to 1, and maximum entry processes to 10 for all LVEs. It also sets the limit of 30% for LVE with ID 532

CPU Limits explained

CloudLinux allows to set % of CPU being used relative to total number of CPU cores available on the server. This means that 5% setting on 8 core server will be 40% of single core allocated for LVE. On 4 core server 5% would mean 20% of single core.
In addition to CPU limits each LVE is limited by number of cores that it can use. The default is set to 1. There is a small overhead related to number of sites * number of cores per site. So, a server with 32 cores and 5,000 sites will have a lot of overhead. Yet, setting just one core per LVE reduces that overhead by 32. In most cases, one core per LVE should be enough.
The number of cores settings takes precedence. For example if you have 25% CPU limit, 1 core per LVE, and 8 core server — each LVE will be limited by 100/8 =~ 12%, instead of 25% CPU, as at most one core will be used by each LVE (1 core on 8 core server ~= 12% of total CPU capacity)
Note: Changing the number of cores allowed for existing LVE requires reboot. 

Example:

# lvectl set 600 --cpu=60

Adjust CPU limit for LVE id 600 to 70%

You can see a list of LVEs with their usage and limits by doing cat /proc/lve/list

One of the best way to monitor current usage is lvetop

# lvetop
           ID     EP    PNO    TNO    CPU    MEM    I/O
           test    1      2	 2     2%    728      0
[root@localhost tests]# cat /proc/lve/list 
4:LVE	EP	lCPU	lIO	CPU	MEM	IO	lMEM	lEP	nCPU	fMEM	fEP
0	0	75	25	0	0	0	262144	20	2	0	0
500	0	75	25	0	0	0	4294967 20	3	2	1	
700	1	75	25	1403247	202	0	262144	20	2	0	0

Additionally you can use tool lveps to see CPU usage, and processes within LVE

usage: lveps [OPTIONS]

-p to print per-process/per-thread statistics
-n to print LVE ID istead of username
-o to use formatted output (fmt=id,ep,pid,tid,cpu,mem,io)
-d to show dynamic cpu usage instead of total cpu usage
-c to calculate average cpu usage for <time> seconds (used with -d)
-r to run under realtime priority for more accuracy (needs privileges)
-s to sort LVEs in output (cpu, process, thread)
-t to run in the top-mode
-h to print this brief help message

[root@localhost tests]# lveps
             ID     EP    PNO    TNO    CPU    MEM    I/O
           test      1      2      2      0    792      0
The CPU field shows amount of CPU used by all the threads within LVE in jiffies, since last restart of the system.
[root@localhost tests]# lveps -p
             ID     EP    PNO    PID    TNO    TID    CPU    MEM    I/O
           test      1      2    ---      2    ---    444    792      0
                   ---    ---   8906    ---   8906    440    216    N/A
                   ---    ---   8905    ---   8905      4     68    N/A

Collecting LVE usage statistics

All the LVE statistics info can be collected by monitoring /proc/lve/list
LVE — LVE id (will match user id in many cases)
EP — number of entry processes
CPU — CPU usage, in ticks
MEM — memory usage, in 4096 bytes pages
IO — IO usage, place holder
nCPU — number of cores allocated for this LVE
fMEM — number of failures, when program within LVE tried to allocate more memory then LVE was allowed to have
fEP — number of failures when process couldn’t enter LVE due to too many entry processes already in LVE
This should be an easy way to find out which users are often affected by maxEntryProcs and get 503 errors just by looking at this counters.

CloudLinux comes standard with the module mod_hostinglimits that puts apache processes into LVEs. For more information on this module see: mod_hostinglimits config info Disabling that module should disable LVE on for apache.

CloudLinux packages modified version of mod_fcgid, that supports LVE. More info here: FastCGI

Posted in Cloud Hosting News And Offers, Cpanel News And Updates, Domain Registration, E-Commerce Hosting, US Reseller Hosting, US Web hosting, Web developer, Web Hosting, WordPress News And Updates | Leave a comment

Installing CloudLinux

Installing CloudLinux from an ISO

ALERT! Warning: You must obtain a CloudLinux license before installing the ISO. You can get the license from your provider, or from the cPanel Store.

To install CloudLinux from an ISO:

  1. Select the chip architecture your server will use and click the corresponding link at http://www.cloudlinux.com/downloads/.
  2. Download and install the ISO.
  3. Boot from the ISO and follow the on-screen instructions.
  4. From the command line, run these commands:
    • /usr/sbin/clnreg_ks
    • yum update

note Note: For information about removing CloudLinux from your system, see the CloudLinux website.

Converting CentOS 5.x or 6.x to CloudLinux (without cPanel & WHM installed)

If you wish to convert from CentOS 5.x or 6.x to CloudLinux, and have not yet installed cPanel & WHM:

  1. Purchase a CloudLinux license from your provider, or from the cPanel Store.
  2. Connect to your server via SSH as root, and run the command wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cpanel2cl
  3. If you own:
    • An IP-based CloudLinux license, run the command sh cpanel2cl -k
    • A CloudLinux license key, run the command sh cpanel2cl -k $key
    • Replace $key with your license key.

Converting CentOS 5.x or 6.x to CloudLinux (with cPanel & WHM installed)

If you wish to convert from CentOS 5.x or 6.x to CloudLinux, have already installed cPanel & WHM, and own an IP-based CloudLinux license, run these commands:

  1. /usr/local/cpanel/cpkeyclt
  2. /usr/local/cpanel/bin/cloudlinux_system_install -k
  3. reboot
  4. /usr/local/cpanel/scripts/easyapache --build

If you wish to convert from CentOS 5.x or 6.x to CloudLinux, have already installed cPanel & WHM, and own a CloudLinux license key, run these commands:

  1. wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cpanel2cl
  2. sh cpanel2cl -k $key
    • Replace $key with your license key.
  3. reboot
  4. /scripts/easyapache --build
Posted in Cloud Hosting News And Offers, Cpanel News And Updates, E-Commerce Hosting, UK Reseller Hosting, UK Web Hosting, US Reseller Hosting, US Web hosting, Web developer, Web Hosting, WordPress News And Updates | Leave a comment