Henry,<br><br>Realistically - what is your expected traffic? i.e. how big a community are you building this system for? In your test - now many cps where you hitting FS with? <br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 11:35 AM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font color="#888888">Henry Huang,</font></div>
<div><font color="#888888"></font> </div>
<div><font size="2">with 10 millions of invites I'm sure you have at least $175 to
pay</font></div>
<div><font size="2">to FS to help you !! :D</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="h5">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b>
<a title="anthony.minessale@gmail.com" href="mailto:anthony.minessale@gmail.com" target="_blank">Anthony Minessale</a> </div>
<div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>
</div>
<div style="font: 10pt arial;"><b>Sent:</b> Wednesday, April 14, 2010 11:19
AM</div>
<div style="font: 10pt arial;"><b>Subject:</b> Re: [Freeswitch-users]
Freeswitch memory issue/question</div>
<div><br></div>We have a policy against load testing issues on this mailing
list.<br><br>What you are doing is most likely doing something wrong and we
don't have time to debug it for you.<br>We get way too many requests like this
and there is a 99% result in proving user error and improper load
testing.<br><br>You can consider paid support from FreeSWITCH Solutions LLC
for $175/hr per consultant and an ongoing support contract for $10k/yr to deal
with business related bugfixing and support.<br><br>The free help we give here
is based on a community shared resource pool and we simply do not have enough
to go around helping people with your type of issue. Please feel free to
report bugs if you can pinpoint one using a more realistic use case that does
not involve DDosing your box with 10 million invites.<br><br><br>
<div class="gmail_quote">On Wed, Apr 14, 2010 at 5:11 AM, Henry Huang <span dir="ltr"><<a href="mailto:b_ball_henry@hotmail.com" target="_blank">b_ball_henry@hotmail.com</a>></span>
wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Dear developers:<br><br>Our product is close to sipping
stage and we are doing stress tests on FS servers. We have now hit a dead
end with our test results and running out of ideas. And the result is
pointing to memory issues. We have ran our test on both FS 1.0.4 and 1.0.6
trunk with SIPP to do simply invite tests. <br><br>Here is the test
senario:<br><br>Send 10,000,000 invites to our test server running FS 1.0.6
with fixed amount of invites per second. The xml dialplan simply bridge the
call to an unknown/unregistered user like so (user/500001) and therefore FS
would hang up once it doesn't find the user. When running the test, FS is
steady, but the memory usage slowly piles up over time. The memory keeps
adding up till it hit the ceiling, then FS crash. I don't understand what
could be holding the memory and not releasing it since we are not doing
anything special and the calls are not being answered. And I forgot to
mention, through out the whole test, the CPU usage stays at about 35% .
<br><br>Please help<br><br><br>Besides FS native test, we have created our
own application module to run the same test. The app is written in C and
basically what we did is to point the xml dialplan to the custom app. Inside
our app , we are simply doing the same kind of test as the xml dialplan
would do. The only thing we did for the stress test is the following code:
<br><br><font size="3">switch_core_session_execute_application(session,
"bridge", "user/500001");</font><br><br clear="all">Like the xml dialplan
test, we are bridging the call to a unregistered user, so the call would
hang up right away if system doesn't find the user. But the bizarre thing is
this - the memory usage is about 7 ~ 8 times as much as we are running only
xml dialplan. This I don't understand. Our app is calling the native FS C
function to bridge the call , why would it use more memory than the xml
dialplan... <br><br>your input would be very much appreciated.
<br><br>thanks <br><font color="#888888"><br><br>-- <br>Henry Huang<br>aka
bbhenry<br><br>VoIP & Open Source software
Consultant<br></font><br>_______________________________________________<br>FreeSWITCH-users
mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM:
anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC:
<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
#freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<br>FreeSWITCH-users
mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></blockquote></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>