C
C
Cyapa2013-05-15 20:43:13
*nix-like systems
Cyapa, 2013-05-15 20:43:13

How to set up your pages for 5xx server errors or where to move to avoid them?

Comrades! A terrible misfortune overtook me, in the last week my online service has been falling daily. Two or three times. (No, I'm not DDoSed.) I use the services of sweb.ru, the tariff is the cheapest for 250 rubles. I understand that for such money there may be some jambs, but not all the same time ... Although, I must admit that they fix everything pretty quickly, a maximum of 30-40 minutes. The problem is not in the scripts (until recently everything worked) and not in the load (it is below the baseboard, only 100 visitors per day, and not very active). Admins say that these are temporary problems. But they have been going on for a week, which is not at all temporary.

The question arises, where to move, what would this not be?

Minimum requirements:
- MySQL InnoBD
- Cron with the ability to run once a minute
- 100 mbs channel
- And resources sufficient to process a maximum of 5 requests per second (peak load) with 2-3 simple queries to the database

Or, at least how to set up your pages for 5xx errors? I've seen them on several sites, but I don't know how to achieve this. The normal .htaccess setting only works with < 500 errors.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
N
nochkin, 2013-05-15
@nochkin

If 5xx errors appear due to the web server itself, then you need to look for the problem in it.
Most problems need to be tackled at the root, and not look for crutches for them.
If the admins fix something, then you need to find out from them what the problems were.
If the hosting does not withstand due to the increased load, then you need to try another one.
If the problem is in the scripts themselves that run on the server, then you need to look at what can be optimized there.

A
Alexander, 2013-05-16
@kryoz

what prevents you from switching to VPS hosting for the same money?

P
Puma Thailand, 2013-05-16
@opium

awardspace.com
there are jambs, but rarely and always they are solved in an hour or two, there are small problems with sending mail.

A
alrusdi, 2013-05-16
@alrusdi

I'm on locum.ru. Placement of two projects of this kind will cost 80 rubles per month. Tech support is pretty decent.

J
joneleth, 2013-05-17
@joneleth

AWS micro instance, first year free.

A
Alexey Sundukov, 2013-05-17
@alekciy

What is the website engine?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question