Issues after upgrading from 2CPU to 4CPU license

#1
We are seeing server performance issues since upgrading from a 2CPU license to a 4CPU license. Does that sense to anyone? Could that upgrade cause issues. Secondly, can we downgrade back to a 2CPU license?

Thanks in advance.
 

mistwang

LiteSpeed Staff
#2
You can try a full stop/start .
service lsws stop
service lsws start

the SO_REUSEPORT socket feature may require a fresh start.
If with 2-CPU license, each lshttpd worker process was using more than 30% CPU, you could see performance improvement when upgrade to 4-CPU license. otherwise, you may not.

Yes, you can downgrade back to a 2CPU license.
 
#3
Thanks MISTWANG, but can having a 4-CPU license cause issues when a 2-CPU license doesn't cause issues? We are trying to troubleshoot problem and the license upgrade has been the only recent change to the server. The issues started the day of the upgrade.
 
#5
We think it's a load issue. We see a problem to a remote data server. The database connection is dropping in and out. We switched to a local database and see the same problem. We are running 5.4.2 (build 3). We switch to apache and we don't see the problem.
 

mistwang

LiteSpeed Staff
#6
the total number of DB connections is limited by mysql thread pool size, you need make sure it is high enough.
if PHP uses persistent connections, and there are a lot more PHP worker processes started, it may hit the limit.
check if Apache PHP is using persistent db connections or not, config LiteSpeed PHP to do the same, limit the nubmer of PHP worker process to a reasonable number. increase mysql thread pool if resource allow.
 
#7
Mistwang, this is a bit over our head as a web site owner, and our web hosts admit that LiteSpeed is not their specialty, with their current support better suited to Apache, but we've been impressed with the performance of LiteSpeed, other than what is hopefully just some configuration issues. Can you point us towards someone, or somewhere, that could examine our server configuration as a whole (php, mysql, apache, litespeed, etc) and provide feedback on what they find/recommend? We have emailed LiteSpeed sales regarding some adhoc LiteSpeed support, but never got a reply. What we nned is someone that can take a holistic look, not just a "LiteSpeed" look.
 

Pong

Administrator
Staff member
#8
Not sure how your ticket got lost but we did response every request sending through to our system and we don't have any pending one at the moment. maybe your email never reach us? The more reliable way is to login to our system and creates sales or technical support tickets.

For performance review, you can check our tips here https://docs.litespeedtech.com/lsws/improveperformance/ , or you can order hourly support to engage us for a review of your server https://store.litespeedtech.com/store/cart.php?gid=5
 
Top