mirror of https://github.com/OpenVidu/openvidu.git
Update ulimit value when running kurento-media-server as a Docker container
parent
9f13d2b4f2
commit
8cd7c6f06a
|
|
@ -29,7 +29,7 @@ function environmentLaunch {
|
|||
DOCKER_HOST_IP="$(docker inspect bridge --format '{{with index .IPAM.Config 0}}{{or .Gateway .Subnet}}{{end}}' | sed -r 's|\.0/[[:digit:]]+$|.1|')"
|
||||
|
||||
if [[ "${MEDIA_SERVER}" == "kurento" ]]; then
|
||||
docker run -e KMS_UID=$(id -u) --network=host --detach=true --volume=/opt/openvidu/recordings:/opt/openvidu/recordings --ulimit core=-1 "${KURENTO_MEDIA_SERVER_IMAGE}"
|
||||
docker run -e KMS_UID=$(id -u) --network=host --detach=true --volume=/opt/openvidu/recordings:/opt/openvidu/recordings --ulimit nofile=65536:65536 "${KURENTO_MEDIA_SERVER_IMAGE}"
|
||||
while true; do
|
||||
RC="$(curl \
|
||||
--silent \
|
||||
|
|
|
|||
|
|
@ -676,7 +676,7 @@ public class OpenViduTestE2e {
|
|||
String command = null;
|
||||
if (MEDIA_SERVER_IMAGE.startsWith(KURENTO_IMAGE)) {
|
||||
log.info("Starting kurento");
|
||||
command = "docker run -e KMS_UID=$(id -u) --network=host --detach=true --ulimit core=-1"
|
||||
command = "docker run -e KMS_UID=$(id -u) --network=host --detach=true --ulimit nofile=65536:65536"
|
||||
+ " --volume=/opt/openvidu/recordings:/opt/openvidu/recordings " + MEDIA_SERVER_IMAGE;
|
||||
} else if (MEDIA_SERVER_IMAGE.startsWith(MEDIASOUP_IMAGE)) {
|
||||
log.info("Starting mediaSoup");
|
||||
|
|
|
|||
Loading…
Reference in New Issue