A
A
admedia2015-08-22 18:18:11
Highload
admedia, 2015-08-22 18:18:11

VDS cannot withstand the load. What to do?

Good afternoon.
We had two sites (one on WP), the second on the QPL Board engine. Worked on shared hosting. Everything was fine. We decided to transfer to VDS. We took XEON 2, 10 gigs of RAM. Transferred the site to WP - there were problems, set up the server, installed varnish, memcache, nginx + phpfm. Everything works well.
We put the second site, now the server can not stand it. It is necessary to configure the server and under it. Probably give part of the load to the RAM instead of the processor.
Attendance of the first site is 4000 per day (www.fara.tj), and the second is 5000 (www.somon.tj). This is the maximum so far.
We are waiting for suggestions.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
A
Alexander Taratin, 2015-08-22
@Taraflex

What to do?

Change maintenance administrator/programmer.

O
Optimus, 2015-08-22
Pyan @marrk2

And I think all your problems are because of WordPress

A
Arman, 2015-08-22
@Arik

There are two ways:
1. Take a separate VPS / VDS for the second site and add resources to the site that needs it
2. Hire a programmer to optimize sites

E
evnuh, 2015-08-22
@evnuh

4000 per day is about 5*4000 / 24 / 60 / 60 = 0.2 requests per second. That is, 1 request in 4 seconds puts your VDS on a heon with 10 gigs of RAM?)

I
index0h, 2015-08-22
@index0h

4k a day what? Requests / competitive connections / ... And just 4k is about nothing.
Start by determining what is eating up your resources. Use XHProf to identify performance bottlenecks and rewrite them. The main execution time, as a rule, is the database, the absence or not optimal caching, requests to external servers.

N
Night, 2015-08-22
@maxtm

You took the norms of iron, but I'm afraid you didn't set it up.
Make tuning the web server, php, database, sessions, cache, etc.
Then everything will take off.

M
Mikhail Melnikov, 2015-08-24
@xiaum

As an option - rent or buy servers that exceed the current configuration in terms of characteristics. Or do some optimization. Intensive and extensive ways, so to speak.

V
Vlad Zhivotnev, 2015-08-24
@inkvizitor68sl

It is customary to answer such "questions" by looking at the server console from the root.
Most likely, you have OpenVZ (then you can try to blame it on KVM with an SSD), or a million plugins are screwed to WP, which in total slow down, or you yourself have already overdone the settings, making it worse than default.
Or maybe WP still goes to a remote database. There can be many reasons.
And according to the available data, only a telepath with a level a couple of orders higher than us gathered here will answer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question