<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1045095" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1045095</link>
    <description></description>
    <language>en</language>
          <item>
    <title>For siege, you would:
From a</title>
    <link>https://www.webmaster-forums.net/server-management/dedicated-server-auction-site#comment-1245356</link>
    <description> &lt;p&gt;For siege, you would:&lt;br /&gt;
From a client that is not on the server...&lt;br /&gt;
1) generate a urls.txt file, containing the URLs you want visited by the utility&lt;/p&gt;
&lt;p&gt;2) Decide on the number of simultanious users you want visiting your site&lt;/p&gt;
&lt;p&gt;3) How may pages each user is going to visit... &lt;/p&gt;
&lt;p&gt;So, if you wanted 20 users to visit 10 pages you would:&lt;/p&gt;
&lt;p&gt;siege -c20 -r10 -f ./urls.txt&lt;/p&gt;
&lt;p&gt;The output will be something like:&lt;br /&gt;
The server is now under siege...done&lt;br /&gt;
Transactions:                     200 hits&lt;br /&gt;
Availability:                 100.00 %&lt;br /&gt;
Elapsed time:                  12.76 secs&lt;br /&gt;
Data transferred:               1.49 MB&lt;br /&gt;
Response time:                  0.65 secs&lt;br /&gt;
Transaction rate:              15.68 trans/sec&lt;br /&gt;
Throughput:                     0.12 MB/sec&lt;br /&gt;
Concurrency:                   10.19&lt;br /&gt;
Successful transactions:         200&lt;br /&gt;
Failed transactions:               0&lt;br /&gt;
Longest transaction:            1.91&lt;br /&gt;
Shortest transaction:           0.51&lt;/p&gt;
&lt;p&gt;While siege is running, watch the output of vmstat on your VPS, as well as top to see what processes are doing while under the load.  You may want to specify more requests to siege so the test takes longer - and you watch more data on the server&lt;/p&gt;
&lt;p&gt;Some reading is required to interpret vmstat output, but the first three columns are particularly interesting (r, b, w) &lt;/p&gt;
&lt;p&gt;The ideal value for each is &#039;0&#039; - as your server shows duress, these numbers will grow as more and more processes stack up waiting for the bottlenecked resource(s)&lt;/p&gt;
&lt;p&gt;r = # of processes in the run queue (CPU?!)&lt;br /&gt;
b = processes blocked up because they&#039;re waiting for IO (disk?!)&lt;br /&gt;
w = runnable but swapped - (memory?!)&lt;/p&gt;
&lt;p&gt;Be careful about where you are performing the test too - it is possible to saturate your network connection, which will bottleneck your test!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Shaggy.&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Oct 2009 14:44:13 +0000</pubDate>
 <dc:creator>Shaggy</dc:creator>
 <guid isPermaLink="false">comment 1245356 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The test environment is on a</title>
    <link>https://www.webmaster-forums.net/server-management/dedicated-server-auction-site#comment-1245355</link>
    <description> &lt;p&gt;The test environment is on a VPS server I pay for monthly, How would I use these programmes to test the load capabilitys?&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Oct 2009 14:16:15 +0000</pubDate>
 <dc:creator>toughntwisted</dc:creator>
 <guid isPermaLink="false">comment 1245355 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hi There;
Do you have a</title>
    <link>https://www.webmaster-forums.net/server-management/dedicated-server-auction-site#comment-1245352</link>
    <description> &lt;p&gt;Hi There;&lt;/p&gt;
&lt;p&gt;Do you have a development / test environment?&lt;br /&gt;
Populate the environment, note the specifications, and then do a little load test using &#039;seige&#039;, &#039;ab&#039;, or similar with some traffic parameters you&#039;re expecting to get first off, and then increase from there to see where things fall over.&lt;/p&gt;
&lt;p&gt;If the application is decently tuned, depending on how your webserver / PHP are configured, I&#039;d expect you to hit the RAM wall first.  Once over that hurdle, disk IO is usually next, especially if your database is sitting on the same machine.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Shaggy.&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Oct 2009 13:32:29 +0000</pubDate>
 <dc:creator>Shaggy</dc:creator>
 <guid isPermaLink="false">comment 1245352 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
