C
C
Chvalov2015-11-28 01:40:05
PHP
Chvalov, 2015-11-28 01:40:05

How to fix the brakes with not a lot of online (TIME_WAIT)?

There are about 100 people online, and the site loads in about 20-25 seconds.

I looked at the number of connections in netstat -an | grep :80 | sort
And replaced that a lot where TIME_WAIT is written and FIN_WAIT2 and ESTABLISHED are also found.
As I understand it, the problem is in simultaneous connections, but how can I fix this problem?

MySQL 5.5 , PHP 5.4 , Apache 2.2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2015-11-28
@opium

Optimize code. you generally looked at some garbage and wrote garbage.
It’s logical to look at top, it’s logical to bring it here, it’s logical to bring the configuration of the VPS, it’s probably up to or an analogue for five bucks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question