<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1597" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=082502402-21092007><FONT face=Arial
color=#0000ff size=2>Interesting. I am using PCLinuxOS(Mandrak) in console mode.
Here is my memory info and you can see that I still have a lot of memory while
asterisk is running</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=082502402-21092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=082502402-21092007><FONT face=Arial
color=#0000ff size=2>[root@localhost ~]# cat
/proc/meminfo<BR>MemTotal: 2076000
kB<BR>MemFree: 1855636
kB<BR>Buffers: 17224
kB<BR>Cached: 115916
kB<BR>SwapCached: 0
kB<BR>Active: 124100
kB<BR>Inactive: 73468
kB<BR>HighTotal: 1179264
kB<BR>HighFree: 992808
kB<BR>LowTotal: 896736
kB<BR>LowFree: 862828
kB<BR>SwapTotal: 1365484
kB<BR>SwapFree: 1365484
kB<BR>Dirty:
216 kB<BR>Writeback:
0 kB<BR>AnonPages: 64524
kB<BR>Mapped: 43912
kB<BR>Slab:
13168 kB<BR>PageTables: 1344
kB<BR>NFS_Unstable: 0
kB<BR>Bounce:
0 kB<BR>CommitLimit: 2403484 kB<BR>Committed_AS: 142512
kB<BR>VmallocTotal: 114680
kB<BR>VmallocUsed: 8484
kB<BR>VmallocChunk: 104492 kB<BR>[root@localhost
~]#<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=082502402-21092007></SPAN><SPAN
class=082502402-21092007></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Y<SPAN class=082502402-21092007>ou mentioned DDoS projection. How can I
find out if my distro has it built in?</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Nicholas
Blasgen<BR><B>Sent:</B> Thursday, September 20, 2007 8:56 PM<BR><B>To:</B>
Asterisk Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] Asterisk 1.2.24 simultaneous call limits.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Just thinking about it quickly, it's always possible it has nothing to do
with Asterisk. There are many instances where I run into issues with a
poorly configured servers when they have even a little bump in HTTP
traffic. This was years ago though, and it was an issue to do with a web
server and not Asterisk, but look into your kernel's configuration.
Sometimes the kernel's settings are setup for a normal USER and not designed to
handle the memory allocation a server demands. The fix for me back then
was something to do with the MAXIMUM PAGE REQUESTS or SIZE maybe. Basicly
the kernel couldn't keep track of all the HTTP processes. </DIV>
<DIV> </DIV>
<DIV>Now that I'm reading this over I doubt it's your problem because Asterisk
doesn't fork. But while we're at it, tell me a bit more about your
system. What operating system (and version)? The problem could also
be with your method of load generation, but I wouldn't know that since I've
never tried load testing a system. </DIV>
<DIV> </DIV>
<DIV>Lastly, I know FreeBSD started incorporating a basic DDoS protection a few
years back and maybe that's also in some of these newer Linux distros.
They would detect a flood and start to limit the bandwidth. These are just
ideas, I don't really like any of them. </DIV>
<DIV> </DIV>
<DIV>Sometimes the kernel will report issues to SYSLOGD. Might want to
check your error and message logs.</DIV>
<DIV> </DIV>
<DIV>cat /proc/meminfo</DIV>
<DIV> </DIV>
<DIV>On a Linux box will give you memory limits and how close you are to
them. They're not exactly what I was looking for, but maybe that will
help. All TCP connections require the Kernel to page the information but I
can't seem to find out how to access that limit if any. <BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 9/20/07, <B class=gmail_sendername>Wai Wu</B>
<<A href="mailto:wkwu@calltrol.com">wkwu@calltrol.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR>Hi
everyone,<BR><BR>I am running into wall today with simultaneous call limits. I
have two<BR>Asterisk machines (fast 3GHz C2D with 2GB of ram). I tried to
create a <BR>lot of sip calls from one machine to the other by issuing AMI
Originate<BR>commands to one machine. The machine that makes calls plays a
message<BR>(demo-intruct) upon the other machine answer. The machine receives
the <BR>calls just waits for 40 seconds then hangs up. Throught the
manager<BR>connection, I was creating 10 calls per-second. I also have sip
phone<BR>registered with the calling machine. At around 150 to 200 calls. When
I<BR>call the machine that's making all the calls, most of the calls
couldn't<BR>go through. For the ones that went through, most of them will drop
off<BR>within seconds of the call. But here is catch. When I run 'top', the
cpu <BR>is idling 97%. My question is. Is there a limit on the number
of<BR>simultaneous calls Asterisk can handle? I know I have very fast
systems.<BR>Shouldn't they be able to handle that many calls? What is your
take?<BR><BR>Thnx<BR><BR>_______________________________________________<BR><BR>Sign
up now for AstriCon 2007! September 25-28th. <A
href="http://www.astricon.net/">http://www.astricon.net/</A><BR><BR>--Bandwidth
and Colocation Provided by <A
href="http://www.api-digital.com--">http://www.api-digital.com--</A><BR><BR>asterisk-users
mailing list<BR>To UNSUBSCRIBE or update options visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>/Nick </BODY></HTML>