VirtualBox

Ticket #11114 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

Too many open files when using port forwarding

Reported by: grossetti Owned by:
Priority: blocker Component: network/NAT
Version: VirtualBox 4.2.2 Keywords:
Cc: gabriel.rossetti@… Guest type: Windows
Host type: Linux

Description

Hello,

Since VB doesn't allow ranges for port forwarding, I used a script that creates all the rules needed. When I start the virtual machine, I get this error now:

Failed to attach the USB device Chicony Electronics Co., Ltd. Integrated Camera [0854] to the virtual machine WinXP.

Failed to create a proxy device for the USB device. (Error: VERR_TOO_MANY_OPEN_FILES).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}

This is quite blocking...it could be fixed if you had port ranges I think. I attached the logs and the script used.

Thanks, Gabriel

Attachments

add_ocs_ports.sh Download (718 bytes) - added by grossetti 3 years ago.
Script
VBox.512kbuploadlimit.log Download (64.1 KB) - added by grossetti 3 years ago.
Logs, had to shorten them as you have a 512kb limit and the file was 3.2mb (the log file rotation limit)

Change History

Changed 3 years ago by grossetti

Script

Changed 3 years ago by grossetti

Logs, had to shorten them as you have a 512kb limit and the file was 3.2mb (the log file rotation limit)

comment:1 Changed 3 years ago by Hachiman

  • Status changed from new to closed
  • Resolution set to worksforme

Well, that definitely not bug in VirtualBox, perhaps it'd be better to alter file descriptors per process number in your host's OS system settings.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use