[OpenSIPS-Users] perl_exec

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Aug 4 22:25:33 CEST 2010


Hi Andrew,

I had to do with something similar in past....and it proved to be a leek 
in perl and not in opensips...

OpenSIPS allocates at startup a fix mem pool to be used at runtime, so 
at runtime it will not "ask" for any more memory from OS.

So, to be sure if it is OpenSIPS or the perl lib eating the OS mem, 
enable the mem debugger in OpenSIPS  (see 
http://www.opensips.org/Resources/DocsTsMem)...so you can check if 
OpenSIPS still have free mem in its internal pool.....

Regards,
Bogdan

Andrew Philp wrote:
>
> Hi,
>
>  
>
> I have started migrating some of our functions from exec_dset to 
> perl_exec and found that on my system I appear to now be loosing 
> memory on every call, even with a very simple logging function.
>
>  
>
> Has anyone else come up against any memory issues with the perl_exec 
> module?
>
>  
>
> Thanks
>
>  
>
> Andrew
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list