[OpenSIPS-Users] perl_exec
Andrew Philp
andrew.philp at just-tek.com
Wed Aug 4 22:30:02 CEST 2010
Great stuff, I will try this tomorrow. Thanks Bogdan.
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
Sent: 04 August 2010 21:26
To: andrew.philp at just-tek.com; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] perl_exec
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