Hi Kevin,

There is no need to send your email three times ;). One time is enough.

Waiting and taking the dump when there is not traffic is good (but not a must) - the idea is to be sure that all temporary memory (used for processing the current traffic) was freed - so what you still have in memory is configuration data or possible leaks.
If you do not have the luxury of waiting, you can do it whenever you can.

Once again, do not look at the memory usage reported by OS - it is irrelevant as OpenSIPS is doing its own internal memory management.

Check the memory usage via MI, see the mem related statistics:
http://www.opensips.org/Documentation/Interface-CoreStatistics-1-11

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 30.06.2014 12:01, Kevin Mathy wrote:
Hi Bogdan,

If I want to send a SIGUSR1, may I have to wait 20 minutes after the last call ? 20 minutes without any call ? I don't understand well this sentence :

    It is highly recommended to do this after waiting about 20 minutes
    to be sure that as much as possile memory is freed - all temporary
    memory used during processing is freed by lack of load on the proxy


Also, last week-end, the traffic reduced a lot, and between last friday, when the free system's memory was around 170M, and this morning, the free memory seems to have increased : this morning, it was around 700M, before the traffic comes back.

So, opensips seems to well free the memory, isn't it ?

Thanks for your help,

Kevin


*
Bien cordialement,
Best Regards,

**Kevin MATHY* |**Ingénieur VoIP
*
*


2014-06-27 10:38 GMT+02:00 Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>>:

    Hi Kevin,

    There is no need to wait for a crash. From time to time, you can
    send a SIGUSR1 to a worker process (or a process you suspect as
    running out of pkg mem) -> the process will do a pkg dump to the log.

    Also, I would strongly advice upgrading to 1.11 (latest LTS) - 1.9
    is no longer maintained and there were some fixes in the memory
    manager since then.

    Regards,

    Bogdan-Andrei Iancu
    OpenSIPS Founder and Developer
    http://www.opensips-solutions.com

    On 27.06.2014 10 <tel:27.06.2014%2010>:36, Kevin Mathy wrote:
    Hi Bogdan,

    I've set given options, and now I'm waiting for a new crash of
    the service... Where the memdump will be located ? In another
    logfile than opensips.log, or in the same ?

    Thanks

    *
    Bien cordialement,
    Best Regards,

    **Kevin MATHY* |**Ingénieur VoIP
    *
    *


    2014-06-26 18:32 GMT+02:00 Bogdan-Andrei Iancu
    <[email protected] <mailto:[email protected]>>:

        Kevin,

        Restarting should not make you loose ongoing calls (even if
        you use the dialog module), do do not worry on that.

        Regards,

        Bogdan-Andrei Iancu
        OpenSIPS Founder and Developer
        http://www.opensips-solutions.com





_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to