Nmap Development mailing list archives
Re: [PATCH] Save space/time: completedHosts "lifetimes"
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Mon, 29 Sep 2008 20:40:59 +0000
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 29 Sep 2008 13:25:46 -0600 David Fifield <david () bamsoftware com> wrote:
On Mon, Sep 29, 2008 at 02:13:42PM -0500, Kris Katterjohn wrote:Fyodor, I remember you mentioned UDP scans with a big host group size taking gigs of RAM. I debugged for a while looking for a memory leak but didn't find anything. Maybe the ever-growing completedHosts list was the culprit?What sized host groups were these?It was with host groups of 2048 and -p1-65535. David Fifield
I've experienced this memory consumption problem first-hand. I'm not sure it is a leak because is doesn't appear to grow unbounded across hostgroups. I ended up using a hostgroup of about 256 which had the bad habit of coming very close to running my box (8 GB of ram) out of memory. A few months ago I spent a few hours testing at it seemed that increasing the hostgroup linearly translated to a non-linear increase in memory consumption. I was planning on writing a script to drive Nmap with ever-increasing hostgroup sizes and record the max/min/average memory usage for each. Unfortunately day-to-day operations around here have kept me busy enough that I've put aside most of my non-critical projects. I'm happy to use my limited time to help you test/debug. If you give me a script or some commands I'll run them on one of our scanning boxes. Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjhPWEACgkQqaGPzAsl94LyQACggefE6HQZuKEMQUQGrYopi8lu 9zYAoMAAIiy5yPHeucn8UsqIgYldmESl =jhQd -----END PGP SIGNATURE----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Save space/time: completedHosts "lifetimes" Kris Katterjohn (Sep 17)
- Re: [PATCH] Save space/time: completedHosts "lifetimes" David Fifield (Sep 29)
- Re: [PATCH] Save space/time: completedHosts "lifetimes" Kris Katterjohn (Sep 29)
- Re: [PATCH] Save space/time: completedHosts "lifetimes" David Fifield (Sep 29)
- Re: [PATCH] Save space/time: completedHosts "lifetimes" Brandon Enright (Sep 29)
- Re: [PATCH] Save space/time: completedHosts "lifetimes" Kris Katterjohn (Sep 29)
- Re: [PATCH] Save space/time: completedHosts "lifetimes" David Fifield (Sep 29)