httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Prucia <jacek.pru...@acn.waw.pl>
Subject Re: flood and memory
Date Wed, 01 Sep 2004 18:24:33 GMT
On Tue, 24 Aug 2004 16:08:05 +0300
"Watch" <watch@mail.deac.lv> wrote:

> Hi.

Sorry for being quiet for a week, but I wasn't able to read my e-mail.

[...]
> here is more information that you requested.
> 
> root@actest1:~/httpd-test/flood# ls -alh mainconf.xml
> -rw-r--r--  1 root root 39M 2004-08-16 17:20 mainconf.xml
> root@actest1:~/httpd-test/flood# grep "<urllist>" mainconf.xml |wc -l
> 109
> root@actest1:~/httpd-test/flood# grep "<url " mainconf.xml |wc -l
> 521393
> root@actest1:~/httpd-test/flood# grep "<profile>" mainconf.xml |wc -l
> 109
> root@actest1:~/httpd-test/flood# grep "<farmer>" mainconf.xml |wc -l
> 109

Those numbers look very impressive.

> Basically, there are 109 different web's (like www.web1.com, www.web2.com,
> etc.) and each web has list of url's, own profile, own farmer. All farmers
> are placed into one "<farm>".

So you're testing all web's in parallel?

> I started to divide that config file in to smaller ones.

Very good idea.

> First one 4.8MB
> survived, second one is 2.1MB and still takes all memory. Here are more
> details on it.
> 
> root@actest1:/home/private# ls -alh mainconf.xml
> -rw-r--r--  1 root root 2.1M 2004-08-17 15:47 mainconf.xml
> root@actest1:/home/private# grep "<urllist>" mainconf.xml |wc -l
> 17
> root@actest1:/home/private# grep "<url " mainconf.xml |wc -l
> 30144
> root@actest1:/home/private# grep "<profile>" mainconf.xml |wc -l
> 17
> root@actest1:/home/private# grep "<farmer>" mainconf.xml |wc -l
> 17
> root@actest1:/home/private# grep "\"GET\"" mainconf.xml |wc -l
> 30045
> root@actest1:/home/private# grep "\"POST\"" mainconf.xml |wc -l
> 85
> root@actest1:/home/private# grep "\"HEAD\"" mainconf.xml |wc -l
> 0

This is really weird. Considering really bad setup (no threads, old system)
this can chew memory up to 40, maybe 50 MB, but not more. The suspicious thing
is that larger config file is OK. Can you post details on it?

Anyway that looks like a problem with flood.

--
regards,
Jacek Prucia


Mime
View raw message