Error assigning master socket: Too many open files

From: Andreas Klemm <andreas_at_freebsd.org>
Date: Wed, 22 Oct 2003 13:30:39 +0200
Hi,

Urgend question, wanna help a collegue, who secured a router,
but trying to scan ports fails with -current.

I don't want to blame anybody, I know what the policy of current
is. If I can't get quick help on this I use a Windows tool,
no problem. I only want to save me the work to install this Win tool
and I think its interesting, to find out, that there might be
a problem.

The machine was freshly booted ....
Is there a workaround ?

root_at_titan[ttyp2]{84} /usr/ports/security/portscanner/work/PortScanner-1.2 portscanner -vv -v -v -b 1 -e 6 xx.xxx.xxx.xx
xx.xxx.xx.xx
Error assigning master socket: Too many open files
Exit 255

FreeBSD titan.klemm.apsfilter.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Oct 19 16:33:53 CEST 2003     root_at_titan.klemm.apsfilter.org:/usr/src/sys/i386/compile/TITAN  i386

mbuf usage:
	GEN cache:	0/224 (in use/in pool)
	CPU #0 cache:	65/576 (in use/in pool)
	Total:		65/800 (in use/in pool)
	Mbuf cache high watermark: 512
	Maximum possible: 34432
	Allocated mbuf types:
	  65 mbufs allocated to data
	2% of mbuf map consumed
mbuf cluster usage:
	GEN cache:	0/0 (in use/in pool)
	CPU #0 cache:	64/120 (in use/in pool)
	Total:		64/120 (in use/in pool)
	Cluster cache high watermark: 128
	Maximum possible: 17216
	0% of cluster map consumed
440 KBytes of wired memory reserved (32% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #0: Sun Oct 19 16:33:53 CEST 2003
    root_at_titan.klemm.apsfilter.org:/usr/src/sys/i386/compile/TITAN
Preloaded elf kernel "/boot/kernel/kernel" at 0xc07c8000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc07c81f4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07c82a0.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (997.46-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536854528 (511 MB)
avail memory = 516009984 (492 MB)
netsmb_dev: loaded
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   MED_2001> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f0eb0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTD is routed to irq 10
pcib0: slot 4 INTD is routed to irq 10
pcib0: slot 9 INTA is routed to irq 3
pcib0: slot 10 INTA is routed to irq 10
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xfc000000-0xfdffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: Hewlett-Packard PSC 2200 Series, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
umass0: Hewlett-Packard PSC 2200 Series, rev 2.00/1.00, addr 2
ugen0: Syncrosoft Protected Executer, rev 1.10/1.01, addr 3
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 10 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <multimedia, audio> at device 9.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xa400-0xa43f mem 0xed000000-0xed0fffff,0xed800000-0xed800fff irq 10 at device 10.0 on pci0
fxp0: Ethernet address 00:d0:b7:ba:c1:c2
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
orm0: <Option ROMs> at iomem 0xcc000-0xccfff,0xc0000-0xcb7ff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 997460685 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
GEOM: create disk ad0 dp=0xc43fe070
ad0: 176700MB <IC35L180AVV207-1> [359010/16/63] at ata0-master UDMA66
acd0: CDRW <SONY CD-RW CRX140E> at ata0-slave PIO4
GEOM: create disk ad2 dp=0xc43feb70
ad2: 176700MB <IC35L180AVV207-1> [359010/16/63] at ata1-master UDMA66
acd1: DVDROM <LITEON DVD-ROM LTD122> at ata1-slave PIO4
(probe3:ata1:0:1:0): Recovered Sense
(probe3:ata1:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe3:ata1:0:1:0): CAM Status: SCSI Status Error
(probe3:ata1:0:1:0): SCSI Status: Check Condition
(probe3:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
(probe3:ata1:0:1:0): Invalid field in CDB
(probe3:ata1:0:1:0): Recovered Sense
(probe3:ata1:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe3:ata1:0:1:0): CAM Status: SCSI Status Error
(probe3:ata1:0:1:0): SCSI Status: Check Condition
(probe3:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
(probe3:ata1:0:1:0): Invalid field in CDB
GEOM: create disk da0 dp=0xc44cf050
pass1 at ata0 bus 0 target 1 lun 0
pass1: <SONY CD-RW  CRX140E 1.0s> Removable CD-ROM SCSI-0 device 
pass1: 16.000MB/s transfers
pass2 at ata1 bus 0 target 1 lun 0
pass2: <LITEON DVD-ROM LTD122 IHN9> Removable CD-ROM SCSI-0 device 
pass2: 16.000MB/s transfers
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <HP psc 2210 1.00> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ad2s1a
fxp0: promiscuous mode enabled
pid 9838 (ethereal), uid 1001: exited on signal 10 (core dumped)
pid 9842 (ethereal), uid 0: exited on signal 10 (core dumped)


machine		i386
cpu		I686_CPU
ident		TITAN

options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	DDB
options 	DDB_TRACE

options 	SCHED_4BSD		#4BSD scheduler
#options	SCHED_ULE

options 	PQ_LARGECACHE		# color for 512k/16k cache

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_EXTATTR
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	CD9660			#ISO 9660 Filesystem
options		CD9660_ICONV
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	FDESCFS			#File descriptor filesystem
options 	MSDOSFS			#MS DOS File System (FAT, FAT32)
options		MSDOSFS_ICONV
options 	SMBFS			#SMB/CIFS filesystem
options 	UDF			#Universal Disk Format

options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

options 	NETSMB			#SMB/CIFS requester
options 	NETSMBCRYPTO		#encrypted password support for SMB
options 	LIBICONV
options 	LIBMCHAIN

options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
options 	IPFIREWALL_FORWARD	#enable transparent proxy support
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options 	IPDIVERT		#divert sockets
options 	IPSTEALTH		#support for stealth forwarding
options 	DUMMYNET
options 	RANDOM_IP_ID
options 	ZERO_COPY_SOCKETS

device		isa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI bus
device		scbus		# base SCSI code
device		da		# SCSI direct access devices (aka disks)
device		pass		# CAM passthrough driver
device		atapicam	# emulate ATAPI devices as SCSI ditto via CAM

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc
options 	SC_HISTORY_SIZE=512	# number of history buffer lines

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB support
#options 	USB_DEBUG
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners
device		ucom		# USB serial support




	Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? -> http://www.apsfilter.org/
Received on Wed Oct 22 2003 - 02:31:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC