Skip to content

Commit

Permalink
Ubuntu 24.10 lets lsof loop endlessly, adding ulimit help
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jan 14, 2025
1 parent 09452ca commit 13b6148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/start_s3rver.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 13b6148

Please sign in to comment.