<div><br></div><div>Adrian,</div><div><br></div><div><br></div><div>As you know traffic rate depends on some important conditions. So the number is not finalized and i did not run traffic for a long time.</div><div><br></div>
<div>I showed 1200 concurrent calls but after some times SylkServer does not response for new calls. I will share new rates in the next week :) </div><div><br></div><div><br></div>On Fri, Feb 8, 2013 at 4:22 PM, Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Wow, to be honest it was developed with 50 concurrent calls in mind. If it does 1000 is beyond any of our dreams.<span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Adrian</div></font></span><div><div class="h5"><div><div><br><div><div><div>On Feb 8, 2013, at 3:20 PM, ANIL KARADAĞ wrote:</div><br><blockquote type="cite"><div><br></div><div>approximately 1200 :)</div><div>
<br></div><div><br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 4:04 PM, Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Memory issues can related to any data structure. Each SIP method and SIP dialog allocates memory and PJSIP has some arbitrary imposed limitations for many internals. Is pretty hard to guess but that 1024 looks highly suspects of being a static limit set somewhere.<div>
<br></div><div>How many concurrent calls did you achieve?</div><div><span><font color="#888888"><div><br></div><div>Adrian</div></font></span><div><div><div><br><div><br><div><div>On Feb 8, 2013, at 2:49 PM, ANIL KARADAĞ wrote:</div>
<br><blockquote type="cite">Hi Adrian,<div><br></div><div><br></div><div>This is the second time i have seen the error. I run traffic to show simultaneous TCP port number on the application with sipp and sipsimpleclient.</div>
<div><br></div><div> </div>
<div>After some times, sylk is out of service due to this error.</div><div><br></div><div><br></div><div>Traffic model:</div><div><br></div><div>- register individual users with "auto-answer" and "auto-hangup <seconds>" options via script "sip-session"</div>
<div>- each user joins to rooms</div><div>- send dummy messages to all established sessions </div><div><br></div><div><br></div><div><div><b>sipp results:</b></div><div><br></div><div><font size="1" color="#666666">------------------------------ Scenario Screen -------- [1-9]: Change Screen --</font></div>
<div><font size="1" color="#666666"> Call-rate(length) Port Total-time Total-calls Remote-host</font></div><div><font size="1" color="#666666"> 0.0(0 ms)/1.000s 5060 16055.63 s 4783 1.1.1.1:5060(UDP)</font></div>
<div><font size="1" color="#666666"><br></font></div><div><font size="1" color="#666666"> 0 new calls during 0.379 s period 1 ms scheduler resolution</font></div><div><font size="1" style="color:rgb(102,102,102)"> </font><font color="#000099"><b>1024 calls (limit 1024) </b> </font><font size="1" color="#666666"> Peak was 1024 calls, after 4783 s</font></div>
<div><font size="1" color="#666666"> 0 Running, 1024 Paused, 0 Woken up</font></div><div><font size="1" color="#666666"> 10 dead call msg (discarded) 0 out-of-call msg (discarded)</font></div><div><font size="1" color="#666666"> 3 open sockets</font></div>
<div><font size="1" color="#666666"><br></font></div><div><font size="1" color="#666666"> Messages Retrans Timeout Unexpected-Msg</font></div><div><font size="1" color="#666666"> REFER ----------> 4783 0</font></div>
<div><font size="1" color="#666666"> 202 <---------- 3759 0 0 0</font></div><div><font size="1" color="#666666"> NOTIFY <---------- 3759 0 0 0</font></div>
<div><font size="1" color="#666666"> 200 ----------> 3759 0</font></div><div><font size="1" color="#666666"> NOTIFY <---------- 3759 3 0 0</font></div><div><font size="1" color="#666666"> 200 ----------> 3759 0</font></div>
<div><font size="1" color="#666666"> NOTIFY <---------- 3759 0 0 0</font></div><div><font size="1" color="#666666"> 200 ----------> 3759 0</font></div><div><font size="1" color="#666666">------------------------------ Test Terminated --------------------------------</font></div>
<div><font size="1" color="#666666"><br></font></div><div><font size="1" color="#666666"><br></font></div><div><font size="1" color="#666666">----------------------------- Statistics Screen ------- [1-9]: Change Screen --</font></div>
<div><font size="1" color="#666666"> Start Time | <a href="tel:2013-02-08%20%C2%A0%2011" value="+12013020811" target="_blank">2013-02-08 11</a>:11:26:434 1360314686.434073</font></div><div><font size="1" color="#666666"> Last Reset Time | <a href="tel:2013-02-08%20%C2%A0%2015" value="+12013020815" target="_blank">2013-02-08 15</a>:39:01:693 1360330741.693140</font></div>
<div><font size="1" color="#666666"> Current Time | <a href="tel:2013-02-08%20%C2%A0%2015" value="+12013020815" target="_blank">2013-02-08 15</a>:39:02:073 1360330742.073187</font></div><div><font size="1" color="#666666">-------------------------+---------------------------+--------------------------</font></div>
<div><font size="1" color="#666666"> Counter Name | Periodic value | Cumulative value</font></div><div><font size="1" color="#666666">-------------------------+---------------------------+--------------------------</font></div>
<div><font size="1" color="#666666"> Elapsed Time | 00:00:00:380 | 04:27:35:639</font></div><div><font size="1" color="#666666"> Call Rate | 0.000 cps | 0.298 cps</font></div>
<div><font size="1" color="#666666">-------------------------+---------------------------+--------------------------</font></div><div><font size="1" color="#666666"> Incoming call created | 0 | 0</font></div>
<div><font size="1" color="#666666"> OutGoing call created | 0 | 4783</font></div><div><font size="1" color="#666666"> Total Call created | | 4783</font></div>
<div><font size="1" color="#666666"><b> </b></font><font color="#000099"><b>Current Call | 1024</b> </font><font size="1" color="#666666"> |</font></div><div><font size="1" color="#666666">-------------------------+---------------------------+--------------------------</font></div>
<div><font size="1" color="#666666"> Successful call | 0 | 3759</font></div><div><font size="1" color="#666666"> Failed call | 0 | 0</font></div>
<div><font size="1" color="#666666">-------------------------+---------------------------+--------------------------</font></div><div><font size="1" color="#666666"> Call Length | 00:00:00:000 | 00:00:00:266</font></div>
<div><font size="1" color="#666666">------------------------------ Test Terminated --------------------------------</font></div></div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 3:32 PM, Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Unless one can reproduce the exact load you created, how could anyone know.<div><br>
</div>
<div>What do you mean by testing performance, can you elaborate what you have tested and how?<div><br></div><div><div>Adrian</div><div><br><div><br><div><div><div><div>On Feb 8, 2013, at 2:28 PM, ANIL KARADAĞ wrote:</div>
<br></div></div><blockquote type="cite"><div><div><div>Hi all,</div><div><br></div><div><br></div><div>I am working with SylkServer to test its performance. And I show that the following message in the /var/log/messages file.</div>
<div><br></div><div><b><font color="#000099">"Feb 8 12:14:08 rcs-chat-server sylk-server[1386]: MemoryError"</font></b></div>
<div><b><font color="#000099"><br></font></b></div><div><b><font color="#000099"><br></font></b></div><div>The message is generated by sipsimple -> _core.so. But I don't understand it because my server has a 6GB memory and the application is used max 900MB.</div>
<div><br></div><div>Does anyone know that why the application acts like this?</div><div><br></div><div><br></div><div>thanks</div><div><br></div><div>[root@sylkserver core]# pwd</div><div><div><b>/opt/mcp/sylkserver/data/python-sipsimple/sipsimple/core</b></div>
<div><b>[root@sylkserver core]# grep "MemoryError" -r .</b></div><div><font size="1">./_core.event.pxi: raise MemoryError()</font></div><div><font size="1">./_core.event.pxi: raise MemoryError()</font></div>
<div><font size="1">./_core.lib.pxi: raise MemoryError()</font></div><div><font size="1">./_core.c:static PyObject *__pyx_builtin_MemoryError;</font></div><div><font size="1">./_core.c:static char __pyx_k__MemoryError[] = "MemoryError";</font></div>
<div><font size="1">./_core.c:static PyObject *__pyx_n_s__MemoryError;</font></div><div><font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: * raise MemoryError()</font></div>
<div><font size="1">./_core.c: * raise MemoryError() # <<<<<<<<<<<<<<</font></div><div><font size="1">./_core.c: __pyx_t_5 = PyObject_Call(__pyx_builtin_MemoryError, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}</font></div>
<div><font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: * raise MemoryError()</font></div>
<div><font size="1">./_core.c: * raise MemoryError() # <<<<<<<<<<<<<<</font></div><div><font size="1">./_core.c: __pyx_t_2 = PyObject_Call(__pyx_builtin_MemoryError, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}</font></div>
<div><font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: * raise MemoryError()</font></div><div>
<font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: * raise MemoryError() # <<<<<<<<<<<<<<</font></div><div><font size="1">./_core.c: __pyx_t_2 = PyObject_Call(__pyx_builtin_MemoryError, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}</font></div>
<div><font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: * raise MemoryError()</font></div><div><font size="1">./_core.c: {&__pyx_n_s__MemoryError, __pyx_k__MemoryError, sizeof(__pyx_k__MemoryError), 0, 0, 1, 1},</font></div>
<div><font size="1">./_core.c: __pyx_builtin_MemoryError = __Pyx_GetName(__pyx_b, __pyx_n_s__MemoryError); if (!__pyx_builtin_MemoryError) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}</font></div>
</div><div><br></div><div><div><br></div>-- <br>Anıl KARADAĞ<br><a href="http://anilkaradag.info/blog" target="_blank">http://anilkaradag.info/blog</a>
</div></div></div>
_______________________________________________<br>SIPBeyondVoIP mailing list<br><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" target="_blank">SIPBeyondVoIP@lists.ag-projects.com</a><br><a href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" target="_blank">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a><br>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anıl KARADAĞ<br><a href="http://anilkaradag.info/blog" target="_blank">http://anilkaradag.info/blog</a>
</div>
</blockquote></div><br></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anıl KARADAĞ<br><a href="http://anilkaradag.info/blog" target="_blank">http://anilkaradag.info/blog</a>
</div>
</blockquote></div><br></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anıl KARADAĞ<br><a href="http://anilkaradag.info/blog">http://anilkaradag.info/blog</a>