Memory leaks

Help
Anonymous
2012-12-14
2013-03-27

  • Anonymous
    2012-12-14

    Hi guys,

    I've noticed that on 9.0 x64 and mpd cvs, after a few weeks with only a few sessions, the memory usage has risen to ~160MB when it started off at ~10, the sh mem stats don't seem to tally - how can I go about finding where the leaks are?

    Thanks

     
  • Try to latest version from CVS

     

  • Anonymous
    2012-12-18

    Hi,

    I'm using CVS from about 3 weeks ago, don't seem to be any changed since… for reference I have attached the output of 'show mem' - unless I've got the units wrong it doesn't look accurate:

    sh mem
       Type                              Count      Total
       ---                              ---      ---
       AUTH                                 65       7012
       BUND                                  4      24952
       CMD                                   4         78
       CMDL                                  8        219
       COMP                                  1         72
       CONSOLE                               3       5220
       CONSOLE.buckets                       1        248
       CONSOLE.gent                          1         16
       CRYPT                                 1         56
       EVENT                                26       3064
       IFACE                                18        720
       LINK                                 26      58526
       PHYS                                 37      12166
       PHYS.buckets                          3        744
       PHYS.gent                             4         64
       RADIUS                                3         77
       RADSRV                                3         69
       REP                                   5        328
       ppp_l2tp_avp                        100       1613
       ppp_l2tp_avp_list                    38       2208
       ppp_l2tp_ctrl                         9       3136
       ppp_l2tp_ctrl.buckets                 4        992
       ppp_l2tp_ctrl.gent                   13        208
       ppp_l2tp_sess                        10       1600
       typed_mem_stats                       1        800
                                         ---      ---
       Totals                              388     124188

    The only thing to note really is that I do have a number of ipfw rules added from radius.. about 20 currently installed

    Thanks

     
  • Fetch fresh sources from CVS. I recently commit few changes.