From 33ee647224998969f7ab4e98f6882430ee3892dc Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 13 Mar 2023 16:25:48 -0400 Subject: [PATCH] (u)Limit the fd allocation for java 8 runtime.. Can't believe this was actually the issue..seriously i don't envy jvm users. See following issues: - https://stackoverflow.com/a/56895801 - https://bugs.openjdk.org/browse/JDK-8150460 --- dockering/ib/docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dockering/ib/docker-compose.yml b/dockering/ib/docker-compose.yml index 8c676623..7e6fd05f 100644 --- a/dockering/ib/docker-compose.yml +++ b/dockering/ib/docker-compose.yml @@ -2,8 +2,21 @@ # https://github.com/waytrade/ib-gateway-docker/blob/master/docker-compose.yml version: "3.5" + services: + ib_gw_paper: + + # apparently java is a mega cukc: + # https://stackoverflow.com/a/56895801 + # https://bugs.openjdk.org/browse/JDK-8150460 + ulimits: + # nproc: 65535 + nproc: 6000 + nofile: + soft: 2000 + hard: 3000 + # other image tags available: # https://github.com/waytrade/ib-gateway-docker#supported-tags # image: waytrade/ib-gateway:981.3j