mirror of https://github.com/OpenVidu/openvidu.git
Add --ulimit core=-1 flag to all hardcoded "docker run" comands for KMS
parent
f70a7dc48f
commit
9f13d2b4f2
|
|
@ -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 "${KURENTO_MEDIA_SERVER_IMAGE}"
|
||||
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}"
|
||||
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"
|
||||
command = "docker run -e KMS_UID=$(id -u) --network=host --detach=true --ulimit core=-1"
|
||||
+ " --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