<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Lucida Console'; font-size:9pt; font-weight:400; font-style:normal;">On Donnerstag, 30. April 2009, Stagg Shelton wrote:<br>
&gt; I am working to get LCR implemented on my migration system, and when I<br>
&gt; try to start kamailio i find the below information in the log file,<br>
&gt; and kamailio fails to start. My lcr table has 30667 rows in it.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Hi Stagg,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>in cr we had the same issue in the past, we solved it by partioning the data loading in the module code. Not sure if this is also possible to do in LCR, probably Juha know here more. What probably happens is that the lcr module try to load all data at once, and storing it temporarly in private memory.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; I have read about changing the config.h file to increase the private<br>
&gt; memory, but my question is how much should I allocate. I forsee<br>
&gt; going up to more than 200,000 routes within the next 12 month period.<br>
&gt; <br>
&gt; ERROR:db_mysql:db_mysql_convert_rows: error while converting row #2808<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>This suggest that it needs about 1MB of memory to load 2800 rules. So for 200k rules you'd need about 72 MB private memory, but not sure if its can be calculated this way.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Cheers,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Henning</p></body></html>