Forget to put my unit configuration: [Service] ; service Type=forking PIDFile=/run/freeswitch/freeswitch.pid ExecStart=/usr/bin/freeswitch -ncwait -nonat -scripts /scripts/fs TimeoutSec=300s Restart=on-failure RestartSec=500ms ; exec User=root Group=daemon LimitCORE=infinity LimitNOFILE=100000 LimitNPROC=60000 LimitSTACK=250000 LimitRTPRIO=infinity LimitRTTIME=infinity IOSchedulingClass=realtime IOSchedulingPriority=2 CPUSchedulingPolicy=rr CPUSchedulingPriority=89 UMask=0007 On 08/11/2018 17:11, António Silva wrote:
Hi all,
I notice a strange behaviour on machine due to increase of memory, when i went to see that was the process consuming the memory i notice that freeswitch have multiple process running:
root 2543 90.4 4.8 2178716 1587484 ? S<sl Sep27 36619:46 /usr/bin/freeswitch -ncwait -nonat -scripts /opt/commsmundi/scripts/fs root 7858 0.0 5.0 2289392 1649484 ? SN Oct19 0:00 \_ /usr/bin/freeswitch -ncwait -nonat -scripts /opt/commsmundi/scripts/fs root 30626 0.0 4.4 2172632 1464684 ? SN Oct23 0:00 \_ /usr/bin/freeswitch -ncwait -nonat -scripts /opt/commsmundi/scripts/fs root 4505 0.0 4.9 2336544 1621768 ? SN 10:43 0:00 \_ /usr/bin/freeswitch -ncwait -nonat -scripts /opt/commsmundi/scripts/fs root 22557 0.0 4.9 2336548 1636604 ? SN 11:02 0:00 \_ /usr/bin/freeswitch -ncwait -nonat -scripts /opt/commsmundi/scripts/fs
and today:
root 21823 93.9 4.8 2154128 1581064 ? S<sl Oct26 17781:45 /usr/bin/freeswitch -ncwait -nonat -scripts /opt/commsmundi/scripts/fs root 18417 0.0 4.9 2247264 1610108 ? SN 11:09 0:00 \_ /usr/bin/freeswitch -ncwait -nonat -scripts /opt/commsmundi/scripts/fs
what could be the cause of this? anyone experience the same?
As for the service everything is running ok, is just that the memory keeps increasing.. i restart freewitch when i start to reach my memory limit.
I'm running fs 1.8.2 on debian jessie.
-- Saludos / Regards / Cumprimentos António Silva