server testen

Apache, Lighttpd, nginx, Cherokee
Post Reply
conym18
Posts: 137
Joined: 2003-01-21 12:41
 

server testen

Post by conym18 »

hi,

mit welchem tool, kann ich meinen server auf last prüfen?

also z.b. prüfen was ist, wenn 500, 1000, 10.000 User gleichzeitig auf den Server zugreifen?


evtl. ein windows toot?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: server testen

Post by Joe User »

man ab
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
conym18
Posts: 137
Joined: 2003-01-21 12:41
 

Re: server testen

Post by conym18 »

hä?

in linux "man ab"?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: server testen

Post by Joe User »

Ja.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
conym18
Posts: 137
Joined: 2003-01-21 12:41
 

Re: server testen

Post by conym18 »

und was bedeutet was jetzt?
  • This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.4 $> apache-2.0
    Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

    Benchmarking http://www.xxx.de (be patient)...Send request timed out!
    Send request timed out!
    Send request timed out!
    ..done


    Server Software: Apache/2.0.48
    Server Hostname: http://www.xxx.de
    Server Port: 80

    Document Path: /index.php
    Document Length: 0 bytes

    Concurrency Level: 20
    Time taken for tests: 30.23872 seconds
    Complete requests: 1
    Failed requests: 11
    (Connect: 0, Length: 3, Exceptions: 8)
    Write errors: 0
    Total transferred: 280036 bytes
    HTML transferred: 273142 bytes
    Requests per second: 0.03 [#/sec] (mean)
    Time per request: 600477.448 [ms] (mean)
    Time per request: 30023.872 [ms] (mean, across all concurrent requests)
    Transfer rate: 9.09 [Kbytes/sec] received

    Connection Times (ms)
    min mean[+/-sd] median max
    Connect: 21 21 0.0 21 21
    Processing: 30001 30001 0.0 30001 30001
    Waiting: -46 -45 0.0 -46 0
    Total: 30022 30022 0.0 30022 30022
danke
conym18
Posts: 137
Joined: 2003-01-21 12:41
 

Re: server testen

Post by conym18 »

oder mit ab2 -n 1000 http://www.xxx.de
  • This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.4 $> apache-2.0
    Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

    Benchmarking http://www.xxx.de (be patient)
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Completed 500 requests
    Completed 600 requests
    Completed 700 requests
    Completed 800 requests
    Completed 900 requests
    Finished 1000 requests


    Server Software: Apache/2.0.48
    Server Hostname: http://www.xxx.de
    Server Port: 80

    Document Path: /index.php
    Document Length: 18049 bytes

    Concurrency Level: 1
    Time taken for tests: 6.63049 seconds
    Complete requests: 1000
    Failed requests: 33
    (Connect: 0, Length: 0, Exceptions: 33)
    Write errors: 0
    Total transferred: 19011584 bytes
    HTML transferred: 18616328 bytes
    Requests per second: 164.93 [#/sec] (mean)
    Time per request: 6.063 [ms] (mean)
    Time per request: 6.063 [ms] (mean, across all concurrent requests)
    Transfer rate: 3062.16 [Kbytes/sec] received

    Connection Times (ms)
    min mean[+/-sd] median max
    Connect: 0 0 0.0 0 0
    Processing: 5 5 2.6 5 29
    Waiting: -2 0 0.1 0 0
    Total: 5 5 2.6 5 29

    Percentage of the requests served within a certain time (ms)
    50% 5
    66% 5
    75% 5
    80% 5
    90% 5
    95% 5
    98% 10
    99% 28
    100% 29 (longest request)

danke
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: server testen

Post by Joe User »

Beispiel:

Code: Select all

ab -n 500 -c 100 http://www.domain.tld/index.html
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
conym18
Posts: 137
Joined: 2003-01-21 12:41
 

Re: server testen

Post by conym18 »

hi,

hier meine auswertung:
  • This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.4 $> apache-2.0
    Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

    Benchmarking http://www.xxx.de (be patient)
    Completed 100 requests
    Completed 200 requests
    Completed 300 requests
    Completed 400 requests
    Finished 500 requests


    Server Software: Apache/2.0.48
    Server Hostname: http://www.xxx.de
    Server Port: 80

    Document Path: /index.php
    Document Length: 18049 bytes

    Concurrency Level: 100
    Time taken for tests: 9.696504 seconds
    Complete requests: 500
    Failed requests: 1
    (Connect: 0, Length: 0, Exceptions: 1)
    Write errors: 0
    Total transferred: 10362880 bytes
    HTML transferred: 10147251 bytes
    Requests per second: 51.56 [#/sec] (mean)
    Time per request: 1939.301 [ms] (mean)
    Time per request: 19.393 [ms] (mean, across all concurrent requests)
    Transfer rate: 1043.68 [Kbytes/sec] received

    Connection Times (ms)
    min mean[+/-sd] median max
    Connect: 0 12 25.4 0 114
    Processing: 55 1617 646.7 1506 4133
    Waiting: -1658 -50 132.7 -27 0
    Total: 83 1630 630.2 1506 4133

    Percentage of the requests served within a certain time (ms)
    50% 1506
    66% 1911
    75% 2034
    80% 2114
    90% 2618
    95% 2685
    98% 2699
    99% 2704
    100% 4133 (longest request)
conym18
Posts: 137
Joined: 2003-01-21 12:41
 

Re: server testen

Post by conym18 »

was kann ich jetzt daraus lesen?

max. 114 gleichzeitige verbindungen?
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: server testen

Post by captaincrunch »

Hättest du nur minimal etwas über das Programm gelesen wüsstest du jetzt schon mehr... :roll:
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
conym18
Posts: 137
Joined: 2003-01-21 12:41
 

Re: server testen

Post by conym18 »

sorry, habe es nicht verstanden.

kannst du mir helfen?
Post Reply