Jump to content


How to reduce high CPU/Memory.



11 replies to this topic

#1 princechrisvic

    Member

  • Members
  • PipPip
  • 16 posts

Posted 11 October 2019 - 09:39 AM

We noticed that Livezilla consumes a lot of CPU which makes the site to slow down. My question is, how do we reduce the high CPU usage?


Our server on Digital Ocean has this information

CPU TYPE : Dedicated CPU
VCPUs : 16vCPs
Memory: 32GB
SSD: 200GB
Transfer: 7TB

Attached Thumbnails

  • Attached Image: QQ20191011-103755@2x.png


#2 Patrick Keil

    Administrator

  • Administrators
  • 3866 posts
  • LocationSingen, Germany

Posted 11 October 2019 - 11:47 AM

Hi,

Quote

My question is, how do we reduce the high CPU usage?

This article lists different ways to improve performance:

https://chat.livezil...la-performance/

Cheers

#3 Marcio Robson de Souza

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 11 October 2019 - 12:13 PM

Hello,
I have the same problem.
I have done all the checks being oriented at https: //chat.livezil...la-performance/ but nothing solves it.
I verified that the problem is here: //home/ibrsistemas/www/suporte/server.php because on my server appears thousands of requests coming from this file, but I don't know what to do to solve. Can anyone help me? I have everything standing here .. A message of SYNCHRONIZING DATA appears and locks everything!

#4 Marcio Robson de Souza

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 11 October 2019 - 01:51 PM

Hello,

I have done all the checks being oriented at https: //chat.livezil...la-performance/ but nothing solves it.
I verified that the problem is here: //home/ibrsistemas/www/suporte/server.php because on my server appears thousands of requests coming from this file, but I don't know what to do to solve.

I have everything standing here .. A message of SYNCHRONIZING DATA appears and locks everything!

I have a very small volume of users on the platform, and also a few chat visitors per day, but see in the attached connection chart how many connections are open!

Server processing is too high, and several requests are not made, as per the attached report and circled in red.

Can anyone help me?

Attached Thumbnails

  • Attached Image: 2019-10-11.png
  • Attached Image: 2019-10-11 (1).png
  • Attached Image: 2019-10-11 (2).png
  • Attached Image: jkddgpbdfjjdjmen.png
  • Attached Image: ljopbpnegeefoplf.png
  • Attached Image: lfcmeipdjbbdbeic.png
  • Attached Image: 2019-10-11 (3).png


#5 princechrisvic

    Member

  • Members
  • PipPip
  • 16 posts

Posted 12 October 2019 - 10:40 AM

View PostPatrick Keil, on 11 October 2019 - 11:47 AM, said:

Hi,



This article lists different ways to improve performance:

https://chat.livezil...la-performance/

Cheers
Marcio Robson de Souza is right.

I have followed the instructions on that page hoping that things will be better but was suprised to see that it didn't resolve any thing. This issue caused too many complains from customers. It is affecting business seriously.

At the moment, we are paying $320 per month on Digital Ocean and everything was working fine. The moment we install Livezilla, it consumed all CPU. Please is there no way to sort this thing out?

Livezilla is a great app but with this issue, it is very very difficult for sites with high traffic to run it smoothly. Please what is the way out?



Look at the current graph

Attached Thumbnails

  • Attached Image: QQ20191012-111513@2x.png


#6 princechrisvic

    Member

  • Members
  • PipPip
  • 16 posts

Posted 14 October 2019 - 11:29 AM

You are right. I have complained in another thread but it seems none of the admins are replying again. The CPU usage brought down our site down.
At the moment, here is what we did.
We created a different website for our livechat and then assign a single Droplet (DIGITAL OCEAN) drop let to it.

At first we started with $5 per month Droplet on Digital Ocean but from the graph below, you can see that the $5 per month did not work because the LiveZilla CPU consumption was reading 100%. The made us to resize to Dedicated CPU ( the below grap has it).

Our current Dedictated CPU seems enough for Livezilla CPU at the moment. From the graph, you will see that it is now between 45 to 50% CPU consumption. Now work is back to normal. Here is what I learnt from method we are using now.

1.) Assigning a different droplet to Livezilla will make sure that it does not affect our site. Even if Livezilla CPU increases, the site will still be functioning.
2.) In a case where Livezilla CPU increases, we can resize Droplet size to match the increase which means Livezilla will always perform well.

Although using this method, we were able to solve the issue, but unfortunately it means we will be paying $80 per month to digital ocean for the droplet.

For now, everything seems to be working

Attached Thumbnails

  • Attached Image: WX20191014-114933@2x.png
  • Attached Image: WX20191014-115153@2x.png


#7 Patrick Keil

    Administrator

  • Administrators
  • 3866 posts
  • LocationSingen, Germany

Posted 15 October 2019 - 11:18 AM

Hi,

Different ways to reduce server load are mentioned here:

https://chat.livezil...lla-performance

Please keep in mind that LiveZilla is a php/mysql based real-time chat and monitoring application. Using such an application with a decent amout of users doesn't come for free.

Cheers.

#8 Marcio Robson de Souza

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 15 October 2019 - 12:23 PM

Hello Administrator!
I only use 10 users !!!! And it's locking all the time !!!! If I've been using 30 or 40 users, I would understand your explanation, but certainly not my case !!!
Analyzing the application, there are more than 10,000 requests/sec from ./server.php !!! Certainly something is wrong, because until a few months ago this did not occur !!! I am deeply disappointed with the Livezilla team, as I am a former customer, I paid for the product and I can no longer use it .. Really very disappointing the service and concern for their customers.

#9 Marcio Robson de Souza

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 15 October 2019 - 12:27 PM

I did everything indicated in this link https: //chat.livezil...lla-performance but it didn't solve the problem
I did everything indicated in this link https: //chat.livezil...lla-performance but it didn't solve the problem

#10 Doc-Time

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 25 October 2019 - 11:38 AM

Same issue on my side with high CPU usage from livezilla - It's crazy!!!

Did someone find a way around this?

#11 Doc-Time

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 25 October 2019 - 11:47 AM

View PostMarcio Robson de Souza, on 15 October 2019 - 12:27 PM, said:

I did everything indicated in this link https: //chat.livezil...lla-performance but it didn't solve the problem
I did everything indicated in this link https: //chat.livezil...lla-performance but it didn't solve the problem




My webserver (Siteground) have also noticed that the server.php script which is causing the most CPU usage on my account, and is also loading slowly on my website, is in fact coming from LiveZilla:

https://www.doctor-t...709543768713758

@Livezilla Support: Please help us!!!

Many thanks in advance!

#12 Patrick Keil

    Administrator

  • Administrators
  • 3866 posts
  • LocationSingen, Germany

Posted 28 October 2019 - 09:23 AM

Hi,

Thanks for bringing this to our attention.

Keep in mind that LiveZilla is not a managed or hosted service. Based on the limited details provided, it's impossible for us to understand or explain the highly individual issues you are facing. It's completely unclear if this is a problem with your configuration, your integration, your scenario or something else. This can even be a DOS attack.

If you need help, please isolate the issue to a point where it becomes reproducible.

Also, please make sure that your installation is up-to-date with the latest updates installed to exclude side effects of already fixed bugs.

Thanks.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users