Nmap Development mailing list archives

Re: Stats (time elapsed)


From: David Fifield <david () bamsoftware com>
Date: Tue, 16 Nov 2010 11:53:35 -0800

On Tue, Nov 16, 2010 at 11:07:50AM -0600, Andrew Orr wrote:
On 10-11-16 10:49 AM, Alejandro Ramos wrote:
You are right Tom, Thank you.

I upgrade version to 5.35DC1 and have other issue, XML outuput archive has
stopped in 2Gb, grepable works fine.

-rw-r--r-- 1 root    root    2147483647 2010-11-15 21:31 file.xml
-rw-r--r-- 1 root    root    2054150297 2010-11-16 17:47 file.nmap
-rw-r--r-- 1 root    root    1345863139 2010-11-16 17:47 file.gnmap

Your file.xml size is 2147483647, which is 2^31 - 1, or the eighth
Mersenne prime :)

My point being, this is likely a limitation of your file system or
operating system, not nmap. What os/file system is this running on?

Running "ulimit -f" might tell you an os limit on file size (in K
bytes). If that reports back "2097152", then you can try changing
this (as root) with "ulimit -f unlimited", this may fix it.

We may have to define _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE, or
_FILE_OFFSET_BITS=64 to take advantage of large files. We may also have
to use fopen64 or similar. Is anyone willing to try it?

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: