mailing list archives
Nmap error message - socket troubles in Init: Too many open files (24)
From: Jesper Kückelhahn <dev.kyckel () gmail com>
Date: Wed, 12 Dec 2012 18:15:33 +0100
We ran a scan with the following parameters using nmap 6.26SVN (I don't know the exact revision, but it's from December
nmap -sTUV -Pn -O
outputfile -iL targetsFile
and got the following result
NSE: Script Engine Scan Aborted.
An error was thrown by the engine: /usr/local/bin/../share/nmap/nse_main.lua:898: error in __gc metamethod
(/usr/local/bin/../share/nmap/nse_main.lua:391: Error in setup of iod with proto 17 and af 2: Too many open files (24))
[C]: in function 'threads_iter'
/usr/local/bin/../share/nmap/nse_main.lua:898: in function 'run'
/usr/local/bin/../share/nmap/nse_main.lua:1358: in function </usr/local/bin/../share/nmap/nse_main.lua:1261>
[C]: in ?
The 'targetsFile' included 255 hosts, and the report for each of the hosts was something like:
Nmap scan report for 184.108.40.206
Host is up (0.029s latency).
Not shown: 65535 filtered ports
PORT STATE SERVICE VERSION
7/udp open|filtered echo
53/udp open|filtered domain
67/udp open|filtered dhcps
68/udp open|filtered dhcpc
69/udp open|filtered tftp
111/udp open|filtered rpcbind
123/udp open|filtered ntp
137/udp open|filtered netbios-ns
161/udp open|filtered snmp
177/udp open|filtered xdmcp
500/udp open|filtered isakmp
520/udp open|filtered route
1645/udp open|filtered radius
1812/udp open|filtered radius
1900/udp open|filtered upnp
2049/udp open|filtered nfs
3478/udp open|filtered unknown
3479/udp open|filtered unknown
4500/udp open|filtered nat-t-ike
5060/udp open|filtered sip
5070/udp open|filtered unknown
5353/udp open|filtered zeroconf
10080/udp open|filtered amanda
Too many fingerprints match this host to give specific OS details
The last line of output was:
socket troubles in Init: Too many open files (24)
Before switching to version 6.26SVN, we where using an older version of nmap (5.51 I think) and we didn't have this
issue, running on the same set of hosts, with the same parameters. Currently we are trying run on a smaller set of
hosts in parallel (--max-hostgroup 64), to see if this could possibly solve the issue temporally.
Could this be related to these posts ?
Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/
- Nmap error message - socket troubles in Init: Too many open files (24) Jesper Kückelhahn (Dec 12)