0

I have a server with KVM libvirt and OVS. Debian 8.6.

I am currently running 2 web servers with installed nginx+php5-fpm on VM . HAProxy is used to balance requests and installed on KVM virtual machine. PHP sessions are stored on memcached on another VM. Web site is written in Yii2 framework.

Every 15 minutes or 30 minutes the load average of web servers are increasing untill 200-300. The capacity of Database is around 1GB. The type of site is media. A lot of contents and live tv channels.

How to solve this problem ?

enter image description here enter image description here enter image description here enter image description here

Gani Rakhmatov
  • 427
  • 3
  • 21

1 Answers1

0

Find the next solution: How to stream on demand video with load balancing

Basically is to enable a module in nginx, this may lead to improve on how the servers serve the videos and better manage their resources.

Alejandro
  • 101
  • 2
  • The answer that I offer is technically simple, I consider that if the answer is complex or not completely clear I would take its recommendation but this is not the case and would basically duplicate content, likewise, I will take the recommendation for future answers. – Alejandro Jan 30 '17 at 22:56