Zeus...thanks for the post.<br>
<br>
However, it does a raise new (and possibly disturbing) question about SER's memory usage architecture.<br>
<br>
Here is the question; If I have 500000 records in the location table
and for the sake of this example, let's assume that each usrloc contact
occupies 1024 bytes of memory. To load all 500000 usrloc records we
would need (500000 x 1024) bytes of memory plus the structure overhead.
So let's just estimate it to be a total of 512MB of memory for
discussions sake. (I realize that the actual memory requirements will
be much lower).<br>
<br>
Now when SER starts up it needs to load all usrloc records in to
memory. Per the email in the archives, SER will do this in private
memory space. I assume that after all usrloc records are loaded in to
private memory that they are then copied to shared memory. The amount
of private memory is specified in config.h as PKG_MEM_POOL_SIZE and
affects __ALL__ ser processes.<br>
<br>
This then implies that in order to load a large number of usrloc
records I need to increase PKG_MEM_POOL_SIZE to approximately 512MB
which then affects __ALL__ ser processes. If I specify ser to use 8
child processes in my ser.cfg file then will ser attempt to allocate
512MB x 8 or (4GB) of memory just to start up???<br>
<br>
If this is the case when the fundamental architecture is flawed as it
would make much more sense to have a single process load usrloc records
in to shared memory and then fork the children with a much smaller
amount of private memory.<br>
<br>
Am I totally missing something here?<br>
<br>
Regards,<br>
Paul<br>
&nbsp;<br>
<br><div><span class="gmail_quote">On 5/23/05, <b class="gmail_sendername">Zeus Ng</b> &lt;<a href="mailto:zeus.ng@isquare.com.au">zeus.ng@isquare.com.au</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This may help.<br><br><a href="http://lists.iptel.org/pipermail/serusers/2004-December/013593.html">http://lists.iptel.org/pipermail/serusers/2004-December/013593.html</a><br><br>&gt; -----Original Message-----<br>&gt; From: 
<a href="mailto:serusers-bounces@iptel.org">serusers-bounces@lists.iptel.org</a><br>&gt; [mailto:<a href="mailto:serusers-bounces@lists.iptel.org">serusers-bounces@iptel.org</a>] On Behalf Of Java Rockx<br>&gt; Sent: Tuesday, 24 May 2005 11:09 AM
<br>&gt; To: serusers<br>&gt; Subject: [Serusers] SER Reports &quot;out of memory&quot;<br>&gt;<br>&gt;<br>&gt; Hi All.<br>&gt;<br>&gt; I'm using ser-0.9.2 and testing how it works when the<br>&gt; location table has many thousands of rows.
<br>&gt;<br>&gt; ser will not start when the location table has many rows. SER<br>&gt; loads the first 1344 records and then pukes on the 1345th<br>&gt; record with an out of memory error. I've started ser with &quot;-m<br>
&gt; 512&quot; but that doesn't seem to make any difference.<br>&gt;<br>&gt; Am I doing something wrong?<br>&gt;<br>&gt; Also, for my &quot;test&quot; data I simply created a bunch of bogus<br>&gt; records in the location table. I did not do anything with the
<br>&gt; subscriber table. Does this matter? If so, what needs to be<br>&gt; done in order to create a large number of &quot;registered&quot; users?<br>&gt;<br>&gt; Regards,<br>&gt; Paul<br>&gt;<br>&gt;<br><br></blockquote>
</div><br>