<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 24, 2016 at 9:21 AM, Alex Lutay <span dir="ltr"><<a href="mailto:alutay@sipwise.com" target="_blank">alutay@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Andy,<br>
<br>
Lets continue a talk in public spce-users@ mailing list,<br>
Sipwise doesn't support SPCE users directly.<br></blockquote><div><br></div><div>No worries - apologies - didn't realize I hadn't replied all at the time. <br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I have checked boot log (it always said started successfully):<br>
<br>
> Sun May 15 14:30:12 2016: [....] Starting NGCP-Panel Webapp: [ ok ]<br>
> Sun May 22 21:33:59 2016: [....] Starting NGCP-Panel Webapp: [ ok ]<br>
> Sun May 22 23:30:25 2016: [....] Starting NGCP-Panel Webapp: [ ok ]<br></blockquote><div><br></div><div>Probably since the last reboot it has. Haven't had it lock up since we rebooted after some changes over the weekend. Next time it happens, I'll look here and share it out. <br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So, I still have no answer why it did not start in result.<br>
Maybe 'oom-killer' was involved to kill it due to lack of RAM, try:<br>
> grep -i oom-killer /var/log/syslog<br></blockquote><div><br></div><div>Didn't get anything in return on that command. Will wait for it to happen again and will try that.  <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
As for 2GB of RAM you have: it is really a minimum to fly on minimal<br>
settings, You need to use "--low-performance" mode then:<br>
<br>
> root@sp1:~# ngcp-toggle-performance-config<br>
> /usr/sbin/ngcp-toggle-performance-config - tool to adjust sip:provider configuration for low/high performance<br>
><br>
>   --help                Display this usage information<br>
>   --high-performance    Adjust configuration for system with normal/high performance<br>
>   --low-performance     Adjust configuration for system with low performance (e.g. VMs)<br>
><br>
> root@sp1:~#<br>
<br>
You have high-performance setup by default<br>
(10 heavy panel threads are starting, running and eating RAM).<br>
To play with NGCP three threads are more then enough.<br>
See the option "fastcgi_workers" in /etc/ngcp-config/config.yml<br></blockquote><div><br></div><div>Thanks - I did in fact forget about low performance mode. Since we're only processing a few concurrent calls, and really just have sipwise sitting between our SIP provider and Asterisk (because of some weird issues with Asterisk handling inbound calls, and sometimes matching outbound peers for incoming calls - causing all kinds of fun things to happen), I figured 2GB would be enough for us in the cloud for the time being. I've taken your suggestion of enabling low performance and pushed that through now. I'll see if that helps things.  <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On 05/24/2016 03:04 PM, Andy Bradford wrote:<br>
[...skipped...]<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alex Lutay<br>
</font></span></blockquote></div><br></div></div>