Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
3c3cec97
"git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "c8e80b0c8609e255df0400d4c50bcec9eadf797d"
Unverified
Commit
3c3cec97
authored
May 07, 2025
by
Anthony Casagrande
Committed by
GitHub
May 07, 2025
Browse files
fix: increase ulimit nofile for container (#969)
parent
42969800
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
.devcontainer/devcontainer.json
.devcontainer/devcontainer.json
+2
-1
container/run.sh
container/run.sh
+19
-1
No files found.
.devcontainer/devcontainer.json
View file @
3c3cec97
...
...
@@ -24,7 +24,8 @@
"--cap-add=SYS_PTRACE"
,
"--shm-size=10G"
,
"--ulimit=memlock=-1"
,
"--ulimit=stack=67108864"
"--ulimit=stack=67108864"
,
"--ulimit nofile=65536:65536"
],
"service"
:
"dynamo"
,
"customizations"
:
{
...
...
container/run.sh
View file @
3c3cec97
...
...
@@ -288,6 +288,24 @@ if [ -z "$RUN_PREFIX" ]; then
set
-x
fi
${
RUN_PREFIX
}
docker run
${
GPU_STRING
}
${
INTERACTIVE
}
${
RM_STRING
}
--network
host
--shm-size
=
10G
--ulimit
memlock
=
-1
--ulimit
stack
=
67108864
${
ENVIRONMENT_VARIABLES
}
${
VOLUME_MOUNTS
}
-w
/workspace
--cap-add
CAP_SYS_PTRACE
--ipc
host
${
PRIVILEGED_STRING
}
${
NAME_STRING
}
${
ENTRYPOINT_STRING
}
${
IMAGE
}
"
${
REMAINING_ARGS
[@]
}
"
${
RUN_PREFIX
}
docker run
\
${
GPU_STRING
}
\
${
INTERACTIVE
}
\
${
RM_STRING
}
\
--network
host
\
--shm-size
=
10G
\
--ulimit
memlock
=
-1
\
--ulimit
stack
=
67108864
\
--ulimit
nofile
=
65536:65536
\
${
ENVIRONMENT_VARIABLES
}
\
${
VOLUME_MOUNTS
}
\
-w
/workspace
\
--cap-add
CAP_SYS_PTRACE
\
--ipc
host
\
${
PRIVILEGED_STRING
}
\
${
NAME_STRING
}
\
${
ENTRYPOINT_STRING
}
\
${
IMAGE
}
\
"
${
REMAINING_ARGS
[@]
}
"
{
set
+x
;
}
2>/dev/null
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment