Knowledgebase

Portal Home > Knowledgebase > Articles Database > Considering Adding Varnish the cPanel


Considering Adding Varnish the cPanel




Posted by BitronicTech-Bryan, 01-18-2014, 05:04 PM
I presently run a bunch of cPanel server on PHP-FCGI/Apache. I am happy with the speed but I want to give my clients the fastest load time possible. I was wondering if anybody has experience with the Varnish for cPanel plugin by Unixy and if so, has anybody implemented it in a production environment?

Posted by iexo, 01-18-2014, 05:17 PM
Yes, we've used it in production for a long time and with FCGI the speed is incredible - considerably better average response times than LiteSpeed and of course more secure.

Posted by GreenHostBox - John, 01-18-2014, 05:26 PM
Varnish is very good in production environment. There is also Unixy's Varnish Nginx cPanel plugin for the best speed: http://www.unixy.net/advanced-hostin...-nginx-cpanel/

Posted by Server Management, 01-18-2014, 05:52 PM
We use it along side Litespeed and it's working well for us. Here's some stats:

Posted by BitronicTech-Bryan, 01-18-2014, 05:56 PM
John I was asking about exactly that plugin. I'm setting up a new test node with CloudLinux and cPanel. I'm looking at reworking my shared hosting stack a bit. @Home Thanks for that. I just wanted to know that it works before I buy.

Posted by Server Management, 01-18-2014, 06:03 PM
It's working well we've only gave it 1GB Ram and it's using less than half of that. We love Ram caching it's faster than serving from drives and really does make a difference.

Posted by BitronicTech-Bryan, 01-18-2014, 07:13 PM
Nice to know. I'm setting up a test node for it now. Never deploy a software you haven't used on production server. Lol

Posted by HiveNode, 01-18-2014, 07:35 PM
I use Unixy and Cloudlinux on our servers. Works perfect.

Posted by BitronicTech-Bryan, 01-18-2014, 07:38 PM
Yeah HiveNode, your posts elsewhere were got got me thinking about this. Howver some of my older VMs are still running cPanel and CentOS 5.4. Those 3 are the ones I want to move first. However I'm not sure if the automatic conversion to CloudLinux will play nicely as the are Xen PV VMs. I also see that of course my CentOS 6.5 up to date boxes run much better. So you think CloudLinux is worth the monthly and so is Unixy correct?

Posted by Server Management, 01-18-2014, 07:52 PM
QUOTE=Bitronictech;8986081So you think CloudLinux is worth the monthly [/QUOTE] With the price there charging it's a no brainer and really good value for money in my opinion.

Posted by HiveNode, 01-18-2014, 08:29 PM
My boxes used to run 6.4 until they we're upgraded to 6.5. From my understanding it works with pv but contact Cloudlinux to confirm. They have amazing support. Cloudlinux is good at preventing a clients site from taking over the whole server. Such as a script that won't end. Each client has their own allocated resources (Cpu, ram, and i/o) and if they go over it disables their site not the whole server. Plus it has added security, php selector, and more. I feel they are completely worth it. Cloudlinux is monthly and Unixy is quarterly.

Posted by BitronicTech-Bryan, 01-18-2014, 08:34 PM
No I mean the 3 really old ones are running 5.4 I can really only upgrade them to 5.9. I decided to migrate those customers. So I am trying to hash out an improved software stack for them. Thanks for all of the good advice. The rest of my nodes run CentOS 6.5 for the record

Posted by HiveNode, 01-18-2014, 09:16 PM
Oh misread. I know Cloudlinux support 5.x because they still release hybrid kernel updates for it. I would shoot them a message and they will be able to tell you if you'll miss any features.

Posted by BitronicTech-Bryan, 01-18-2014, 09:27 PM
I prefer to start fresh anyway. Those VMs have been around for 3 years or so now, and migrated across physical systems. I'm sure the file-systems aren't completely sane on them. Anyway I installed CloudLinux on a new VM on one of my SSD boxes. Weird thing is I see a load of 1 with 0 websites on cPanel.

Posted by Julien@Hostabulous, 01-18-2014, 09:42 PM
So you are running Varnish in front of LiteSpeed, guess you dont have LiteSpeed cache enabled? Performance wise is it much better? Im really interested in this setup. PM me if you prefer, thanks

Posted by BitronicTech-Bryan, 01-18-2014, 10:05 PM
Another thing, it looks like Unixy Nginx+Varnish is not compatible with the AppConfig feature in cPanel. Does anybody have a working AppConfig file for it?

Posted by ddrhost, 01-27-2014, 12:42 PM
My problem is with the cache in some online shops. Even setting for varnish skip the shopping cart, it always clears all items. Apart from that, the operation is perfect!



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

Contact us