strawlab / nextgen-camera-users

next generation camera software from the Straw Lab
1 stars 0 forks source link

[ERROR hyper::server::tcp] accept error: Too many open files (os error 24) #10

Closed elhananby closed 3 years ago

elhananby commented 3 years ago

Hi Andrew, So after installing the latest Braid version (0.8.2) I have a new issue that popped up, which is that after I do the triggerbox synchronization I get this error in the command line: ERROR hyper::server::tcp] accept error: Too many open files (os error 24) followed by: Error (strand-cam/src/strand-cam.rs:2822 Some("frame_process_thread")): Braid update image listener disconnected StrandCamError { inner: I have also attached the entire terminal output since it contains a lot more information. braid082_error.txt

elhananby commented 3 years ago

Okay I solved this by connecting the Triggerbox to a USB3 rather than USB2 port, maybe it has something to do with the two new cameras I added to the system?

florisvb commented 3 years ago

I think it is indeed a USB issue. On our system, with 12 USB 3 cameras, it is resolved by running the following commands (perhaps there is a better way, but I just added this to our bashrc):

ulimit -H -n 4096 ulimit -S -n 4096

On Mon, Dec 7, 2020 at 9:21 AM Elhanan Ben-Yishay notifications@github.com wrote:

Okay I solved this by connecting the Triggerbox to a USB3 rather than USB2 port, maybe it has something to do with the two new cameras I added to the system?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/strawlab/nextgen-camera-users/issues/10#issuecomment-740059786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB4EPEJE65Z7NNA3XZF3U3STUFJXANCNFSM4UQOYWOQ .