Flood question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to generate load with flood. Unfortunately it consumes almost all 
of the possible virtual mem (almost 3GB) and dies.

Is it possible to configure it to spawn processes instead of threads?

Why does it consume so much memory?

Thanks,
Torsten

Here my config:

<?xml version="1.0"?>
<!DOCTYPE flood SYSTEM "flood.dtd">
<!-- Hi, I'm a flood config file.  
     This is a keepalive-enabled profile.  -->
<flood configversion="1">
  <!-- A urllist describes which hosts and which methods we want to hit. -->
  <urllist>
    <name>plain</name>
    <description>A bunch of hosts we want to hit</description>
    <!-- change element below to point to default Apache 2.0 installation -->
    <baseurl>http://hostname</baseurl>

    <url method="GET" postdelay="2" postdelayprecision="3">an url</url>
    ...
    [53 additional urls with the same attributes]
    ...
  </urllist>

  <!-- The profile describes how we will hit the urllists. 
       Round robin runs all of the URLs in the urllist in order once. -->
  <profile>
    <name>plain</name>
    <description>Round Robin Configuration</description>

    <useurllist>plain</useurllist>

    <profiletype>round_robin</profiletype>
    <socket>keepalive</socket>

    <!-- Verification Events -->
    <verify_resp>verify_200</verify_resp>

    <!-- Reporting Events -->
    <report>relative_times</report>
  </profile>

  <urllist>
    <name>https</name>
    <description>A bunch of hosts we want to hit</description>
    <!-- change element below to point to default Apache 2.0 installation -->
    <baseurl>https://hostname</baseurl>

    <url method="GET" predelay="10" predelayprecision="10" postdelay="2" 
postdelayprecision="3">an url</url>
    ...
    [53 additional urls with the same attributes]
    ...
  </urllist>

  <!-- The profile describes how we will hit the urllists. 
       Round robin runs all of the URLs in the urllist in order once. -->
  <profile>
    <name>https</name>
    <description>Round Robin Configuration</description>

    <useurllist>https</useurllist>

    <profiletype>round_robin</profiletype>
    <socket>keepalive</socket>

    <!-- Verification Events -->
    <verify_resp>verify_200</verify_resp>

    <!-- Reporting Events -->
    <report>relative_times</report>
  </profile>

  <!-- A farmer runs one profile a certain number of times.  -->
  <farmer>
    <name>Joe</name>
    <time>3600</time>
    <useprofile>plain</useprofile>
  </farmer>

  <farmer>
    <name>Jack</name>
    <time>3600</time>
    <useprofile>https</useprofile>
  </farmer>

  <!-- A farm contains a bunch of farmers - each farmer is a thread.  -->
  <farm>
    <name>Bingo</name>
    <usefarmer startcount="10" startdelay="1" count="200">Joe</usefarmer>
    <usefarmer startcount="10" startdelay="1" count="100">Jack</usefarmer>
  </farm>

  <!-- Set the seed to a known value so we can reproduce the same tests -->
  <seed>23</seed>
</flood>

Attachment: pgpGFEtkplBse.pgp
Description: PGP signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux