#536 avpops: PKG memory leak while performing db operations

ver 1.3.x
open
nobody
core (125)
7
2008-11-06
2008-11-06
Ovidiu Sas
No

Discussion

  • Hi Ovidiu,

    are you sure this is related to the avpops module? I took a look in the memory log, and i noticed a lot of memory related to the database operations there. And the config in the original report don't use avp DB operations. Do you use db_load, or _query?

    Perhaps this is related to some memory leaks i recently fixed in the registrar and usrloc? I thought that its only related to db_mode DB_ONLY, but perhaps its also affects other modes.

    Cheers,

    Henning

     
  • Ovidiu Sas
    Ovidiu Sas
    2008-11-11

    Hello Henning,

    All the details are in the mailing list thread.
    In my config, I wasn't using the registrar and usrloc modules, so definitely the mem leak that I observed did not came from those two modules.

    Regards,
    Ovidiu Sas

     
  • memory dump log avpops

     
    Attachments
  • Hi Ovidiu,

    i was able to reproduce a out of PKG_MEM condition related to the avpops module. I've added a test (41.sh) for this, it fails after about 200 load/ store cycles. I did not know the exact reason atm, perhaps this is related to some memory fragementation, as the memory debug did not show that much. Memory dump log attached.

    Henning
    File Added: mem-log-avpops.gz