<HTML><BODY><div>I am going to use module statistics for collection sip reasons which are interesting to me. I tried it at the lab and all works fine. It's time for prod. I have there about 1k active dialogs and about 400-500 rcv requests per second. </div><div> </div><div>One of my section for «stat» looks like:</div><div> </div><div><div>#### Statistics<br>loadmodule "statistics.so"</div><div>## fs<br>modparam("statistics", "variable", "fs200")<br>modparam("statistics", "variable", "fs403")<br>modparam("statistics", "variable", "fs404")<br>modparam("statistics", "variable", "fs408")<br>modparam("statistics", "variable", "fs480")<br>modparam("statistics", "variable", "fs487")<br>modparam("statistics", "variable", "fs488")<br>modparam("statistics", "variable", "fs4xx")<br>modparam("statistics", "variable", "fs500")<br>modparam("statistics", "variable", "fs603")<br> </div><div>##mss</div><div>The same lines</div><div>…</div><div>modparam("statistics", "variable", "mss487")</div></div><div>….</div><div> </div><div>##sip_app</div><div>...</div><div>The same lines</div><div>…</div><div>modparam("statistics", "variable", "sip_app480")</div><div>...</div><div> </div><div>## statistics for fs<br>        if ($rs == "403")<br>        {<br>            update_stat("fs403", 1);<br>        } <br>        else if ($rs == "408")<br>        {<br>            update_stat("fs408", 1);<br>        }    <br>        else if ($rs == "480")<br>        {<br>            update_stat("fs480", 1);<br>        }<br>        else if ($rs == "fs487")<br>        {<br>            update_stat("487", 1);<br>        }<br>        else if ($rs == "fs488")<br>        {<br>            update_stat("fs488", 1);<br>        }<br>        else if ($rs == "500")<br>        {<br>            update_stat("fs500", 1);<br>        }<br>        else if ($rs == "603")<br>        {<br>            update_stat("fs603", 1);<br>        }<br>        else<br>        {<br>            update_stat("fs4xx", 1);<br>        }</div><div> </div><div>and so on.</div><div> </div><div> </div><div> </div><div>I have three such section: for freeswitch, msc and  another sip application</div><div> </div><div> </div><div>My question is  will this configuration has any influence  loading opensips? Do I need add some shem memory for example? Now I have 256. Do I need to reset such variables periodically? </div><div>Or will it not have a significant impact on how opensips works?</div><div> </div><div>--<br>Oleg Podguyko</div></BODY></HTML>