[OpenSIPS-Users] CDRTool - memory problem
Adrian Georgescu
ag at ag-projects.com
Mon Mar 19 19:50:00 CET 2012
Can you describe more accurately what 'large tables of data' means?
Adrian
On Mar 19, 2012, at 6:31 PM, Daniel Conte Laguna wrote:
> Hello everybody,
>
> I'm working with CDRTool and I found a problem of memory.
> I have to work with large tables of data, which increases the memory usage during the execution.
>
> My problem appears when I make any change in the destination table, after this, is enabled Reload rating tables in red.
>
> After reload of rating tables, ratingengine.php start to use large amount of memory that never be release, causing speed problems on my server. This memory is released only when I stop manually CDRTool.
>
> Is the problem perhaps here;
>
> function reloadRatingEngineTables () {
> .........
>
> // init CDR datasource
> $CDR_class = $DATASOURCES[$RatingEngine['cdr_source']]['class'];
> $CDRS = new $CDR_class($RatingEngine['cdr_source']);
> // is the following line necessary - is memcache still used ???
>
> $CDRS->CacheDestinations();
>
> Best regards and thanks
> Daniel Conte
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120319/ea94d7b3/attachment.htm>
More information about the Users
mailing list