Server cache for shared hosting?
Hi,
I use WHM/cPanel to manage my shared hosting clients from my dedicated server. One of my clients has requested some caching functionality to help improve the performance of their Wordpress website.
In this case they're using W3 Total Cache and complaining the only caching method available is Disk which wont provide much of a performance boost at all on non-SSD.
My question is: is it safe for me to install something like xCache and let clients use it? or it something I would generally manage? I'll be honest i've not worked with caching much in the past. What are the implications on the server? high memory usage? what about recommendation configurations phphandler->caching software?
Thanks :)
-
Hello :), I will suggest you please install FastCGI + XCache on your server. It will definitely increase your server performance. 0 -
Hello :), I will suggest you please install FastCGI + XCache on your server. It will definitely increase your server performance.
Thanks for the information, I will give it a go.0 -
Hello, You may also find the following document helpful: PHP Options - EasyApache 4 - cPanel Documentation Thanks!
I'm still on EA3 with CloudLinux, should I stick with XCache?0 -
I'm still on EA3 with CloudLinux, should I stick with XCache?
Yes, it's acceptable to use XCache with EasyApache 3. The corresponding documentation is found at: PHP Options - EasyApache - cPanel Documentation Thank you.0 -
Hello :), I will suggest you please install FastCGI + XCache on your server. It will definitely increase your server performance.
I am wondering if you can help me further. I switched to FastCGI and get Internal Server Error on all websites. I understand FastCGI needs configuring first so I edited /etc/httpd/conf/php.conf and put in some default values:MaxRequestsPerProcess 1000 FcgidMaxProcesses 200 FcgidProcessLifeTime 7200 MaxProcessCount 500 FcgidIOTimeout 400 FcgidIdleTimeout 600 FcgidIdleScanInterval 90 FcgidBusyTimeout 300 FcgidBusyScanInterval 80 ErrorScanInterval 3 ZombieScanInterval 3 DefaultMinClassProcessCount 0 DefaultMaxClassProcessCount 3 MaxRequestLen 20468982
This didn't work so I used the settings from information I found on CloudLinux blogFcgidMinProcessesPerClass 0 FcgidMaxProcessesPerClass 8 FcgidMaxProcesses 150 FcgidIdleTimeout 60 FcgidProcessLifeTime 120 FcgidIdleScanInterval 30
after restarting apache again nothing worked. Thanks0 -
Just a follow up I got it working again by running command: cagefsctl --force-update I am using the following settings as recommended from the CloudLinux blog: FcgidMinProcessesPerClass 0 FcgidMaxProcessesPerClass 14 FcgidMaxProcesses 300 FcgidIdleTimeout 60 FcgidIdleScanInterval 30 FcgidProcessLifeTime 120
This is stored in post_virtualhost_2.conf I am noticing memory usage is a little higher but server load lower.0 -
Just a follow up I got it working again by running command: cagefsctl --force-update
I'm happy to see it's now working. Thank you for updating us with the outcome.0
Please sign in to leave a comment.
Comments
8 comments