Как проверить макс. нагрузку на сайт

12
xpycteamset
На сайте с 05.10.2009
Offline
129
#11

Дык в том то и дело я не знаю с какой стороны подойти, Joomla знаю, знаю ISP manager на уровне добавить домен, перезагрузить, и собственно поставить саму панельку, могу зайти по SSH и вбить запрос, какие папки больше всего места занимает.

А вот куда набрать ad не в курсе да и входных данных для гугла маловато.

DV
На сайте с 01.05.2010
Offline
644
#12
xpycteamset:
могу зайти по SSH

зайдите, и так же наберите ab. Читайте, что напишет.

VDS хостинг ( http://clck.ru/0u97l ) Нет нерешаемых задач ( https://searchengines.guru/ru/forum/806725 ) | Перенос сайтов на Drupal 7 с любых CMS. ( https://searchengines.guru/ru/forum/531842/page6#comment_10504844 )
xpycteamset
На сайте с 05.10.2009
Offline
129
#13

ad

new# ad

ad: Command not found.

new#

new# ad

ad: Command not found.

new# new# ad

new#: Command not found.

new# ad: Command not found.

ad:: Too many arguments.

new# new#

new#: Command not found.

new#

DV
На сайте с 01.05.2010
Offline
644
#14
xpycteamset:
ad

new# ad
ad: Command not found.
new#
new# ad
ad: Command not found.
new# new# ad
new#: Command not found.
new# ad: Command not found.
ad:: Too many arguments.
new# new#
new#: Command not found.
new#

издеваетесь? Буквы переверните!

xpycteamset
На сайте с 05.10.2009
Offline
129
#15

Сори.

-n requests Number of requests to perform

-c concurrency Number of multiple requests to make

-t timelimit Seconds to max. wait for responses

-b windowsize Size of TCP send/receive buffer, in bytes

-p postfile File containing data to POST. Remember also to set -T

-u putfile File containing data to PUT. Remember also to set -T

-T content-type Content-type header for POSTing, eg.

'application/x-www-form-urlencoded'

Default is 'text/plain'

-v verbosity How much troubleshooting info to print

-w Print out results in HTML tables

-i Use HEAD instead of GET

-x attributes String to insert as table attributes

-y attributes String to insert as tr attributes

-z attributes String to insert as td or th attributes

-C attribute Add cookie, eg. 'Apache=1234. (repeatable)

-H attribute Add Arbitrary header line, eg. 'Accept-Encoding: gzip'

Inserted after all normal header lines. (repeatable)

-A attribute Add Basic WWW Authentication, the attributes

are a colon separated username and password.

-P attribute Add Basic Proxy Authentication, the attributes

are a colon separated username and password.

-X proxy:port Proxyserver and port number to use

-V Print version number and exit

-k Use HTTP KeepAlive feature

-d Do not show percentiles served table.

-S Do not show confidence estimators and warnings.

-g filename Output collected data to gnuplot format file.

-e filename Output CSV file with percentages served

-r Don't exit on socket receive errors.

-h Display usage information (this message)

-Z ciphersuite Specify SSL/TLS cipher suite (See openssl ciphers)

-f protocol Specify SSL/TLS protocol (SSL2, SSL3, TLS1, or ALL)

далее попробовал вбил

ab -n 30 http://сайт.ру

выдало такой же список

DV
На сайте с 01.05.2010
Offline
644
#16
Usage: ab [options] [http://]hostname[:рort]/path

Trailing slash забыли. Т.е. http://сайт.ру/

Ему ведь надо знать, какую именно страницу долбить.

xpycteamset
На сайте с 05.10.2009
Offline
129
#17

После некоторого мучения вышло примерно так, довольно шустро получилось 🤪

jpg 105283.jpg
forest25
На сайте с 12.09.2009
Offline
67
#18

А нафига ab на том же сервере запускать? Запустите у себя на компе если у вас интернет-канал нормальный ) А так вообще да http://loadimpact.com для этого дела лучше подходит )

VPS 512MB 20GB SSD KVM - 5$ (http://u.hmdw.me/digitalocean) | ИМХО о хостингах (http://u.hmdw.me/hosting)
xpycteamset
На сайте с 05.10.2009
Offline
129
#19

На сколько я понял ab покажет максимальную нагрузку, и исходя из которой можно посчитать сколько народу выдержит.

Хотя могу ошибаться.

12

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий