运行RestComm的最低要求是什么? [英] What are the minimum requirements to run RestComm?

查看:186
本文介绍了运行RestComm的最低要求是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过docker在具有4GB RAM的核心i5 @ 2.30GHz计算机上通过docker运行restcomm.操作系统是Ubuntu 14服务器版本,因此没有GUI开销.

I'm trying to run restcomm via docker on a core i5 @ 2.30GHz machine with 4GB RAM. OS is Ubuntu 14 server edition, so there is no overhead of GUI.

启动容器时,内存被充分利用,CPU负载变得疯狂,并且容器没有以有序的方式响应.

When the container is started the memory is fully utilized, the cpu load goes insane and the container doesn't respond in an orderly fashion.

我知道我提供的详细信息非常模糊,但是我找不到任何文档中的最低要求,也无法弄清为什么内存和cpu过载.

I know the details I'm providing are very vague but I couldn't find what are the minimum requirements in any documentation and can't figure out why memory and cpu are overloaded.

推荐答案

添加@atsakiridis提到的内容.您可以减少暴露的端口数量,从而减少内存消耗.使用以下命令应该消耗更少的内存,因为我们仅为媒体打开50个端口:

To add on what @atsakiridis mentioned. You can reduce the number of ports exposed so it consume less memory. Using the following command should consume less memory as we open only 50 ports for the media :

docker run  -i --name=restcomm-myInstance -v /var/log/restcomm/:/var/log/restcomm/ -e STATIC_ADDRESS="192.168.0.44" -e MEDIASERVER_LOWEST_PORT="65500" -e MEDIASERVER_HIGHEST_PORT="65535" -e ENVCONFURL="https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/scripts/restcomm_env_locally.sh" -p 80:80 -p 443:443 -p 9990:9990 -p 5060:5060 -p 5061:5061 -p 5062:5062 -p 5063:5063 -p 5060:5060/udp -p 65500-65535:65500-65535/udp restcomm/restcomm:latest

这篇关于运行RestComm的最低要求是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆