From 13b6148a093ddd89f0efcf5908c213e4e2b2b83d Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Tue, 14 Jan 2025 16:39:15 -0600 Subject: [PATCH] Ubuntu 24.10 lets lsof loop endlessly, adding ulimit help Cf issue https://github.com/amazonlinux/container-images/issues/123 --- docker/start_s3rver.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/start_s3rver.sh b/docker/start_s3rver.sh index 98e66a11744..9b171eaf775 100755 --- a/docker/start_s3rver.sh +++ b/docker/start_s3rver.sh @@ -1,5 +1,9 @@ #!/bin/bash +# Ubuntu 24.10 needs help with ulimit, +# cf https://github.com/amazonlinux/container-images/issues/123 +ulimit -Sn 4096 + # exit if s3rver is already running PID=$(lsof -i :5000 -t) if [ -n "$PID" ]; then