Segmentation fault for SNMP query

Milan Holub holub at thenet.ch
Mon Apr 16 15:45:13 CEST 2007


Hi Alan,

On Mon, Apr 16, 2007 at 03:18:24PM +0200, Alan DeKok wrote:
>   That memory will be cleaned up after a few more HUPs.
==> Are you sure about that?

ps axu | grep rad:
freerad  16235  2.2  1.9  9448 4916 pts/0    S    15:31   0:00
freeradius -X

==> initially we have 9448kb of memory used by freeradius process

After 10 HUPs:
for i in `seq 10`; do echo HUP $i; kill -HUP 16235; sleep 1; done

we end up with 15636kb
ps axu | grep rad:
freerad  16235  0.8  4.2 15636 10920 pts/0   S    15:31   0:01
freeradius -X

15636-9448=6188

Thus after 10 HUPs the process takes 6188kb more space in memory than at
the beginning(and it's incrementing lineary each HUP).

Please advise.


Milan Holub
holub (at) thenet (dot) ch

--------------------------------------
 TheNet-Internet Services AG,
 im Bernertechnopark, Morgenstr. 129
 CH-3018, Bern, Switzerland
 031 998 4333, Fax 031 998 4330
 http://www.thenet.ch
 http://wlan.thenet.ch
--------------------------------------





More information about the Freeradius-Users mailing list