Portal Home > Knowledgebase > Articles Database > Production Shared Server Handler
Production Shared Server Handler
Posted by Dilstar, 07-31-2015, 04:28 AM |
I am used to and perfect with SUPHP, but always whenever i create server over it, i am start facing cpu usage issues when i reach 100+ cpanels and websites. what do you prefer for me, i dont like DSO due to security concern, and it is also not prefered for large number of sites in cPanel.
i am thinking about fastcgi first time. let me know should i create new big vps with it ?
thanks
|
Posted by ishan, 07-31-2015, 06:21 AM |
What is the cause of the high CPU usage ? Is it actually the CPU or Disk IOWAIT ?
Which Apache version and MPM are you using ?
We have cPanel servers (with SuPHP) with 1000+ cpanel accounts with CPU load in 1-2 range. However, we use SSDs in RAID which keeps IOWAIT below 1%.
|
Posted by Dilstar, 07-31-2015, 07:28 AM |
MPM Prefork is showing in easyapache.
|
Posted by ishan, 07-31-2015, 08:08 AM |
If you are running out of memory, you can switch to MPM Worker. It will also reduce the load.
Or you can use Apache 2.4 + MPM Event.
|
Posted by Dilstar, 07-31-2015, 08:38 AM |
lot of memory in the vps but CPU usage is high, around 10-12 GB ram.
|
Posted by net, 07-31-2015, 08:39 AM |
Fastcgi is good for shared hosting. You just need to optimize it properly.
|
Posted by ServerHedge, 08-04-2015, 08:12 AM |
Yes, I agree with this. FastCGI improves performance.
|
Posted by redenflu, 08-04-2015, 10:37 AM |
Your server has little processor and memory?
|
Posted by gnusys, 08-04-2015, 12:24 PM |
SuPHP is PHP working as CGI (with some security icing on the top) . So its slow and every request loads up the PHP binary .It doesnt support OpCode caching like APC/Zend OpCache etc . The solution for this in the modern world is FastCGI .
PHP-FPM has been in php core for a long time now and is a very mature solution .
You or anyone should be using A fast webserver ( nginX or apache) ,php-fpm and an OpCode cache (like OpCache) for deploying a PHP webapp .
Any other solution right now is pretty outdated.
Good luck on your search !
|
Posted by Srv24x7, 08-05-2015, 01:42 AM |
Hi,
For a faster performance, you may need to have help of caching mechanism and with suPHP, this cache mechanism just may not work as you expect, but it surely will work with FCGI.
|
Posted by prashant1979, 08-09-2015, 01:28 PM |
If you have money to spend, go for Litespeed. Litespeed is faster than Apache and it's lsphp is way better than all other PHP engines.
|
Add to Favourites Print this Article
Also Read
Cobalt Expo (Views: 711)