restcomm

What are the minimum requirements to run RestComm?


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.

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.

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.


Solution

  • 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